• 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: Error-trapping alias properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error-trapping alias properties


  • Subject: Re: Error-trapping alias properties
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 28 Mar 2002 06:48:17 -0800

On 3/28/02 2:55 AM, "Andy Wylie" <email@hidden> wrote:

>> Can you store an alias as a script property, and still find a graceful way
>> to set a new value (via choose file again, e.g.) if the file no longer
>> exists?
>>
>> I know that storing the string file path to the file wouldn't hit this
>> problem, but then it would throw up an error , or dialog if trapped, every
>> time the file is moved or renamed. Is there some way around this?
>
> I use 'if (get exists alias someFile of application "Finder") = false then'
> or try someFile as alias

Andy, please go back and read my message again. You're not "getting" it.

--
Paul Berkowitz
_______________________________________________
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: 
 >Re: Error-trapping alias properties (From: Andy Wylie <email@hidden>)

  • Prev by Date: Re: Random Numbers fasters than the osax
  • Next by Date: Re: Random Numbers fasters than the osax
  • Previous by thread: Re: Error-trapping alias properties
  • Next by thread: Re: Error-trapping alias properties
  • Index(es):
    • Date
    • Thread