New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to pass messages from script to the executing Content Editor window upon script end. #903

Closed
AdamNaj opened this Issue Jun 2, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@AdamNaj
Member

AdamNaj commented Jun 2, 2017

$host.PrivateData has a new property called CloseMessages which collects all messages to be executed after the script runner ends execution and the context runner window is closed.

so e.g. the following script will open "Home" item once the context script ends:

$host.PrivateData.CloseMessages.Add("item:load(id={110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9})")

@AdamNaj AdamNaj added this to the 4.6 milestone Jun 2, 2017

@AdamNaj AdamNaj self-assigned this Jun 2, 2017

AdamNaj added a commit that referenced this issue Jun 2, 2017

@AdamNaj

This comment has been minimized.

Member

AdamNaj commented Jun 2, 2017

Implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment