<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Nabaztalk - Nabaztag & Smart Object Forums - Mir:rors]]></title>
	<link rel="self" href="http://www.nabaztalk.com/feed/atom/forum/22/"/>
	<updated>2010-06-17T08:53:25Z</updated>
	<generator>PunBB</generator>
	<id>http://www.nabaztalk.com/</id>
		<entry>
			<title type="html"><![CDATA[Mir:rors and Corporate Proxies]]></title>
			<link rel="alternate" href="http://www.nabaztalk.com/topic/1377/mirrors-and-corporate-proxies/new/posts/"/>
			<summary type="html"><![CDATA[<p>I have a mir:ror and have it working on my laptop when I&#039;m at home.<br />In the office my internet connection is through a corporate proxy - and the mirware says I don&#039;t have an internet connection.</p><p>Since I want to use the mir:ror (that recognises the RFID chip in my identity card) to lock my screen, send commands to my Nabaztag:tag etc .... that is a pain.</p><p>Any ideas?</p>]]></summary>
			<author>
				<name><![CDATA[KeithD]]></name>
				<uri>http://www.nabaztalk.com/user/25971/</uri>
			</author>
			<updated>2010-06-17T08:53:25Z</updated>
			<id>http://www.nabaztalk.com/topic/1377/mirrors-and-corporate-proxies/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[First Message]]></title>
			<link rel="alternate" href="http://www.nabaztalk.com/topic/1309/first-message/new/posts/"/>
			<summary type="html"><![CDATA[<p>This forum is very lonely!! <img src="http://www.nabaztalk.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Someone (you know who you are <img src="http://www.nabaztalk.com/img/smilies/wink.png" width="15" height="15" alt="wink" />) just give me a mir:ror.. after one weekend playing with it, I can just say that is a amazing idea!!!<br />I just don&#039;t like the dependance to violet.net... is a god idea for nabaztab... but I&#039;m not pretty sure that is the best for mir:ror.</p><p>Well.... I tried with no luck to launch applescripts thought /dev script launcher application, but I dicovered that they can be easily launched if I save them as Application with the script editor and the lauch with mirror &quot;launch file&quot; application.</p><p>By know I have a couple of scripts to launch a fullscreen movie and to launch random webpages stored in an array inside the script.... </p><p>Ask me any doubt is you use them, I will try to answer.....</p><p>First movie launcher.....<br /></p><div class="codebox"><pre><code>on run
    set dMovie to &quot;/Volumes/Contenido/Contenido/Movies/Animacion/Movie.avi&quot;
    if not checkExistsFile(dMovie) as boolean then
        tell application &quot;Finder&quot;
            mount volume &quot;afp://192.168.1.4/Contenido&quot;
        end tell
    end if
    
    tell application &quot;QuickTime Player&quot;
        activate
        try -- Prevents error when QT is already open.
            close document 1 -- Closes any possibly opening advertises.
        end try
        open dMovie
        present document 1
        play document 1
    end tell
end run

on checkExistsFile(theFilename)
    set theTerminalCommand to &quot;test -e &quot; &amp; theFilename &amp; &quot;;
testResult=$?;
if [[ $testResult = 0 ]]; then
echo &#039;1&#039;
elif [[ $testResult = 1 ]]; then
echo &#039;0&#039;
else
echo &#039;-1&#039;
fi&quot;
    
    return (do shell script theTerminalCommand) as integer
end checkExistsFile</code></pre></div><p>Now random webpage launcher (I use to launch pocoyo youtube video XD)<br /></p><div class="codebox"><pre><code>on run
    set urls to {¬
        &quot;http://www.youtube.com/watch?v=nmwIgF2gekY&quot;, ¬
        &quot;http://www.youtube.com/watch?v=QYNXXgwjWgY&quot;, ¬
        &quot;http://www.youtube.com/watch?v=6-BSeT1ZKA8&quot;, ¬
        &quot;http://www.youtube.com/watch?v=62FBRIVG50k&quot;, ¬
        &quot;http://www.youtube.com/watch?v=uzSoY8zA-Hk&quot;, ¬
        &quot;http://www.youtube.com/watch?v=7P8LYr2-mOg&quot;, ¬
        &quot;http://www.youtube.com/watch?v=vP1-LHGd09Y&quot;, ¬
        &quot;http://www.youtube.com/watch?v=4VMpBW6gYgg&quot;, ¬
        &quot;http://www.youtube.com/watch?v=iF08bXUlZ0A&quot;, ¬
        &quot;http://www.youtube.com/watch?v=juXmjYZyk5s&quot;, ¬
        &quot;http://www.youtube.com/watch?v=6ibx7F0L1Qk&quot;, ¬
        &quot;http://www.youtube.com/watch?v=7cvBYLWeSXE&quot;, ¬
        &quot;http://www.youtube.com/watch?v=90Yux6-oWzA&quot;, ¬
        &quot;http://www.youtube.com/watch?v=XKNzMbx5V-o&quot;, ¬
        &quot;http://www.youtube.com/watch?v=B5trGYPjIX0&quot;, ¬
        &quot;http://www.youtube.com/watch?v=s6oQLyyyAZg&quot;, ¬
        &quot;http://www.youtube.com/watch?v=6g5tb-TTarY&quot;, ¬
        &quot;http://www.youtube.com/watch?v=OdJGdHZ7i9c&quot;, ¬
        &quot;http://www.youtube.com/watch?v=QwP5dNwON_E&quot;, ¬
        &quot;http://www.youtube.com/watch?v=mO7e6A2mrhw&quot;, ¬
        &quot;http://www.youtube.com/watch?v=DNzvywTZj8M&quot;, ¬
        &quot;http://www.youtube.com/watch?v=hygGyE4LCKI&quot;, ¬
        &quot;http://www.youtube.com/watch?v=vF3MuGXPW38&quot;, ¬
        &quot;http://www.youtube.com/watch?v=qNDykTxViP4&quot;, ¬
        &quot;http://www.youtube.com/watch?v=thLmT2MnI4s&quot;, ¬
        &quot;http://www.youtube.com/watch?v=UP5_jr5Xnv4&quot;, ¬
        &quot;http://www.youtube.com/watch?v=5_O2pBqIOHg&quot;, ¬
        &quot;http://www.youtube.com/watch?v=5r4EpDjSynw&quot;, ¬
        &quot;http://www.youtube.com/watch?v=kvp2hCbCiPU&quot;, ¬
        &quot;http://www.youtube.com/watch?v=pr7_FWbnMtQ&quot;, ¬
        &quot;http://www.youtube.com/watch?v=escVXDiFoeI&quot;, ¬
        &quot;http://www.youtube.com/watch?v=stDOBgXJEe4&quot;, ¬
        &quot;http://www.youtube.com/watch?v=VlmgPreob8U&quot;, ¬
        &quot;http://www.youtube.com/watch?v=U1rf9yoTtOo&quot;, ¬
        &quot;http://www.youtube.com/watch?v=Pbchu7te-14&quot;, ¬
        &quot;http://www.youtube.com/watch?v=jrwWfpAneEY&quot;, ¬
        &quot;http://www.youtube.com/watch?v=XejYQRjFN7Q&quot;, ¬
        &quot;http://www.youtube.com/watch?v=bYgV7JiAHUs&quot;, ¬
        &quot;http://www.youtube.com/watch?v=f2GfdRFpFT0&quot;, ¬
        &quot;http://www.youtube.com/watch?v=Ic5iwH3Yb1A&quot;, ¬
        &quot;http://www.youtube.com/watch?v=n_1Pfdk4Rno&quot;, ¬
        &quot;http://www.youtube.com/watch?v=dZl7NEEISbo&quot;, ¬
        &quot;http://www.youtube.com/watch?v=yP7KGhCNM44&quot;, ¬
        &quot;http://www.youtube.com/watch?v=PVusw9DB__o&quot;, ¬
        &quot;http://www.youtube.com/watch?v=G_hDn1FWbnk&quot;, ¬
        &quot;http://www.youtube.com/watch?v=KGn1HKrWYEI&quot;, ¬
        &quot;http://www.youtube.com/watch?v=WR5ogoL_HhQ&quot;, ¬
        &quot;http://www.youtube.com/watch?v=pV25beSzqvk&quot;, ¬
        &quot;http://www.youtube.com/watch?v=TWV2Is_FsNg&quot;, ¬
        &quot;http://www.youtube.com/watch?v=YnwW6Jpq-So&quot;, ¬
        &quot;http://www.youtube.com/watch?v=ki0uPxTGPNQ&quot;, ¬
        &quot;http://www.youtube.com/watch?v=eFMzABYU-W0&quot;, ¬
        &quot;http://www.youtube.com/watch?v=edUW_HDgSiU&quot;, ¬
        &quot;http://www.youtube.com/watch?v=ApeCX9Tj6b8&quot;, ¬
        &quot;http://www.youtube.com/watch?v=ZcvXsDbxVkw&quot;, ¬
        &quot;http://www.youtube.com/watch?v=Xgg3yjWh05U&quot;, ¬
        &quot;http://www.youtube.com/watch?v=9Rv87DHbAA4&quot;, ¬
        &quot;http://www.youtube.com/watch?v=6g3po8mIlpk&quot;, ¬
        &quot;http://www.youtube.com/watch?v=dN-kfYNq48I&quot;, ¬
        &quot;http://www.youtube.com/watch?v=gXfPDv6YH7A&quot;, ¬
        &quot;http://www.youtube.com/watch?v=fZjTWF53vWA&quot;, ¬
        &quot;http://www.youtube.com/watch?v=49rxdpIJXfM&quot;, ¬
        &quot;http://www.youtube.com/watch?v=_vFVHbO2Cbo&quot;, ¬
        &quot;http://www.youtube.com/watch?v=vwubPqhesqg&quot;, ¬
        &quot;http://www.youtube.com/watch?v=8U4mBGQEub8&quot;, ¬
        &quot;http://www.youtube.com/watch?v=6Q2lULOeQ3E&quot;, ¬
        &quot;http://www.youtube.com/watch?v=PhX7lLBEqIE&quot;, ¬
        &quot;http://www.youtube.com/watch?v=bsSooPeYZh8&quot;, ¬
        &quot;http://www.youtube.com/watch?v=3QtrewRRSbM&quot;, ¬
        &quot;http://www.youtube.com/watch?v=DU5li6mYghw&quot;, ¬
        &quot;http://www.youtube.com/watch?v=joc2uyKQ7y0&quot;, ¬
        &quot;http://www.youtube.com/watch?v=rpcwtweYqDQ&quot;, ¬
        &quot;http://www.youtube.com/watch?v=1f9xplzAgPU&quot;}
    
    set capitulo to random number from 1 to (length of urls)
    #display dialog item capitulo of urls as string
    tell application &quot;Safari&quot;
        make new document at end of documents
        set URL of document 1 to item capitulo of urls
    end tell    
end run</code></pre></div>]]></summary>
			<author>
				<name><![CDATA[Zool]]></name>
				<uri>http://www.nabaztalk.com/user/22416/</uri>
			</author>
			<updated>2010-04-19T09:33:02Z</updated>
			<id>http://www.nabaztalk.com/topic/1309/first-message/new/posts/</id>
		</entry>
</feed>
