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