• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Console.app in Sierra
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Console.app in Sierra (From: Doug Adams <email@hidden>)

  • Prev by Date: Re: Console.app in Sierra
  • Previous by thread: Re: Console.app in Sierra
  • Next by thread: [ANN] Script Debugger 6.0.1 released
  • Index(es):
    • Date
    • Thread