• 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: Simple script. Simple error. Can't find it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple script. Simple error. Can't find it


  • Subject: Re: Simple script. Simple error. Can't find it
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 31 Aug 2014 12:14:01 +1000

On 31 Aug 2014, at 12:08 pm, Lists <email@hidden> wrote:

> -->error "Safari got an error: Can’t continue findReplace." number -1708

The cause of that error is trying to call a handler within an application tell block -- you need to insert "my" or "of me" to do that.

But better still, you should remove the last three lines from the Safari tell block altogether -- they don't belong there, and all you're doing by putting them there is slowing things down.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: 
 >Simple script. Simple error. Can't find it (From: Lists <email@hidden>)

  • Prev by Date: Re: Encoding
  • Next by Date: Re: The Future of AppleScript
  • Previous by thread: Simple script. Simple error. Can't find it
  • Next by thread: Code won't work in Tell block
  • Index(es):
    • Date
    • Thread