Re: Console.app in Sierra
Re: Console.app in Sierra
- Subject: Re: Console.app in Sierra
- From: Shane Stanley <email@hidden>
- Date: Tue, 26 Jul 2016 11:23:38 +1000
On 26 Jul 2016, at 6:02 AM, Doug Adams <email@hidden> wrote:
>
> To put it another way: here's a simple script that logs a message to Console:
>
>
> use AppleScript
> use framework "AppKit"
>
> tell me to logg("This text will be logged to Console.app")
>
> on logg(txt)
> current application's NSLog("%@", txt)
> end logg
You know you really should have a 'use framework "Foundation"' in there, too.
>
>
> How would I see that logged message for process "Script Editor" in the Console.app under Sierra? How can I breezily instruct clients/users to do so during a troubleshoot?
Make sure you have your Mac selected under Devices in the sidebar. In the search field, type the name of your app if it’s an Xcode project, or the name of your editor. When you type return, a menu will be inserted in the search field before your search string, defaulting to Message. Use it to select Process instead. Your entries should appear.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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