• 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: Doug Adams <email@hidden>
  • Date: Mon, 25 Jul 2016 16:02:37 -0400

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


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?

Much Obliged,
Doug
--
dougscripts.com

On Jul 23, 2016, at 3:00 PM:

> Well, what I tell users to do now is:
>
> - Launch Console.app and make sure the left column (called the "Log List") is visible.
> - Select "All Messages" under "SYSTEM LOG QUERIES" at the very top of this column.
> - In the toolbar's Search field, enter "Some Script Name" and then click the "Reload" button (or press Shift-Command-R).
> - The list of messages in the large right side of the window should display the most recent messages from Some Script Name.
> - You can select and then copy-and-paste all the relevant messages from Console to an email message and send it to me.
>
> Basically, show the messages logged from a script or applet.
>



 _______________________________________________
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


  • Follow-Ups:
    • Re: Console.app in Sierra
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Using cliclick with apple script
  • Next by Date: Re: Console.app in Sierra
  • Previous by thread: Re: Console.app in Sierra
  • Next by thread: Re: Console.app in Sierra
  • Index(es):
    • Date
    • Thread