Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
- Subject: Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
- From: Shane Stanley <email@hidden>
- Date: Tue, 09 Dec 2014 22:28:14 +1100
On 9 Dec 2014, at 10:15 pm, 2551 <email@hidden> wrote:Woah! That's an interesting trick. Where did that come from?
I don't suppose it's...err, y'know, like _documented_ anywhere is it? (Prepares for guffaw).
AppleScript Release Notes:
Apple's Script Editor works just as you say, and even thought a normal 'command-Run' doesn't do anything, it doesn't crash it either.
From the docs:
The methods of your delegate object are called from the thread in which you started the corresponding location services. That thread must itself have an active run loop, like the one found in your application’s main thread.
So there's no reason it should crash.
For anyone following along, ASObjC Explorer has a "Run in foreground" checkbox, so you don't have to keep remembering to hold the control key. It's harmless if you forget here, but in cases where you're talking to the interface it can cause crashes.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden