Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues)
Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues)
- Subject: Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues)
- From: "email@hidden" <email@hidden>
- Date: Sun, 22 Nov 2009 18:22:04 -0800
Yes, All apple events are logged as the script is executed within Script Editor, but many of the things appleScript does do not involve sending or receiving events and aren't loged. But you can use Script Editor's log to reveal information.
The first command, log theText will show you exactly what is in the variable theText, at the time your command is going to execute, which may help troubleshoot.
The second command, log class theText will show you the class of the contents of the variable. Most likely text. I like to be sure.
Glad the mystery was solved.
Ed
On Nov 21, 2009, at 11:18pm, ba95 wrote:
> what is these commands purpose, please:
> --
> log theText
> log class of theText
> --
>
> I thought the events were automatically logged.
_______________________________________________
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