You are here

PAM AutoDetector Helper

4 posts / 0 new
Last post
Jacob Mastel
Offline
Last seen: 4 days 10 hours ago
Developer
Joined: 2007-06-13 19:36
PAM AutoDetector Helper

A while ago John released a detector to see if PAM existed on your flashdrive and if so launch it. Well it doesn't have any way of killing the autorun popup. So after a few months of the annoying window appearing I decided to do something about it. I created a simple AHK script (No seriously way simple) to kill the window that pops up. You can download it here. Put it in a folder somewhere and set it to autorun. Once that's done run it. It will create a settings.ini file. By default the device name is PortableApps. You can edit the ini to the name of your device. Once that's done it'll do it's job. The simple code is here.

;This file will suppress the autorun dialog for your USB flashdrive.
;Released under the GPL license.
;Copyright JacobMastel
#SingleInstance force
#NoTrayIcon

IfNotExist settings.ini
{
	INIWrite, PortableApps, settings.ini, settings, name
}
Loop
{
INIRead, devicename, settings.ini, settings, name
WinWaitActive, AutoPlay , %devicename%
WinClose, AutoPlay , %devicename%
}
chevrolet.racing252
Offline
Last seen: 6 years 9 months ago
Joined: 2007-03-06 13:51
It did include that feature

John's application did include a method of completely bypassing the windows autorun window, but it was not fully automated. All you had to do was hold down the shift key when you plugged your drive into the port. The application that John released was simply a proof-of-concept application created for people that frequently use the same PC with theif flash drives. I use his application frequently on my families PC's to keep from being annoyed by Windows AutoRun. I have not heard any more on the possibility of future releases or any possibilities of this app going official, but I would love to see it eventually do so. I have followed along with most of John's work even before PortableApps was officially created and I am really amazed with the work that he has done and I don't know how he manages to find the time to make all the launchers and portable apps that he does, but I know that if he feels that there is a sufficient need for a feature or application, in time John will do his best to release such a feature or app.

The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-11-17 15:31
"John's application did

"John's application did include a method of completely bypassing the windows autorun window, but it was not fully automated. All you had to do was hold down the shift key when you plugged your drive into the port."

That's a Windows feature, not anything John did.

Signature automatically removed for being too awesome.

Jacob Mastel
Offline
Last seen: 4 days 10 hours ago
Developer
Joined: 2007-06-13 19:36
Well your kinda right...

John's app is great and I use it but I found that I often didn't get to shift key fast enough or I just forgot about it entirely. The shift thing however is not of John's app that just something that comes with windows. This app is call "PAM AutoDetector Helper". It still runs with John's app but instead of making you hold the shift key it auto kills the window for you. The app itself is good it's just not quite there yet.

As far as future progress I asked John on IRC a while ago and he said that his autodetector and the updator will be released with the next menu. Again his app is good this is just supposed to kill the window which he hasn't gotten around to it yet. He said he will just not yet. So instead of whinning to him and asking is it done yet I just decided to make a helper to make his app work for me.

Release Team Member

Log in or register to post comments