I'm really new to AppleScript so this is a real basic question but I couldn't find the answer or an example in the AppleScript ref. guide.
I'm making a simple script that I'll bundle as an application file, in the AppleScript Editor I can see the app's Bundle Contents
in which I have an icon, a description file and a Scripts
folder. How do I access that content from the script and how do I access the scripts inside the scripts folder
?
If you save your script as a script bundle or as an application bundle you can use the path to resource
command, e.g.:
path to resource "description.rtfd"
Also see Commands Reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With