I'm using the script editor to launch the following script:
Don't worry. I have a laptop and like most of us probably do, I make CD Images to run my games.
So I wrote this wimpy script in the Script Editor which opens the .cdr file (which mounts it), it waits 5 seconds (to give it time to mount) and then it launches the game. There's probably a more crafty way to do this and I'm all ears for that (or to get the disc image to unmount post gameplay or instead of a delay that it could just scan for the image to be mounted and run once the image is mounted instead of my arbitrary 5 second time).
However my question is that now that I've saved it as an Applescript Application and I can get it to reside on my dock, is there any way I can get the icon changed for this particular one? I don't want to change all Applescript Applications to a Myst icon. I went into the info via Finder for the application and couldn't figure out how to change it there. Any suggestions/solutions? It's not needed right now particularly but if I do this for more than just Myst I'd hate to have 5 Applescript icons on my dock.
Thanks much!
edit:
Well durn. It seemed to work fine when I had the Script Editor open but then I closed the script editor and whenever I launch the script it attempts to launch Classic which I don't have installed (I started in OS X so no need for old programs really). So if you have an idea about that that'd be helpful too.
Code:
tell application "Finder"
open "Macintosh HD:MacPlay Games:realMYST:realMYST.cdr"
delay 5
open "Macintosh HD:MacPlay Games:realMYST:realMYST"
end tell
Don't worry. I have a laptop and like most of us probably do, I make CD Images to run my games.
So I wrote this wimpy script in the Script Editor which opens the .cdr file (which mounts it), it waits 5 seconds (to give it time to mount) and then it launches the game. There's probably a more crafty way to do this and I'm all ears for that (or to get the disc image to unmount post gameplay or instead of a delay that it could just scan for the image to be mounted and run once the image is mounted instead of my arbitrary 5 second time).
However my question is that now that I've saved it as an Applescript Application and I can get it to reside on my dock, is there any way I can get the icon changed for this particular one? I don't want to change all Applescript Applications to a Myst icon. I went into the info via Finder for the application and couldn't figure out how to change it there. Any suggestions/solutions? It's not needed right now particularly but if I do this for more than just Myst I'd hate to have 5 Applescript icons on my dock.
Thanks much!
edit:
Well durn. It seemed to work fine when I had the Script Editor open but then I closed the script editor and whenever I launch the script it attempts to launch Classic which I don't have installed (I started in OS X so no need for old programs really). So if you have an idea about that that'd be helpful too.