KeyRun v1.0

By John, on 27-04-2007 00:00

Views : 497

Favoured : 36

Published in : Special Interest, Tech Stuff

USBSo today I found a rockin blog... Daily Cup Of Tech. This Tim guy rocks... add his blog you your RSS reader... I did. Anyway, his posts on USB drive autorun tools inspired me... read his posts Here and Here

I made a tool based off his code that has a number of cool features... all configured from a single inf file... and using a text file for the message to make sure mac and/or linux users could still get the message...

Heres the scenario... you drop your precious USB drive somewhere and some other dude finds it... he has no idea who's it is or anything... youre never gonna see it again right? welll lets hope thats not the case...

Lets hope the guy is foolish enough to stick a foreign USB drive in his pc and let it run (well most people are so foolish) ... he will see a nice little splash screen and then get a message from you asking him to contact you and return the drive :)

you can even set it to open up his email client and start to compose the email for him.

the thing can be configured to just show the splash... just the message... etc...
it could even just show the splash and run some usb based software of your choosing and just ignor the whole "I lost my drive" scenario... Hell... let it show you a porno pic and run your cryptography software... whatever you want...

click HERE to download v1.0
Everything you need is included... even the source code if ya wanna tweak it and recompile it... etc...

Read on for the info file and whatnot:

This is just a copy paste from the readme file included in the zip:

Hello... heres how to configure your USB autorun to do what you want...

First the features:

  • 1: Splash Screen - If you make a splash screen and add the size and filename to your ini file, it will show for the amount of time you set in the ini file.
  • 2: PopUp Message - If you make a file to hold a PopUp Message and name it in the ini file, that message will pop up with an "OK" Button
  • 3: AutoEmail PopUp - If you turn it on, and enter an email address it will open the persons email client and auto fill your email address and subject so they can let you know they found your drive.
  • 4: AutoRun another exe file - If you tell it to, the program will run an exe file of your chosing from the root of the USB drive

All features run in the order they are listed...
I am not responsible for any potential mis-use of this software... just sharing it so people can recover lost devices whenever possible... or just so the can have cool splash screens etc. I also dont guarantee any part of this app will function on any computer or that it will not damage your computer, your car, your front door... etc... Im pretty sure it wont be mean to your girlfriend though... it seems to like girls quite a bit.

the source file is included so you can tweak it or add to it as you see fit. my exe was compiled with AutoIt3 (http://www.autoitscript.com/)

it only works on PCs (XP with SP2 or later i think cuz of the autorun thing)

--------------------------------- So heres how it works -------------------------------------------------

Your ini file is located in the "KeyRunFiles" folder.
This is what your ini file looks like by default:

[General]
Title=My USB Key
ShowTitle=False
ImageFile=splash.jpg
ImageWidth=187
ImageHeight=83
ShowTime=4
FileName=PleaseReadMe!.txt
MsgTitle=Help! I'm Lost!
AutoEmail=True
Email=IFoundYourDrive@yourdomain.com
EmailSubject=I Found Your USB Key!
RunAfterApp=appname.exe
Feature 1 uses the following lines:
Title=My USB Key # This is the title of your splash window
ShowTitle=False # "True" to show the title "False" to show no title. this is case sensitive
ImageFile=splash.jpg # The name of your image (put it in the "KeyRunFiles" folder) if you leave this blank and dont have a file there it will disable the splas window. this is case sensitive
ImageWidth=187 # The width (in pixels) of your image
ImageHeight=83 # The height (in pixels) of your image
ShowTime=4 # The number of seconds to show the splash for from 1 - 9 seconds

Feature 2 uses the following lines:
FileName=PleaseReadMe!.txt # The File containing your message. Goes in the root of your device (same place as the KeyRun.exe) this is case sensitive
MsgTitle=Help! I'm Lost! # The title of the popup message window

Feature 3 uses the following lines:
AutoEmail=True # "True" to send an email "False" not to. this is case sensitive
Email=IFoundYourDrive@yourdomain.com # the email address you want to send to. if this is blank no email will be sent even if you set "AutoEmail" to "True"
EmailSubject=I Found Your USB Key! # The subject of the email

Feature 4 uses the following line:
RunAfterApp=appname.exe # This will run an exe file from the root of the device... could be another autoit program or a usb file manager or whatever you like... if the file is not present the script will just end with no errors (hopefully)

OK thats about it...

 

Visit http://www.august8th.com for more info if it is ever forthcoming. Ill do my best to help people and answer questions.
sorry if this file is hard to understand... feel free to reformat it and send it to someone if you like so you can show off your text formatting skillz.

Special thanks to Tim Fehlman of dailycupoftech.com for inspiring me to make this and for writing a lot of the splash and popup code... I love your work man... we should do lunch... have your people call mine... ciao ;)

-JDL

User comments Favoured Send to friend Read more...
PDF Print
 

Login

Group 1 Tab

RokSlide Powered

RokSlideHarnessing the power and functionality of the popular RokSlide module, Dimensions offers the ability to present your modules in sliding tabs. Publish multiple modules into to a single tab module position as well as customize the titles that appear in each tab.
Learn more...

Flexible Content

ContentOrganize large amounts of information in easy to navigate tabbed panes and reduce the clutter and space needed to display your content. By default, User 7-11 module positions appear in the bottom tabbed module pane. You can also add more module positions if needed. Learn more...

Group 2 Tab

Easy Color Customisation

ColorsAll of Dimensions accent colours are CSS based, allowing you to change the colour scheme with just a few quick modifications to the CSS. Use any background image you want, and the top and bottom fades will automatically be applied for a seamless look.
Learn more...

Time of Day Style Changing

ColorsStyles 1 and 2 have four different time of day stylesets which dynamically change throughout the day based on your users' time. Customize the existing styles, or create your own automatically changing background and color mods.
Learn more...

Group 3 Tab

The Perfect Background Image

BackgroundsWith Dimensions, you can use any background image you desire to give your site the character and style you want. Choose any image, set it as your background, and Dimensions will automatically apply top and bottom fades to your background image for a more seamless integration.

After you have set your background image, pick matching accent and text colors for your template to create the perfect match of color and style for your site. Learn more...

Group 4 Tab

Mootools Integration

Dimensions utilises the javascript library known as mootools to power special effects such as the RokMooMenu, RokSlide integration, and RokZoom features. Dimensions uses the latest development build of the mootools javascript library, but is also now compatible with the earlier 1.11 version of mootools as well for better integration and backwards compatibility.

Dimensions built in mootools javascript and functionality can also be disabled, should you need to use third party extensions which utilise other javascript libraries. Visit the RocketTheme Dimensions forum for more information. You can find out more information about Mootools on their website, located at http://mootools.net.