webdevRefinery Forum: What's behind AppleScript - webdevRefinery Forum

Jump to content

Think a topic deserves its own subforum?

Any topic that gets popular here will have a subforum made for it, as long as there are folks around who can answer questions! So if you think wdR is missing something, just talk about it here :)
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Rate Topic: -----

User is offline Cyril 

  • Group: Members
  • Posts: 2545
  • Joined: 03-August 10
  • Expertise:HTML,CSS,PHP,Javascript,Graphics

Posted 17 May 2012 - 05:24 PM (#1)

What's behind AppleScript


Hey guys,

Quick question, but the answer probably isn't - if there are any. Not really the subject of wdR, but of well.

This is for Mac OS X, btw.

I'm writing a small app, which needs to interact with other apps. The thing is, the app in question (Evernote) doesn't have a proper / nice API to work with. It does, however, have an AppleScript interface or whatever it's called.

So here's my question: how does it work? Surely, there's another way to access the methods that are available to AppleScript, since it's the app itself that provides it.

(I don't want to go around system()'ing scripts and all)

Thanks (I know this post probably sounds weird / dry / whatever -- sorry about that, kinda tired :P)

website :: github :: twitter :: dribbble :: forrst
html, css, php, javascript, graphics
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5169
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 17 May 2012 - 05:45 PM (#2)

It sends messages to te application, yeah an API. Have you googled for an apple script obj c library to see how they did it.
Reserved.
0


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users


Enter your sign in name and password


Sign in options
  Or sign in with these services