<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://opensimulator.dev/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="https://opensimulator.dev/index.php?action=history&amp;feed=atom&amp;title=OSX_Grid_Selector_Script"/>
	<link rel="alternate" type="text/html" href="https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;action=history"/>
	<updated>2026-12-06T20:51:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;diff=21613&amp;oldid=prev</id>
		<title>imported&gt;MakoBot: Robot: Cosmetic changes</title>
		<link rel="alternate" type="text/html" href="https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;diff=21613&amp;oldid=prev"/>
		<updated>2012-03-04T03:42:09Z</updated>

		<summary type="html">&lt;p&gt;Robot: Cosmetic changes&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&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; id=&quot;mw-diff-left-l1&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=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;Feel free to copy and modify for your own use.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  --&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  --&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;MakoBot</name></author>
	</entry>
	<entry>
		<id>https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;diff=21612&amp;oldid=prev</id>
		<title>imported&gt;Fritigern at 04:30, 13 June 2011</title>
		<link rel="alternate" type="text/html" href="https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;diff=21612&amp;oldid=prev"/>
		<updated>2011-06-13T04:30:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&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; id=&quot;mw-diff-left-l1&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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 colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=&quot;applescript&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  --&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  --&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  --  This script selects a viewer and a grid for virtual worlds.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  --  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; id=&quot;mw-diff-left-l65&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  set command to viewer &amp;amp; options&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  set command to viewer &amp;amp; options&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  do shell script command&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  do shell script command&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;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>imported&gt;Fritigern</name></author>
	</entry>
	<entry>
		<id>https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;diff=21611&amp;oldid=prev</id>
		<title>imported&gt;Makopoppo: (moved from Connecting)</title>
		<link rel="alternate" type="text/html" href="https://opensimulator.dev/index.php?title=OSX_Grid_Selector_Script&amp;diff=21611&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>imported&gt;Makopoppo</name></author>
	</entry>
</feed>