AutoDetector Almost Alpha

Submitted by Jacob Mastel on July 22, 2008 - 5:26pm

Well I decided to do an unofficial AutoDetector while we await on the wheels of John. Currently it's not even working. I'm hoping somebody more experienced with AutoHotKey might be able to point out my flaws? Thanks for any help you may be able to give. Just remember I'm not that good with AHK.

Loop
{
If Process, Exist, Portableapps.exe
{
break
}
else
{
DriveGet, Path, List, REMOVABLE
Run %Path%:\StartPortableApps.exe
}
} 

( categories: )

Why

do we need an other one?
Johns version is working without flaws afaikt...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

?

His doesn't work continuously. You click it, it checks all the drives, if StartPortableApps.exe is found it run it, then ends, if it doesn't find anything it ends. This will run I plan from startup and will continue looping until it actually runs the program. Where John's only checks the drives once then owell if it's not there this will keep checking until it is there.

Jacobm001

Startup

My second one can be set to run on Windows startup. It checks on any drive insertion for StartPortableApps.exe and runs it. And then it sits in memory waiting for another insertion. There's no need to keep checking for it after insertion.

Live with purpose.

Oh,

Sorry I didn't realize that. I thought it still lacked the looping ability. Sorry John.

Jacobm001

No

I am talking about this one and this one sits around and checks every drive you plug in. I put it in my autostart folder and it works perfectly.

EDIT: John was faster :)

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

After

I found out to drop it in the start up folder, mine works perfectly. Before I disliked it because I had to click it every time I turned on my computer. It's great running from the start up folder. This should be the final product as it is. I honestly don't know how it could get any better.

In a mother's scolding voice: Get that proprietary software out of your computer!
You don't know where it's been!!!!

Nag Screen

John wants to find a way to suppress the nag screen so you don't have to deal with it.

Jacobm001

What nag screen?

s

Somebody give me a portable video editor... Please!
If ya wanna see my email, go to digitxpsemail.tk (at least for now!)
My dad saved over $850 a month, by switching to Geico! :P

I wondered that too

but now I think he means the fact that the standard autorun dialogue is still popping up.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Yeah that's it.

I call it the nag screen cause it just sits there until you do something unless you tell it to do what ever autorun.inf says. Which by the way is a bad idea if a virus gets a hold of your drive then it will do what ever it wants.

Jacobm001

If

by nag screen, you are refering to the GUI screen, that's no problem. I see it as confirmation that it's recognized my device and it's working to open my drive. If
my drive info doesn't appear, I can assume that I have plugged in the wrong flash drive. I have two, one with PortableApps, one without and they are identical drives.

In a mother's scolding voice: Get that proprietary software out of your computer!
You don't know where it's been!!!!