Friday, 11 August 2017

Using Applescript to open multiple tabs


After starting the machine, we feel to open Mozilla/Safari for browsing our favorite websites. So, we need to open the each tab again and again and enter the url or click on bookmark of our favorite website. This task can be make simpler by using AppleScript.

Here is the code

tell application "Safari"
open location ""
open location ""
open location ""
open location ""
end tell

In same manner, you can use Firefox application, if you are firefox lover. Just replace Safari with Firefox.

No comments:

Post a Comment