Make a script for google chrome on mac

broken image
broken image

Save the script as an application and move it to Launchpad for. Open AppleScript Editor and paste the following script in it: do shell script 'open -a /Applications/Google\\ Chrome.app -args -incognito'.

broken image

Well this is my problem, Im trying to write a code in AppleScript in order to open a webpage and copy all the text, then save it to a variable, and use that variable later, the problem is that I already did this for safari and it worked well, but for chrome I dont know how to do it, I stared today learning this language so any help will be appreciated. The script is meant to launch Chrome in Incognito mode with one click using a dedicated shortcut created in form of an AppleScript app.