Guest User

Untitled

a guest
Nov 23rd, 2017
1,477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. open https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/
  2.  
  3. open -n https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/
  4.  
  5. osascript -e 'tell app id "com.google.chrome" to make new window'
  6. && open https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/
  7.  
  8. #!/usr/bin/osascript
  9. on run(theUrls)
  10. tell app id "com.google.chrome" to tell make new window
  11. repeat with theUrl in theUrls
  12. set newTab to make new tab with properties { url: theUrl }
  13. end repeat
  14. tell tab 1 to close
  15. end tell
  16. end run
  17.  
  18. open_new_window https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/
  19.  
  20. osascript
  21. -e 'on run(theUrls)'
  22. -e ' tell app id "com.google.chrome" to tell make new window'
  23. -e ' repeat with theUrl in theUrls'
  24. -e ' set newTab to make new tab ¬'
  25. -e ' with properties { url: theUrl }'
  26. -e ' end repeat'
  27. -e ' tell tab 1 to close'
  28. -e ' end tell'
  29. -e 'end run'
  30. https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/
Add Comment
Please, Sign In to add comment