Re: String recognition with trigger
Re: String recognition with trigger
- Subject: Re: String recognition with trigger
- From: Christopher Stone <email@hidden>
- Date: Wed, 16 Dec 2015 13:18:08 -0600
On Dec 16, 2015, at 12:49, dan dunfee <email@hidden> wrote:
> Does apple script have a command/routine to spot a character string that appears on screen which would trigger a branch and/or other script?
______________________________________________________________________
Hey Dan,
No.
If you want pixel or image recognition then you'll need a tool like Keyboard Maestro.
http://www.keyboardmaestro.com
As far as I know there's no utility these days that can watch the screen for text.
> For example, if one wanted something to happen when visiting any web page with some string in common, the trigger would be called.
In Safari you can use AppleScript to produce the text of a page and parse that, but I wouldn't want to have an agent sitting and constantly reading the page.
> Which brings a related question, can a script call another script?
Yes.
Run script <alias>
--
Best Regards,
Chris
_______________________________________________
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