Re: LiveCode Applescript Filemaker

2015-09-30 Thread ilivecode
Hi Rick, thanks for that. The script editor auto-changes the script to delete the space, so I'll keep trying variations. i On Sat, Sep 26, 2015 at 8:15 AM, Rick Harrison wrote: > Hi ilsa, > > This may or may not be the issue but it is > worth a try. > > I noticed that your do statement is: > >

Re: LiveCode Applescript Filemaker

2015-09-30 Thread ilivecode
Hi Bernd, I thought I had tried "do script" but I will try again. I will also try the raw code for "do script" as suggested. Thanks for filing a bug report on the missing Applescript dictionary! i On Sat, Sep 26, 2015 at 3:40 PM, BNig wrote: > Hi ilsa, > > if you use LC 7.0.6 then > > -

Re: LiveCode Applescript Filemaker

2015-09-26 Thread BNig
FYI I filed bug report Bug 16029 regarding and failure to execute "do script" and missing dictionary for AppleScript in latest versions of LC Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Applescript-Filemaker-tp4696637p4696694.

Re: LiveCode Applescript Filemaker

2015-09-26 Thread BNig
Hi ilsa, if you use LC 7.0.6 then --- set d2 to "what" tell application "LiveCode 7.0.6" activate do script ("ask " & d2) end tell --- works. (tested from Script Debugger) (note the addition of "script" after do) What I posted in

Re: LiveCode Applescript Filemaker

2015-09-26 Thread BNig
Hi, this works for me when sending this AppleScript to Livecode from Script Debugger. Should work from Filemaker also. tested with Livecode 7.1 rc3 --- set d2 to quote & "what is going on?" & quote tell application "LiveCode your version here"

Re: LiveCode Applescript Filemaker

2015-09-26 Thread Rick Harrison
Hi ilsa, This may or may not be the issue but it is worth a try. I noticed that your do statement is: do(“ask “ & d2) try do (“ask “ & d2) Sometimes spaces are crucial for having statements interpreted the correct way. Good luck! Rick > On Sep 25, 2015, at 3:29 PM, ilivecode wrote: > > H

Re: LiveCode Applescript Filemaker

2015-09-25 Thread ilivecode
Hi: Forgot to say it's FMP13 Advanced. Just a local database and stack. Error -1708 most of the time. I also tried this in 7.1 and now the error message is "LiveCode Indy 7.1 got an error: Can't continue do.": tell application "LiveCode Indy 7.1" activate do("ask " & d2) end tell d2 contains a

Re: LiveCode Applescript Filemaker

2015-09-25 Thread Rick Harrison
Hi ilsa, What version of FileMaker are you using? Did you recently upgrade FileMaker? Were you using ODBC to access FileMaker? Thanks, Rick > On Sep 24, 2015, at 5:56 PM, ilivecode wrote: > > Hi: > > Several LiveCode versions ago I created a stack and a Filemaker database > that could exch

Re: LiveCode & applescript

2010-11-30 Thread Bob Sneidar
Yes of course! Different commands would obviously do different things. I mean, no developer would think of creating a language that had different commands and functions that did essentially the same thing! That would be crazy! That would be NUTZ! That would be... erm... Livecode! LOL! ;-) Bob

Re: LiveCode & applescript

2010-11-28 Thread Yves COPPE
Le 28 nov. 2010 à 15:26, zryip theSlug a écrit : > re, thank you for the clarification and the good lesson ! > Hi Yves and Sarah, > > 1) The open command behaves like the File -> Open menu in the finder. > In fact, "open" is more dedicated to open a document. In AS, the > "application" class

Re: LiveCode & applescript

2010-11-28 Thread zryip theSlug
On Sun, Nov 28, 2010 at 2:08 PM, Yves COPPE wrote: > > Le 28 nov. 2010 à 12:34, Sarah Reichelt a écrit : > >> Where you have "open application", try using "launch application" instead. >> It's a while since I did this, but I seem to remember that "open" >> brings the app to the front, where "launc

Re: LiveCode & applescript

2010-11-28 Thread Yves COPPE
Le 28 nov. 2010 à 12:34, Sarah Reichelt a écrit : > Where you have "open application", try using "launch application" instead. > It's a while since I did this, but I seem to remember that "open" > brings the app to the front, where "launch" does not. > > Cheers, > Sarah > Hi Sarah, Yes, that

Re: LiveCode & applescript

2010-11-28 Thread Sarah Reichelt
Where you have "open application", try using "launch application" instead. It's a while since I did this, but I seem to remember that "open" brings the app to the front, where "launch" does not. Cheers, Sarah On Sun, Nov 28, 2010 at 3:11 AM, Yves COPPE wrote: > Hello list > > > I use the follow