• 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
Get access to input from other handlers before on run?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get access to input from other handlers before on run?


  • Subject: Get access to input from other handlers before on run?
  • From: Me <email@hidden>
  • Date: Fri, 30 Oct 2009 19:55:04 -0500

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

  • Follow-Ups:
    • Re: Get access to input from other handlers before on run?
      • From: Itai Rom <email@hidden>
  • Prev by Date: 123 for me! ( for now anyway! )
  • Next by Date: Re: Get access to input from other handlers before on run?
  • Previous by thread: 123 for me! ( for now anyway! )
  • Next by thread: Re: Get access to input from other handlers before on run?
  • Index(es):
    • Date
    • Thread