PDA

View Full Version : fscommand problem


the cat
03-06-2002, 03:00 PM
I was wondering whether it is possible to use the fscommand "exec" function to launch an applescript which is inside a folder in my disk image. The actionscripting I'm using is this:

on (release) {
fscommand ("exec", "scripts/ITbasicintroscript");
}

This is not working....

"scripts" is the name of the folder and "ITbasicintro"is the name of the script. I have many applescripts and I want to organise them into a folder.

Any suggestions???

The Cat

zoomfreddy
03-07-2002, 04:55 AM
use:

on (release) {
fscommand ("exec", ":scripts:ITbasicintroscript");
}

the ":" just works with the FS command, else use "/"

keywords: mac folder paths



:cool: