• 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: TextEdit Slash SearchReplace impossible (was Basic Script Blues)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues) (From: ba95 <email@hidden>)
 >Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues) (From: "email@hidden" <email@hidden>)
 >Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues) (From: ba95 <email@hidden>)

  • Prev by Date: Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues)
  • Next by Date: Blind scripter
  • Previous by thread: Re: TextEdit Slash SearchReplace impossible (was Basic Script Blues)
  • Next by thread: GUI scripting for installers which have root privilege
  • Index(es):
    • Date
    • Thread