• 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
Automator & obj-c methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Adding To A List
  • Next by Date: Re: Adding To A List
  • Previous by thread: Claudio Braxmaier ist bis 05.06.2005 nicht im Büro
  • Next by thread: How to close finder window
  • Index(es):
    • Date
    • Thread