• 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: Complete newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Complete newbie


  • Subject: Re: Complete newbie
  • From: Philippe GRUCHET <email@hidden>
  • Date: Wed, 23 Apr 2003 19:57:58 +0200

From: Michelle Steiner <email@hidden>

open file "Macintosh HD:Users:imani08:Documents:Test"

tell application "Text Edit"
activate
Open alias "Macintosh HD:Users:imani08:Documents:Test"
end tell

Better is:

------------------------------------
tell application "TextEdit"
activate
open ":Users:imani08:Documents:Test" as alias
end tell
------------------------------------

By this way, you'll never have to write the HD's name if you don't need to.


Philippe/SVM Mac
http://svmmac.logitheque.com/
_______________________________________________
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.

  • Follow-Ups:
    • Re: Complete newbie
      • From: John Delacour <email@hidden>
    • Re: Complete newbie
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: List view properties
  • Next by Date: Scripting the Network location
  • Previous by thread: Re: Scripting Network location
  • Next by thread: Re: Complete newbie
  • Index(es):
    • Date
    • Thread