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 the previous post is the raw Apple Event. That works also in LC > 7.1 dp 1 and LC > 8.0 dp4 Apparently LC has lost its AppleScript dictionary in LC 7.1. dp2 and beyond and also in 8.0 dp5 For those versions you would have to use the raw Apple Event ------------------- «event miscdosc» ("ask " & d2) ------------------- the raw Apple Event «event miscdosc» (with chevrons) is equivalent to AppleScript do script. So this is a bit more complicated. For you, when using 7.0.6 adding "script" to your script should work. For later versions raw Apple Events should work. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Applescript-Filemaker-tp4696637p4696693.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode