• 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: Even more newbie queries: aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Even more newbie queries: aliases


  • Subject: Re: Even more newbie queries: aliases
  • From: Matthew Stuckwisch <email@hidden>
  • Date: Sun, 28 Apr 2002 21:26:34 -0500

Sorry for all these questions, but I can't find the answers anywhere else.
..
feel free to refer me to documentation (maybe then I can find these answers
myself).

AppleScript Language Guide works well...it may not *seem* to be up to date,
but honestly, it is 99% up to date

What is the difference between the following:

set myVar to "path:to:something" as alias

set myVar to alias "path:to:something"

Don't they both make myVar into an alias to "path:to:something"? Even though
the file exists, the first one fails OMM, while the second one doesn't. Can
anyone explain what's going on here? To me it seems like both statements are
the same -- they only do things in a different order.

Both fail on my machine ... oh wait, I need to replace "path:to:something:
" with an actually lcoation ;-)

They both work on my machine with "Macintosh HD:Users:" ... what is the error message? Does it say it can't coerce or that the file doesn't exist?

Thanks again, and sorry to bother everyone :)

If you were bothering us, this list wouldn't be much of help to anyone, now would it?


Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa / G}(esperNET / irc.massinova.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.

References: 
 >Even more newbie queries: aliases (From: Michael Kelly <email@hidden>)

  • Prev by Date: Re: More newbie queries: paths
  • Next by Date: Fwd: Even more newbie queries: aliases
  • Previous by thread: Even more newbie queries: aliases
  • Next by thread: Fwd: Even more newbie queries: aliases
  • Index(es):
    • Date
    • Thread