• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Developing for both Finders?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: RE: Close access file question ...
  • Next by Date: File Association
  • Previous by thread: Developing for both Finders?
  • Next by thread: making a script wait until a task finishes before proceeding
  • Index(es):
    • Date
    • Thread