PDA

View Full Version : making disk image - to test AppleScript in projector


schadeberg
10-12-2001, 07:52 AM
Hello again,

Im doing a short animation intro for a mulimedia CD using Flash...so far so good. I have all the pc files working well, however to get the macintosh files running, I'm busy trying to get a button to open a .pdf file.

So far I have this info from Zoomfreddy:
____________________________________________
copy and paste in to the Applescript editor

tell application "Finder"
activate
select file "yourfile.pdf" of disk "YourDisk"
open selection
end tell

(just change the name of file and disk and leave the " ")

and save as:"your prefered name"

for it to work you need to make a disk image, name it and drop your files inside.

the code in flash:

on (release) {
fscommand ("exec", "nameOfyourAppleScript");
}
_______________________________________

The thing I'm still battling with is where I need to make a disk image....not sure about that?..Its stumped me

Any help would be appreciated

Cheers - Frank

schadeberg
10-12-2001, 10:00 AM
Got everything working....

Got the Disk Image thing happening...

and the AppleScript works like a charm....

thanks Zoomfreddy...as I said you're amongst the urban legends

Frank

alistairm
06-29-2006, 11:05 AM
looks like im haveing the same problem as you how did you create the disk image?