Wednesday, December 13, 2017

#1 2009-10-07 05:23:25 pm

mdelfs
Member
Registered: 2009-10-06
Posts: 7

How do you speak to other scriptable applications?

In the old Studio days, it would be a matter of saying:

tell application "itunes"
get the name of current track
end tell

...and that would work by passing variables and commands back and forth.

How do you "speak" to other apps with the newer ApplescriptObjectiveC language to be able to control and manage external applications?

Please provide an example if possible!


Thanks--frustrated with the new language, but I'm learning...


Filed under: iTunes

Offline

 

#2 2009-10-07 08:04:06 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: How do you speak to other scriptable applications?

You do it exactly the same.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#3 2009-10-08 12:33:00 pm

mdelfs
Member
Registered: 2009-10-06
Posts: 7

Re: How do you speak to other scriptable applications?

Yep. Nothing has changed in that regard--amazing. I'm sorta kinda liking the new language....

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)