• 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
Folder actions and Illustrator files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Folder actions and Illustrator files


  • Subject: Folder actions and Illustrator files
  • From: Richard Allaway <email@hidden>
  • Date: Thu, 18 Nov 2004 12:15:37 -0800

Hello -

I'm having some trouble with folder actions and Illustrator CS. When I save a file from Illustrator to a folder on the network my folder action is activating before the save in complete - often it's AITempFile (or some similar name) that gets processed. In fact this happens when saving pdfs from Acrobat too. Here's an on-adding-folder-items-to that I wrote to try to fix the problem:

on adding folder items to theFolder after receiving theAddedItems
	local _ready
	set _ready to false
	repeat with theFile in every item of theAddedItems
		repeat while not _ready
			try
				get busy status of (get info for theFile)
				set _ready to true
			on error
				set _ready to false
			end try
		end repeat
		repurpose thru theFile -- this is the business end handler call.
	end repeat
end adding folder items to

And sure enough it doesn't work - the loop either loops forever (or until I get cross and stop it) or I get an 'Unknown Scripting Error'

Anyway, surely 'get busy status' shouldn't really either throw an error or 'false' - or does that make sense to people that understand these sorts of things better than I?

Sorry if this has been covered before, and for not trying harder to fix it myself, only my brain is starting to hurt

Thankyou
Richard
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Folder actions and Illustrator files
      • From: "Shane Stanley" <email@hidden>
    • Re: Folder actions and Illustrator files
      • From: Jake Pietrykowski <email@hidden>
  • Prev by Date: Re: Off the subject....
  • Next by Date: Re: ScriptDB
  • Previous by thread: Re: Off the subject....
  • Next by thread: Re: Folder actions and Illustrator files
  • Index(es):
    • Date
    • Thread