Wednesday, July 18, 2018

#1 2018-04-09 03:06:43 pm

stegor
Member
Registered: 2006-03-07
Posts: 47

Send a command from one app to another

I have two AppleScriptObjC apps - I want to send text from app A to app B and have app B fill a table with the text.
Right now I have app A save a text file, then I go to app B and open it. I' d like to eliminate the text file and the extra steps.
Is there a way for app A to call a subroutine in app B like in vanilla applescript apps? Or do I have to make app B scriptable in order to tell it what to do?

XCode 9.2
OS 10.12.6

Offline

 

#2 2018-04-09 04:56:21 pm

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

Re: Send a command from one app to another

stegor wrote:

IOr do I have to make app B scriptable in order to tell it what to do?



This.


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

Offline

 

#3 2018-04-10 12:02:21 pm

stegor
Member
Registered: 2006-03-07
Posts: 47

Re: Send a command from one app to another

I should have known that... Chapter 25.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)