DarkAnel Posted May 24, 2012 Share Posted May 24, 2012 Hi everybody i have to find a solution to save time. I got barcode on 10 BackUp TAPE and i need to inventory all of them. The tape can be at 3 place and i want to look on my notepad to find where is my BackUpTape. First i want to take my usb scaner and take a $barcode of it after i want to select the place where i have put the tape $place1, $place2, $place3 and when i push a enter button i want to send it in a notepad $barcode && $place? && $time someone have a simple idea? thank you Link to comment Share on other sites More sharing options...
GEOSoft Posted May 25, 2012 Share Posted May 25, 2012 I don't know how you will get the barcode into AutoIt but after you do that the rest is easy Just create a GUI with Combo control containing $Place1, $Place2, $Place3. Set a Hotkey for {Enter} to call a function Your function will need to create a string of the barcode the selected Combo item (GUICtrlRead) and @Hour@Min@MDay@Mon@Year Format the date/time anyway you want. Then use FileWriteLine to write it to a text file. Personally (since you only have 10) I would use an Ini file format with the following. IniWrite($sIni, "Storage Data", $Barcode, $Place? & " " & @Hour & " :" & @Min & " " & @MDay & "/" & @Mon & "/" & @Year) If you had more items it would be worth your while to use a database instead of an ini file. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
DarkAnel Posted May 25, 2012 Author Share Posted May 25, 2012 thank you for the idea i have done a .bat and its working very well i will post the code here soon but i really want to create a GUI this week for this script Link to comment Share on other sites More sharing options...
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