Re: Script Objects
Re: Script Objects
- Subject: Re: Script Objects
- From: Luther Fuller <email@hidden>
- Date: Mon, 18 Jan 2010 17:27:19 -0600
On Jan 18, 2010, at 5:08 PM, Emmanuel LEVY wrote:
> There are certainly tons of answers, which are more or less relevant to a given person...
>
> Here's my preferred. In Smile's "advanced" Search & Replace dialog, you can launch several searches at the same time - you can launch the search in folder B while the search in folder A is still in progress.
>
> This is performed by cloning a script object: a given clone contains the whole context required by the dialog to run a given search (such as: the search string, the output window, etc).
>
> More generally, script objects are a way to spawn and kill contexts ad libitum. Furthermore it has been suggested that lists which are properties of script objects are faster to access.
This sounds as if you are running script objects in separate threads. I've tried to do that and have failed. When I really need something to run in a new thread while the main script continues to operate, I use an application stored in the main application bundle's /Contents/Resources/ folder. Perhaps this works because you are using dialogs. Can you give more details?
_______________________________________________
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