Re: Outrageously slow AppleScript performance

2014-10-04 Thread Bill Vlahos
One important addition on this… The performance issue is only in the IDE. Standalone's performance is good! Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList:

Re: Outrageously slow AppleScript performance

2014-10-02 Thread Richard Gaskin
Bill Vlahos wrote: When I execute the AppleScript listed below in the AppleScript Editor it works in about 1 second. Take the same script, put in in a LiveCode field and do field “name” as AppleScript and it takes between 1 and 2 minutes to do! 1. Why? 2. How can I make it run quickly?

Re: Outrageously slow AppleScript performance

2014-10-02 Thread Roger Eller
Unless the AS needs to be built dynamically, you could compile it, and just launch it through LC. ~Roger On Thu, Oct 2, 2014 at 10:24 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Bill Vlahos wrote: When I execute the AppleScript listed below in the AppleScript Editor it works in

Re: Outrageously slow AppleScript performance

2014-10-02 Thread Bill Vlahos
Thanks everyone. It turns out that RunRev knows about the issue: http://quality.runrev.com/show_bug.cgi?id=11358 Richard, I will be at the meeting tonight and as my contribution topic for the meeting. See you there. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about

Re: Outrageously slow AppleScript performance

2014-10-01 Thread zryip theSlug
Bill, On Maverick? I have no problem controlling MS Excel by executing AS scripts within LiveCode. I tried your script on Maverick and I can confirm it is very slow. The first time I executed it, iCal requested an authorization for the calendar to be modified by LiveCode. So, after a quick

Re: Outrageously slow AppleScript performance

2014-10-01 Thread Bill Vlahos
Yes, I am on Mavericks. It does require authorization as you described but even that takes 20 seconds to be prompted and once I grant it permission it still takes 1 to 2 minutes to run. In looking at this command line steps I wouldn’t expect it to work because it is specifically looking for

Re: Outrageously slow AppleScript performance

2014-10-01 Thread Terry Judd
Hi Bill - I tried your script and while it was slow it took more like 10-15 sec rather than 1-2 minutes to run on my MacBook Air (OSX 10.9.4; LC 6.3.3) . I tried simplifying the script in a few places to see if that helped but the improvements were only incremental. The biggest slowdown seems to

Outrageously slow AppleScript performance

2014-09-30 Thread Bill Vlahos
When I execute the AppleScript listed below in the AppleScript Editor it works in about 1 second. Take the same script, put in in a LiveCode field and do field “name” as AppleScript and it takes between 1 and 2 minutes to do! 1. Why? 2. How can I make it run quickly? Here is the AppleScript.