RE: Snow Leopard osax security and 'run script' with parameters
RE: Snow Leopard osax security and 'run script' with parameters
- Subject: RE: Snow Leopard osax security and 'run script' with parameters
- From: has <email@hidden>
- Date: Mon, 11 Jan 2010 00:29:02 +0000
Scott Babcock wrote:
> For me, the only reason I need this sort of trick is to work around the fact that AppleScript doesn't allow you to access record properties by their names. If you receive an arbitrary record, the only way that I know of to pull it apart is to convert it to a string to get the property names (thru a different sort of trickery) and assemble script objects on the fly to obtain the values.
There is Late Night Software's List & Record Tools osax (or anything you care to do with the AEM/OSA APIs), but if you have to use AppleScript and need to keep everything in the same context then, yes, fabbing a script object on the fly is the only way to do it that I can see. (And may the gods of AppleScript have mercy upon your soul...:p)
Enjoy,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
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