Re: Simple script. Simple error. Can't find it
Re: Simple script. Simple error. Can't find it
- Subject: Re: Simple script. Simple error. Can't find it
- From: René v Amerongen <email@hidden>
- Date: Mon, 01 Sep 2014 13:10:48 +0200
Not wanted to hijack, but got me thinking.
What should be the way to call a handler, when I got in my script findReplace () and in a plugin also a findReplace() handler? I use f.e at one point my findReplace and another time the plugin findReplace. this is just to understand it better.
Thanks
Op 31 aug. 2014, om 04:14 heeft Shane Stanley <email@hidden> het volgende geschreven:
> 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
_______________________________________________
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