Jump to content
Sign in to follow this  
Humper

Spotify using U3 flashdrive

Recommended Posts

Humper

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 makes

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

I can't place a letter because the drive will recive different letters at different computers.

Thanks in advance!

Regards,

Humper


[center][/center]

Share this post


Link to post
Share on other sites
Humper

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]

Share this post


Link to post
Share on other sites
Bert

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.

Share this post


Link to post
Share on other sites
Humper

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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×