Re: Using Log with Smile
Re: Using Log with Smile
- Subject: Re: Using Log with Smile
- From: Deivy Petrescu <email@hidden>
- Date: Sat, 24 Jan 2015 11:43:01 -0500
I don’t believe Robert was clearly understood,
I think he wanted the real log the ones that we get when we run an AppleScript in AS ScriptEditor.
You guys were suggesting a different way to send some messages to a different file.
This will do only part of the work.
What he wants is "not possible" as far as I know, but since Smile is scriptable inside out there must be a (simple) way to do it.
> On Jan 23, 2015, at 19:49 , Christopher Stone <email@hidden> wrote:
>
> On Jan 23, 2015, at 17:31, Christopher Stone <email@hidden> wrote:
>> It's pretty straightforward.
> ______________________________________________________________________
>
> Hey Bob,
>
> Whups. Probably better wrap that in a tell-block.
>
> on logItem(_text)
> tell application "Smile"
> 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 tell
> end logItem
>
> logItem("My Log Item…")
>
> --
> Take Care,
> Chris
>
Deivy Petrescu
email@hidden
_______________________________________________
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