I have a menubar item.
I want that a specific Applescript file opens with the Script Editor.
I cannot do it. The script is always executed.
How can I do it?
I have a menubar item.
I want that a specific Applescript file opens with the Script Editor.
I cannot do it. The script is always executed.
How can I do it?
Solved with another script.
If somebody needs it, just add a "Run Apple Script (blocking)", and type something lije this:
tell application "Script Editor"
open "/Users/username/desktop/applescriptname.scpt"
activate
end tell
Works better adding a run command. This avoid AppleScript to launch a new empty document at launching.
tell application "Script Editor"
run
open "/Users/username/desktop/applescriptname.scpt"
activate
end tell