Humper Posted May 5, 2009 Posted May 5, 2009 Hello, Im making a script for spotify (spotify.com/).This script will:- Creating a gui (if not settings.ini found) and request for login and password settings.- Creating settings.ini- Launch spotify- Login using the settings.ini- Wait until spotify is closed and then remove the cache folder that spotify makesThis is what I currently got:ControlSend("Spotify", "", "SP52ABF01", "^+{RIGHT}") ControlSend("Spotify", "", "SP52ABF01", "{DEL}") ControlSend("Spotify", "", "SP52ABF02", "^+{RIGHT}") ControlSend("Spotify", "", "SP52ABF02", "{DEL}") ControlSend("Spotify", "", "SP52ABF01", "Accountname") ControlSend("Spotify", "", "SP52ABF02", "Password") ControlSend("Spotify", "", "SP52ABF02", "{ENTER}")Okey I got no problem with almost all.I would like to know, what is the code for ROOT in the drive that script is used.Because the script will be in a totaly other place with random numeric code.So I need to do:@root/documents/spotify/settings.ini@root/documents/spotify/spotify.exeI can't place a letter because the drive will recive different letters at different computers.Thanks in advance!Regards,Humper [center][/center]
Bert Posted May 5, 2009 Posted May 5, 2009 Using U3 to do this is a BAD idea. Period. I thought at one time U3 was cool, but was set strait. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Humper Posted May 5, 2009 Author Posted May 5, 2009 Thanks for the suggestion but it still didn't really awnser my question.So now I got 3 questions instead:- Why wouldn't it work to have spotify on a U3 drive?- How else could I have it portable and easy to access, quick and fast?- What is the command for ROOT at the script diraction [center][/center]
Bert Posted May 5, 2009 Posted May 5, 2009 Let me explain in a bit more detail - Using a U3 enabled drive with default means you are using autorun. Autorun is BAD. It opens you up to all sorts of security issues, virus passing, and so forth. Just put the app on your drive, and run the exe after you plug it in by hand. Safer that way. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Bert Posted May 5, 2009 Posted May 5, 2009 Read this thread, and you will get the idea.http://www.autoitscript.com/forum/index.ph...&hl=autorun The Vollatran project My blog: http://www.vollysinterestingshit.com/
Humper Posted May 5, 2009 Author Posted May 5, 2009 Okey I still havn't got any anwser to the original question I asked. That as the only thing I wondered. Offtopic: For the U3 drive I don't use the original crap payload. So please keep it to the topic Thanks! [center][/center]
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