<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=OSX_Grid_Selector_Script</id>
		<title>OSX Grid Selector Script - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=OSX_Grid_Selector_Script"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;action=history"/>
		<updated>2026-06-13T06:46:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;diff=28342&amp;oldid=prev</id>
		<title>MakoBot: Robot: Cosmetic changes</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;diff=28342&amp;oldid=prev"/>
				<updated>2012-03-04T03:42:09Z</updated>
		
		<summary type="html">&lt;p&gt;Robot: Cosmetic changes&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:42, 4 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;On OSX environments, if you have multiple viewers and multiple grids to connect to, you can try the following AppleScript (one could do something similar with a shell script). &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;Feel free to copy and modify for your own use.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;On OSX environments, if you have multiple viewers and multiple grids to connect to, you can try the following AppleScript (one could do something similar with a shell script). Feel free to copy and modify for your own use.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;applescript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;applescript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MakoBot</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;diff=24418&amp;oldid=prev</id>
		<title>Fritigern at 04:30, 13 June 2011</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;diff=24418&amp;oldid=prev"/>
				<updated>2011-06-13T04:30:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:30, 13 June 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;On OSX environments, if you have multiple viewers and multiple grids to connect to, you can try the following AppleScript (one could do something similar with a shell script).&amp;#160; Feel free to copy and modify for your own use.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;On OSX environments, if you have multiple viewers and multiple grids to connect to, you can try the following AppleScript (one could do something similar with a shell script).&amp;#160; Feel free to copy and modify for your own use.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=&amp;quot;applescript&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --&amp;#160; This script selects a viewer and a grid for virtual worlds.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --&amp;#160; This script selects a viewer and a grid for virtual worlds.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 66:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; set command to viewer &amp;amp; options&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; set command to viewer &amp;amp; options&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; do shell script command&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; do shell script command&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fritigern</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;diff=21522&amp;oldid=prev</id>
		<title>Makopoppo: (moved from Connecting)</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OSX_Grid_Selector_Script&amp;diff=21522&amp;oldid=prev"/>
				<updated>2011-04-16T15:29:31Z</updated>
		
		<summary type="html">&lt;p&gt;(moved from &lt;a href=&quot;/wiki/Connecting&quot; title=&quot;Connecting&quot;&gt;Connecting&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;On OSX environments, if you have multiple viewers and multiple grids to connect to, you can try the following AppleScript (one could do something similar with a shell script).  Feel free to copy and modify for your own use.&lt;br /&gt;
 --&lt;br /&gt;
 --  This script selects a viewer and a grid for virtual worlds.&lt;br /&gt;
 --&lt;br /&gt;
 --&lt;br /&gt;
 -- Variables for the two supported viewers.  More may be added here.&lt;br /&gt;
 --&lt;br /&gt;
 set lindenViewer to &amp;quot;\&amp;quot;/Applications/SecondLife/Second Life.app/Contents/MacOS/Second Life\&amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 set emeraldViewer to &amp;quot;\&amp;quot;/Applications/SecondLife/GreenLife Emerald Viewer.app/Contents/MacOS/GreenLife Emerald Viewer\&amp;quot;&amp;quot;&lt;br /&gt;
 --&lt;br /&gt;
 -- Variables for options to select the specified grid.  Since the viewers&lt;br /&gt;
 -- are based on the 2nd life viewer, the options are the same for each&lt;br /&gt;
 -- viewer.  Also, connecting to the Second Life grid is the default option&lt;br /&gt;
 -- if no other options are provided.&lt;br /&gt;
 --&lt;br /&gt;
 -- Currently, four grids are supported.  More may be easily added.&lt;br /&gt;
 --&lt;br /&gt;
 set lindenOptions to &amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;set localStandalone to &amp;quot; -loginuri http://vw.server.lan:9000 -loginpage http://vw.server.lan/opensim/index.html&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;set localGrid to &amp;quot; -loginuri http://vw.server.lan:8000 -loginpage http://vw.server.lan/opensim/index.html&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;set osGridOptions to &amp;quot; -loginuri http://osgrid.org:8002 -loginpage http://osgrid.org/loginscreen.php -helperuri http://osgrid.org/&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 --&lt;br /&gt;
 -- Display dialog and select the viewer.&lt;br /&gt;
 --&lt;br /&gt;
 set dialogResult to display dialog &amp;quot;Choose viewer:&lt;br /&gt;
 1) 2nd Life viewer&lt;br /&gt;
 2) Emerald viewer:&amp;quot; default answer &amp;quot;1&amp;quot; with title &amp;quot;Select Viewer&amp;quot; with icon 1&lt;br /&gt;
 &lt;br /&gt;
 set option to text returned of dialogResult&lt;br /&gt;
 &lt;br /&gt;
 if option = &amp;quot;2&amp;quot; then&lt;br /&gt;
 	set viewer to emeraldViewer&lt;br /&gt;
 else&lt;br /&gt;
 	set viewer to lindenViewer&lt;br /&gt;
 end if&lt;br /&gt;
 --&lt;br /&gt;
 -- Display dialog and select the grid.&lt;br /&gt;
 --&lt;br /&gt;
 set dialogResult to display dialog &amp;quot;Choose server:&lt;br /&gt;
 1) 2nd Life grid&lt;br /&gt;
 2) local standalone&lt;br /&gt;
 3) local grid&lt;br /&gt;
 4) OS Grid&amp;quot; default answer &amp;quot;2&amp;quot; with title &amp;quot;Select Grid&amp;quot; with icon 1&lt;br /&gt;
 &lt;br /&gt;
 set grid to text returned of dialogResult&lt;br /&gt;
 &lt;br /&gt;
 if grid = &amp;quot;1&amp;quot; then&lt;br /&gt;
 	set options to lindenOptions&lt;br /&gt;
 else if grid = &amp;quot;2&amp;quot; then&lt;br /&gt;
 	set options to localStandalone&lt;br /&gt;
 else if grid = &amp;quot;3&amp;quot; then&lt;br /&gt;
 	set options to localGrid&lt;br /&gt;
 else if grid = &amp;quot;4&amp;quot; then&lt;br /&gt;
 	set options to osGridOptions&lt;br /&gt;
 else&lt;br /&gt;
 	set options to localStandalone&lt;br /&gt;
 end if&lt;br /&gt;
 --&lt;br /&gt;
 -- Combine the grid and viewer and execute the result.&lt;br /&gt;
 --&lt;br /&gt;
 set command to viewer &amp;amp; options&lt;br /&gt;
 do shell script command&lt;/div&gt;</summary>
		<author><name>Makopoppo</name></author>	</entry>

	</feed>