• 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
Update necessary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update necessary?


  • Subject: Update necessary?
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 05 Oct 2009 20:56:14 -0500

I have just spent a couple of hours trying to make a script work correctly. It seems the line ...

set linkFileAlias to (alias file linkName of mailboxAlias) as alias

was always throwing an error. Every @$#! time. But, I was sure that the alias file existed because the previous line tested its existence. And I checked the code that created the alias file and found no problem. Finally, I dug down to the folder containing the alias file, found it there and confirmed that it pointed to the right place.

Tried the script again ... no error.

Taking this as a hint, I added a new line after 'make new ...' ...

make new alias file at mailboxFolder to destFolder with properties {name:linkName, comment:linkComment}
update the result -- this seems to be necessary

I no longer get the error!

Using 'update ...' was never a problem in Tiger or Leopard, in fact, there was a time when I did not believe it worked. And not using it did not seem to cause a problem.

In Snow Leopard I am finding that I have had to include an 'update ...' line in various places or run the risk of getting an error. What changed?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: AppScript dependency
  • Next by Date: text to dark pdf
  • Previous by thread: Re: AppScript dependency
  • Next by thread: Update necessary?
  • Index(es):
    • Date
    • Thread