Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Autologin to SL from Windows (via batch file)

Zonax Delorean
Registered User
Join date: 5 Jun 2004
Posts: 767
06-12-2005 10:35
Hi!

Probably nothing new, because the technical details are already in the Wiki, but let me write it in human-readable form :-)

So, let's suppose you've had enough of always 'OK'-ing your login after waiting for the SL login screen to come up then wait more. You can actually use command line parameters to ease logins by creating a batch file under windows, and you'll only have to wait once. (For the lazy ppl. like me :-)

1. create an "sllogin.bat" text file under "c:\Program Files\SecondLife" (provided SL is here)
From: someone
@echo off
cd "C:\Program Files\SecondLife"
SecondLife.exe -login Zonax Delorean myPasswordHere

(Of course fill it with your own username and password.)

2. you can make a shortcut of the batch file on the desktop by ALT+dragging it from the folder to the desktop

3. Just double click sllogin.bat on the desktop, and you're in!

NOTES:
* Remember, the file has to be ".bat" and NOT ".bat.txt"
* If anyone has access to your machine/desktop, this is NOT SECURE, so don't even try!!!
* When SL would want to download a new version, this will make it go silly - and you have to cancel it, and then log in the 'old way' so it gets the update
* If there are any Windows Gurus around, I'm open to all tips on improving this :)
Baba Yamamoto
baba@slinked.net
Join date: 26 May 2003
Posts: 1,024
06-12-2005 10:36
Your password is myPasswordHere too?
_____________________
Open Metaverse Foundation - http://www.openmetaverse.org

Meerkat viewer - http://meerkatviewer.org
Ryen Jade
This is a takeover!
Join date: 21 Jun 2003
Posts: 1,329
06-12-2005 11:08
From: Baba Yamamoto
Your password is myPasswordHere too?


Liar, I tried it too. I already had "Baba Yamamoto, gay porn star!" all planned out.
_____________________
From: Korg Stygian
Between you, Ryen the twerp and Ardith, there's little to change my opinion here.. rather you have reinforced it each in your own ways


IM A TWERP, IM A TWERP! :D

Whats a twerp? :confused:
Baba Yamamoto
baba@slinked.net
Join date: 26 May 2003
Posts: 1,024
06-12-2005 11:12
From: Ryen Jade
Liar, I tried it too. I already had "Baba Yamamoto, gay porn star!" all planned out.



Apparently you've not seen me recently.. You probably wouldn't need to change a thing!
_____________________
Open Metaverse Foundation - http://www.openmetaverse.org

Meerkat viewer - http://meerkatviewer.org
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
06-12-2005 11:46
Bah, batch files are so MSDOS... put that in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] ;)