• 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: Using Log with Smile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Log with Smile


  • Subject: Re: Using Log with Smile
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 23 Jan 2015 17:31:17 -0600

On Jan 23, 2015, at 10:18, Robert Poland <email@hidden> wrote:
I’m lost. How does the “log” data get to the logWin?
______________________________________________________________________

Hey Bob,

It's pretty straightforward.

on logItem(_text)
  try
    set logWin to first window whose name is "Log Window"
  on error
    set logWin to make new text window with properties {name:"Log Window", bounds:{1075, 22, 1920, 1196}}
  end try
  set end of text of text window "Log Window" to _text & linefeed
end logItem

logItem("My Log Item…")

--
Take Care,
Chris

 _______________________________________________
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: Using Log with Smile
      • From: Christopher Stone <email@hidden>
References: 
 >Using Log with Smile (From: Robert Poland <email@hidden>)
 >Re: Using Log with Smile (From: Christopher Stone <email@hidden>)
 >Re: Using Log with Smile (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Labels and tags ?
  • Next by Date: Re: Using Log with Smile
  • Previous by thread: Re: Using Log with Smile
  • Next by thread: Re: Using Log with Smile
  • Index(es):
    • Date
    • Thread