How in applescript would I get the path to a custom application located in the startup disk directory, for example
Tell application “STARTUPDISK:myprogram.app:”
Thanks in advance!
How in applescript would I get the path to a custom application located in the startup disk directory, for example
Tell application “STARTUPDISK:myprogram.app:”
Thanks in advance!
path to startup disk
set myApp to ((path to startup disk as text) & "Myapp.app")
You can also locate the application asking for its “creator type” (if it does own one):
tell application "Finder" to application file id "sfri" as text
--> "diskname:Applications:Safari.app"
Thanks for the help, but this launches and then my custom applescript commands don’t work, it gives me an error -
set myApp to ((path to startup disk as text) & "BHI-Skipjack.app")
tell application result to run
set arg1 text to "ABC"
end tell