Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

50thVert

macrumors regular
Original poster
Jun 20, 2005
183
0
St. Louis, MO
Hey every1,
I am not very proficient in coding, and if someone would make me a short applescript id be much obliged.

What i would like it to do is open up the web browser application Shiira and have it display the following webpages:

http://forums.bimmerforums.com/forum...play.php?f=121
http://www.cigarpass.com/forums/

Reason i want it is so that i can have Automator run this applescript in the middle of my morning workflow. Automator does not have an option to pass selected URLs to any browser other than Safari.

Many thanks to whomever can assist me!
-Zach
 

mduser63

macrumors 68040
Nov 9, 2004
3,042
31
Salt Lake City, UT
Your first link leads to a 404 page, so replace that URL in this code with a correct link. Anyway, the code below works, but it opens each page in its own window. I couldn't find any way to open a new tab in Shiira via AppleScript. You should copy this code into Script Editor and save it from there.

Code:
tell application "Shiira"
	make new document
	set URL of document 1 to "http://www.cigarpass.com/forums/"
	make new document
	set URL of document 1 to "http://forums.bimmerforums.com/forum...play.php?f=121"
end tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.