You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to return a result such as a string of text directly to my calling app ( which is XOJO sending a shell command to Terminal to do script xyz.py. I can get around this by using your osascript.run to call an applescript from within the python script which then sends a custom AppleEvent back to my calling app. it seems that an OSAScript call to run a Python script in MacTerminal returns the id of the Terminal Window.
The text was updated successfully, but these errors were encountered:
you show how to return a result to a dialog box on screen e.g
code,out,err = osascript.run('display dialog "Finished"')
I would like to return a result such as a string of text directly to my calling app ( which is XOJO sending a shell command to Terminal to do script xyz.py. I can get around this by using your osascript.run to call an applescript from within the python script which then sends a custom AppleEvent back to my calling app. it seems that an OSAScript call to run a Python script in MacTerminal returns the id of the Terminal Window.
The text was updated successfully, but these errors were encountered: