Applescript question/Looking for people familiar with Applescript

macOS and Mac Apps

Hello, everyone!
I'm looking for someone familiar with applescript. I'm trying to make a voiceover script that would jump to a specific point on a website according to a text I previously supply.
I don't know if this can be done as I have been looking for the last 3 weeks all over the internet, with safari, with voiceover cursor, by changing the keyboard cursor position, but it seems as thoguh there is nothing that lets me find the text of a safari window nor jump to a specific point.
Has anyone done this?




Submitted by Nicholas Parsons on Saturday, February 25, 2017

I have a fair bit of experience with AppleScript but it sounds to me like the built-in VO-F command will achieve what you're looking for, won't it?

Submitted by Oriol Gomez on Saturday, February 25, 2017

No, I want to be able to have a specific text for any specific webpage title which I can search by hitting a single keystroke, like for example facebook active chat friends automatically going to the refresh button or going to a forum and find recent posts with one keystroke.
NVDA does this with specificSearch and I want to replicate this behaviour on the mac.

Submitted by Nicholas Parsons on Saturday, February 25, 2017

In reply to by Oriol Gomez

Have you tried setting up VoiceOver hot spots or web spots? I think they would do what you're looking for.

Alternatively, there's an app called Keyboard Maestro that would be perfect for that kind of thing. It allows you to create macros so you could, for instance, press the refresh button or activate the recent posts link by triggering one keystroke.

I've never done what you're talking about with AppleScript before. Sorry.

Submitted by Oriol Gomez on Sunday, February 26, 2017

I found a better way and I will be posting the script once it is finished, sometime next week hopefully. It is quite complex as will be saving data for different websites in the database using database events, which is great.
Have you messed around with database events before? Do you think a .plist file would be faster?