I have placed an icon in the Resources folder and use that on some dialog like this
Question:
When I try and run this from within Script Debugger it falis because path to application I think is Script Debugger.
After saving the script as as app it works fine.
Is there a way I can set this up so I can run it from within Script Debugger instead of having to make the .app to test it
Update:
Managed to figure this out bt setting the App icon in Script Buider rather than in code
AppleScript:
set appTitle to "My-App"
set dialogiconPath to path to resource "dialog.icns" in bundle (path to application appTitle)
Question:
When I try and run this from within Script Debugger it falis because path to application I think is Script Debugger.
After saving the script as as app it works fine.
Is there a way I can set this up so I can run it from within Script Debugger instead of having to make the .app to test it
Update:
Managed to figure this out bt setting the App icon in Script Buider rather than in code
Last edited: