Auguste Pavie
Auguste Pavie

Reputation: 1

Get a Website's url on a google search page using AppleScript

So i was trying to create an automator process that would search for something, and then get the url that comes on top. I used AppleScript since it seemed like there was no other option to do this kind of stuff. Im new to AppleScript, so I only managed to get the search thing working with this code :

on run {input, parameters}
    
    tell application "Safari"
        activate
        search the web for input in current tab of front window
        
    end tell

Can anyone help me ? Thanks !

Upvotes: 0

Views: 15

Answers (0)

Related Questions