Topic: First Message

This forum is very lonely!! smile
Someone (you know who you are wink) just give me a mir:ror.. after one weekend playing with it, I can just say that is a amazing idea!!!
I just don't like the dependance to violet.net... is a god idea for nabaztab... but I'm not pretty sure that is the best for mir:ror.

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 "launch file" application.

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....

Ask me any doubt is you use them, I will try to answer.....

First movie launcher.....

on run
    set dMovie to "/Volumes/Contenido/Contenido/Movies/Animacion/Movie.avi"
    if not checkExistsFile(dMovie) as boolean then
        tell application "Finder"
            mount volume "afp://192.168.1.4/Contenido"
        end tell
    end if
    
    tell application "QuickTime Player"
        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 "test -e " & theFilename & ";
testResult=$?;
if [[ $testResult = 0 ]]; then
echo '1'
elif [[ $testResult = 1 ]]; then
echo '0'
else
echo '-1'
fi"
    
    return (do shell script theTerminalCommand) as integer
end checkExistsFile

Now random webpage launcher (I use to launch pocoyo youtube video XD)

on run
    set urls to {¬
        "http://www.youtube.com/watch?v=nmwIgF2gekY", ¬
        "http://www.youtube.com/watch?v=QYNXXgwjWgY", ¬
        "http://www.youtube.com/watch?v=6-BSeT1ZKA8", ¬
        "http://www.youtube.com/watch?v=62FBRIVG50k", ¬
        "http://www.youtube.com/watch?v=uzSoY8zA-Hk", ¬
        "http://www.youtube.com/watch?v=7P8LYr2-mOg", ¬
        "http://www.youtube.com/watch?v=vP1-LHGd09Y", ¬
        "http://www.youtube.com/watch?v=4VMpBW6gYgg", ¬
        "http://www.youtube.com/watch?v=iF08bXUlZ0A", ¬
        "http://www.youtube.com/watch?v=juXmjYZyk5s", ¬
        "http://www.youtube.com/watch?v=6ibx7F0L1Qk", ¬
        "http://www.youtube.com/watch?v=7cvBYLWeSXE", ¬
        "http://www.youtube.com/watch?v=90Yux6-oWzA", ¬
        "http://www.youtube.com/watch?v=XKNzMbx5V-o", ¬
        "http://www.youtube.com/watch?v=B5trGYPjIX0", ¬
        "http://www.youtube.com/watch?v=s6oQLyyyAZg", ¬
        "http://www.youtube.com/watch?v=6g5tb-TTarY", ¬
        "http://www.youtube.com/watch?v=OdJGdHZ7i9c", ¬
        "http://www.youtube.com/watch?v=QwP5dNwON_E", ¬
        "http://www.youtube.com/watch?v=mO7e6A2mrhw", ¬
        "http://www.youtube.com/watch?v=DNzvywTZj8M", ¬
        "http://www.youtube.com/watch?v=hygGyE4LCKI", ¬
        "http://www.youtube.com/watch?v=vF3MuGXPW38", ¬
        "http://www.youtube.com/watch?v=qNDykTxViP4", ¬
        "http://www.youtube.com/watch?v=thLmT2MnI4s", ¬
        "http://www.youtube.com/watch?v=UP5_jr5Xnv4", ¬
        "http://www.youtube.com/watch?v=5_O2pBqIOHg", ¬
        "http://www.youtube.com/watch?v=5r4EpDjSynw", ¬
        "http://www.youtube.com/watch?v=kvp2hCbCiPU", ¬
        "http://www.youtube.com/watch?v=pr7_FWbnMtQ", ¬
        "http://www.youtube.com/watch?v=escVXDiFoeI", ¬
        "http://www.youtube.com/watch?v=stDOBgXJEe4", ¬
        "http://www.youtube.com/watch?v=VlmgPreob8U", ¬
        "http://www.youtube.com/watch?v=U1rf9yoTtOo", ¬
        "http://www.youtube.com/watch?v=Pbchu7te-14", ¬
        "http://www.youtube.com/watch?v=jrwWfpAneEY", ¬
        "http://www.youtube.com/watch?v=XejYQRjFN7Q", ¬
        "http://www.youtube.com/watch?v=bYgV7JiAHUs", ¬
        "http://www.youtube.com/watch?v=f2GfdRFpFT0", ¬
        "http://www.youtube.com/watch?v=Ic5iwH3Yb1A", ¬
        "http://www.youtube.com/watch?v=n_1Pfdk4Rno", ¬
        "http://www.youtube.com/watch?v=dZl7NEEISbo", ¬
        "http://www.youtube.com/watch?v=yP7KGhCNM44", ¬
        "http://www.youtube.com/watch?v=PVusw9DB__o", ¬
        "http://www.youtube.com/watch?v=G_hDn1FWbnk", ¬
        "http://www.youtube.com/watch?v=KGn1HKrWYEI", ¬
        "http://www.youtube.com/watch?v=WR5ogoL_HhQ", ¬
        "http://www.youtube.com/watch?v=pV25beSzqvk", ¬
        "http://www.youtube.com/watch?v=TWV2Is_FsNg", ¬
        "http://www.youtube.com/watch?v=YnwW6Jpq-So", ¬
        "http://www.youtube.com/watch?v=ki0uPxTGPNQ", ¬
        "http://www.youtube.com/watch?v=eFMzABYU-W0", ¬
        "http://www.youtube.com/watch?v=edUW_HDgSiU", ¬
        "http://www.youtube.com/watch?v=ApeCX9Tj6b8", ¬
        "http://www.youtube.com/watch?v=ZcvXsDbxVkw", ¬
        "http://www.youtube.com/watch?v=Xgg3yjWh05U", ¬
        "http://www.youtube.com/watch?v=9Rv87DHbAA4", ¬
        "http://www.youtube.com/watch?v=6g3po8mIlpk", ¬
        "http://www.youtube.com/watch?v=dN-kfYNq48I", ¬
        "http://www.youtube.com/watch?v=gXfPDv6YH7A", ¬
        "http://www.youtube.com/watch?v=fZjTWF53vWA", ¬
        "http://www.youtube.com/watch?v=49rxdpIJXfM", ¬
        "http://www.youtube.com/watch?v=_vFVHbO2Cbo", ¬
        "http://www.youtube.com/watch?v=vwubPqhesqg", ¬
        "http://www.youtube.com/watch?v=8U4mBGQEub8", ¬
        "http://www.youtube.com/watch?v=6Q2lULOeQ3E", ¬
        "http://www.youtube.com/watch?v=PhX7lLBEqIE", ¬
        "http://www.youtube.com/watch?v=bsSooPeYZh8", ¬
        "http://www.youtube.com/watch?v=3QtrewRRSbM", ¬
        "http://www.youtube.com/watch?v=DU5li6mYghw", ¬
        "http://www.youtube.com/watch?v=joc2uyKQ7y0", ¬
        "http://www.youtube.com/watch?v=rpcwtweYqDQ", ¬
        "http://www.youtube.com/watch?v=1f9xplzAgPU"}
    
    set capitulo to random number from 1 to (length of urls)
    #display dialog item capitulo of urls as string
    tell application "Safari"
        make new document at end of documents
        set URL of document 1 to item capitulo of urls
    end tell    
end run

Re: First Message

nice work mot! i'm working a tutorial and hope to post it here soon. will keep it top secret for now, but i think everyone will like it wink

Re: First Message

Hey booyaa I'm really interested in what you come up with! I'm also trying to develop for the mir:ror but it's a working progress. I will let everyone know when th eproject turns into something useful.

Peter Rabbit

Re: First Message

Wow !! i was about to rage against my mir:ror
Now is there a way we can use the mir:ror without violet's obstructive interface ?

Re: First Message

Hi,

sounds great !
Just for my understanding: does that mean that I can use the mir:or without internet connection then ?
I hate the fact that I need to have a internet connection just for a "RFID reader".

Thanks