Re: 4D Called from AppleScript

2018-03-06 Thread B.Bippus via 4D_Tech
Maybe you can use 'osascript' via LEP. Like: -- Displaying a dialog with osascript osascript -e 'display dialog ""' returns execution error: No user interaction allowed. One option is to tell a background process like SystemUIServer to display the dialog: answer=$(osascript -e 'try tell applicati

Re: 4D Called from AppleScript

2018-03-06 Thread Jeremy Roussak via 4D_Tech
That’s the one I had in mind, yes. Jeremy Jeremy Roussak j...@mac.com > On 6 Mar 2018, at 15:57, Axel Kohlepp via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Miyako: https://github.com/miyako/4d-tips-custom-url > > mfg > > Axel Kohlepp > > Herr Alexander Heintz via 4D_Tech schrieb: >> Hi

Re: 4D Called from AppleScript

2018-03-06 Thread Axel Kohlepp via 4D_Tech
Miyako: https://github.com/miyako/4d-tips-custom-url mfg Axel Kohlepp Herr Alexander Heintz via 4D_Tech schrieb: Hi Folks, does anyone know, if it is possible to talk to 4D from AppleScript? I have a small application that receives information form a phone system and can launch an AppleScrip

Re: 4D Called from AppleScript

2018-03-06 Thread John Baughman via 4D_Tech
I did a couple of quick google searches and found that AppleScript can send HTTP Get/Post requests, SOAP requests, and SQL requests. 4D can respond/consume any of these. For example google found for "AppleScript Get and Post requests"… https://stackoverflow.com/questions/12678900/can-apple

Re: 4D Called from AppleScript

2018-03-06 Thread Jeremy Roussak via 4D_Tech
Miyako has something that allows 4D to respond to custom URLs. It was mentioned here recently. You might be able to adapt that. Just a thought. Jeremy Jeremy Roussak j...@mac.com > On 6 Mar 2018, at 15:07, Herr Alexander Heintz via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hi Folks, >