Re: Calling a handler from inside a handler
Re: Calling a handler from inside a handler
- Subject: Re: Calling a handler from inside a handler
- From: email@hidden
- Date: Mon, 14 Nov 2005 07:49:51 +0000
On 14 Nov 2005, at 06:50, Brett Conlon wrote:
Hi all,
Simply:
Can I call a handler from within a handler, ie. a handler that is telling Photoshop to do something with a file and after doing that (still within the handler) it runs another handler that asks the Finder to create a folder alias?
Yes.
[snip]
Here is an example for you:
tell application "Finder" (* Insert your script Here *) my Handler_1() my Handler_2() (* Rest of script *) end tell
on Handler_1() beep end Handler_1
on Handler_2() display dialog "This was run from Handler_2" end Handler_2
Basically call the handler with "my handlername() and it should work (I haven't come across it not working yet :)
|
_______________________________________________
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