Re: LC -> Applescript -> Chrome
> Am 13.10.2022 um 14:15 schrieb jbv via use-livecode > : > > Therefore I have switched to cliclick (https://www.bluem.net/), > whose last update is from 2021 and that is much more easier to use, There is a newer version available. Github lists version 5.1 released 2022-08-14 https://github.com/BlueM/cliclick/releases > and things have improved (as far as I can see). > > Best > > ___ > 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 ___ 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
Re: LC -> Applescript -> Chrome
If anyone's interested, I think I have found the cause of my problem with Applescript in LC, and more specifically with the "click at" command. For months I've been using MouseTools as Terminal/shell application to emulate keyboard and/or mouse events. AFAIK MouseTools is pretty old and hasn't been updated in ages, and a recent Mac OSX update might have made its behavior erratic. Therefore I have switched to cliclick (https://www.bluem.net/), whose last update is from 2021 and that is much more easier to use, and things have improved (as far as I can see). Best ___ 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
Re: LC -> Applescript -> Chrome
Hi Richard, Thank you for your reply. Actually it's kind of weird : after running the script a few times in the Applescript editor, it started to work again in LC... May be it was something in my setup, I don't know. Best, Le 2022-10-11 15:27, Richard Gaskin via use-livecode a écrit : jbv wrote: I have a stack that interacts with Chrome via Applescript. It has been running fine for months. Suddenly, one command line began to stall the whole process, with the spinning wheel spinning forever. And when I run the same Applescript in the script editor, it still runs fine as before. The line is : tell application "System Events" to click at {x, y} I am using LC 9.6.8 What should I look at to fix the issue ? At first this struck me as potentially an intentional change from Apple for security purposes, but a quick DuckDuckGo search shows many having the same AppleScript issue with "click at": https://duckduckgo.com/?q=macOS+applescript+%22click+at%22 Interesting discussions, but I didn't see a proposed solution that works for Mavericks. I also didn't look that hard; there may be a fix out there. Or it may be a bug in macOS. But at least it isn't you. :) ___ 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
Re: LC -> Applescript -> Chrome
jbv wrote: I have a stack that interacts with Chrome via Applescript. It has been running fine for months. Suddenly, one command line began to stall the whole process, with the spinning wheel spinning forever. And when I run the same Applescript in the script editor, it still runs fine as before. The line is : tell application "System Events" to click at {x, y} I am using LC 9.6.8 What should I look at to fix the issue ? At first this struck me as potentially an intentional change from Apple for security purposes, but a quick DuckDuckGo search shows many having the same AppleScript issue with "click at": https://duckduckgo.com/?q=macOS+applescript+%22click+at%22 Interesting discussions, but I didn't see a proposed solution that works for Mavericks. I also didn't look that hard; there may be a fix out there. Or it may be a bug in macOS. But at least it isn't you. :) -- Richard Gaskin Fourth World Systems ___ 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