• 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: applescript-users digest, Vol 3 #1341 - 14 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 3 #1341 - 14 msgs


  • Subject: Re: applescript-users digest, Vol 3 #1341 - 14 msgs
  • From: David Crowe <email@hidden>
  • Date: Fri, 14 Feb 2003 15:24:12 -0700

Jeff;


I have written the following script to mount a .dmg file, wait for it to be mounted, and then open an application (Oxford English Dictionary) that uses it:

tell application "Finder"
if not (exists disk "OED2") then
open file "OED2.dmg" of folder "OED2 (vs.1.0d)" of folder "Applications (Mac OS 9)" of startup disk using ":Applications:Utilities:Disk Copy"
set i to 1
repeat while not (exists disk "OED2") and i < 100
delay 1
set i to i + 1
end repeat
end if
open application file id "JAAP"
end tell

I'm sure you could adapt this for your requirements.

- David Crowe
_______________________________________________
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: posix path conversion
  • Next by Date: Re: posix path conversion
  • Previous by thread: Re: posix path conversion
  • Next by thread: Re: Q: specifying text in a variable to a color when inserting into Apple's Mail.app?
  • Index(es):
    • Date
    • Thread