Automator & obj-c methods
Automator & obj-c methods
- Subject: Automator & obj-c methods
- From: Martin Orpen <email@hidden>
- Date: Thu, 02 Jun 2005 10:08:22 +0100
Hey, I've found one good use for Automator - you can use it to run obj-c
calls without having to install a third-party app :-)
tell application "Automator"
set foo to call method "standardUserDefaults" of class "NSUserDefaults"
set bar to call method "dictionaryRepresentation" of foo
end tell
(not a quick example - but it returns a *lot* of data)
That's about the only good thing that I've found. Bad things include:
1. Finder's Find works[1] in Automator, but not in AS
2. Spotlight Search works in Automator but not in AS
[1]Not very well, as the specified input is "Files & Folders" which seems
pretty daft.
--
Martin Orpen
_______________________________________________
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