RE: Developing for both Finders?
RE: Developing for both Finders?
- Subject: RE: Developing for both Finders?
- From: email@hidden
- Date: Mon, 12 Aug 2002 23:36:27 EDT
Seth,
I'm not sure if this will work, but my mind tell me it should:
for os 9:
tell application (full path to OS 9's FINDER in the OS 9 system folder)
put away disk theDisk
end tell
for OS X, keep it the same as before
Best Wishes,
=-= Marc Glasgow
Seth Wrote:
>
>
I'm writing a script that needs to determine what OS is in use, then issue
>
commands to the Finder.
>
>
What I need to do specifically is eject a shared drive.
>
>
But in 9, I'd do
>
put away disk theDisk
>
and in X, I'd do
>
eject disk theDisk
>
>
When I try to compile the script on X, it refuses, saying that the put away
>
line is wrong, because X's Finder knows no "put away".
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.