reference file in Resources directory applescript studio

I am trying to include a file in the resources directory of my app.

how do i reference that file in my applescript code?

i think it should be something like

set myfile to “~/Resources/File” but I can’t seem to get anything to work.

any help would be great.

Thanks,
P

Hi,

in AppleScript Studio you can use path to resource “File”

alternatively path to me references the script or script bundle itself

set myFile to POSIX path of (path to me) & "Contents/Resources/File"

thank you thank you thank you thank you
:lol::D:lol::D:lol::smiley:

You have helped me complete my app…

whoot!!!