Re: Get access to input from other handlers before on run?
Re: Get access to input from other handlers before on run?
- Subject: Re: Get access to input from other handlers before on run?
- From: Itai Rom <email@hidden>
- Date: Fri, 30 Oct 2009 18:06:01 -0700
The input literally does not exist until just before the action is
run, hence there is no way to access it any earlier than the run
handler. However, I'm wondering what specifically you're trying to
do? Generally actions do not populate their views with any of the
data they get as input.
-Itai
On Oct 30, 2009, at 5:55 PM, Me wrote:
In an Applescript automator action, is there a way to get access to
the input from a handler that runs before on run like on opened or
awake from NIB?
I'm trying to preprocess some of the input before it populates the
action's view.
I've looked through all of the applescript terminology docs and event
codes references, not seeing how to do anything like that.
this is what I'm trying right now (in a handler like on update
parameters):
set this_name to the name of theObject
if this_name is "content view" then
set the contentview_reference to theObject
set the actionview_reference to the super view of theObject
set the action_input to (call method "input" of (call method
"action" of the actionview_reference))
end if
This works for snagging parameters, but not for input. I get "Can't
make current application into type anything"
Any input, I mean help, from the crowd? :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden