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
Barcode Scaner + exit result in a notepad
Started by
DarkAnel
, May 24 2012 10:27 PM
2 replies to this topic
#1
Posted 24 May 2012 - 10:27 PM
#2
Posted 25 May 2012 - 06:22 AM
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.
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.
GeorgeQuestion 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!"
#3
Posted 25 May 2012 - 09:53 PM
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
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



