shamshasan Posted April 21, 2005 Share Posted April 21, 2005 Hey folks, I'm trying to write a script that would load up, after logon, my preferred sets of programs and screens (prefer to be able to set screen resolutions as well). Any suggestions? I was thinking of just writing out a batch file (rookie? ), although i know that i MOST probably cannot resize the loaded screens through there (after struggling to find a solution i figured that's a compromise i can accept). So something like:@ECHO OFFCD\CLSECHO.ECHO -=-=-=[ RT ++ ]=-=-=-START firefox.exe "someurl"ECHO.ECHO -=-=-=[ Outlook:: ]=-=-=-START outlook.exe /recycleECHO.ECHO -=-=-=[ MBX Project ]=-=-=-ECHO Starting Firefox:: cds ...START firefox.exe "some other url"ECHO.ECHO Starting Firefox:: smt...START firefox.exe "another set of urls"ECHO.ECHO -=-=-=[ Swiss Project ]=-=-=-ECHO Starting Excel...START excel.exe "..xcl.xls"ECHO.ECHO Starting Word:: Proposal...START winword.exe "...\some.doc"ECHO.ECHO Starting Firefox:: ...START firefox.exe "related urls"ECHO.ECHO Starting Notepad:: Questions/Thoughts...START notepad.exe "C:\Documents and Settings\s\My Documents\~Finland\question.txt"ECHO.ECHO -=-=-=[ Rest/Misc. ]=-=-=-START msnmsgr.exeSTART C:\Progra~1\Winamp\winamp.exeSTART notepad.exe "C:\Documents and Settings\s\Desktop\things to do.txt"ECHO Done!EXITProblem with that is that it doesn't load things up in that order. (don't want to use the pause function. Sleep seems sort of inefficient Is this even the right way of going about doing this? Should i instead attempt it through VB script? Also does anyone know how to open fav urls in one folder in tabs through command prompt (XP) for Firefox? Thanks!Shams Link to comment Share on other sites More sharing options...
Marthax Posted April 21, 2005 Share Posted April 21, 2005 I would recommend AutoIT for that as it can accomplish almost anything in Windows as long as you know how to. I managed to create a script that asks for you input and then opens up control panel and creates a account with the name that you entered earlier. Click hereAre you familiar with AutoIT? Link to comment Share on other sites More sharing options...
shamshasan Posted April 21, 2005 Author Share Posted April 21, 2005 I would recommend AutoIT for that as it can accomplish almost anything in Windows as long as you know how to. I managed to create a script that asks for you input and then opens up control panel and creates a account with the name that you entered earlier. Click hereAre you familiar with AutoIT?<{POST_SNAPBACK}>creates an account? i don't want to do that... just deal with the current account.No i'm not familliar with AutoIT. Any links? tutorials? briefs? Thanks! Link to comment Share on other sites More sharing options...
Marthax Posted April 21, 2005 Share Posted April 21, 2005 Yeah, I understand that you don't wanna do that. It was just an example. AutoIT can do many things and I'm certain that it can help youhttp://www.autoitscript.com/autoit3/It takes a while to learn everything but, it's not hard at all. Just start out with the examples that it already contains. Good luck. Just post if you need more help.Hope this helps Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now