surreal Posted October 3, 2007 Share Posted October 3, 2007 im very new to auto it, so thank you for your help in the matter... i have searched the forum and i have not been able to find anything, im not even sure if this can be done with autoit, but i would think so. if someone could help get me starting on this or point me to an already created script that i can edit that would be great. what i would like to do it have a gui pop up with fields that a tech can file in... username: location: phone number: favorite pet: once the information has been inputed into the correct fields, the tech would then click on a summit button, and the following would need to happen. i would need this information to be exported to a text file or a *.mif file. that way sms 2003 will pick this information up. if you need any additional information let me know, thanks again in advance for your help... d@ve Link to comment Share on other sites More sharing options...
martin Posted October 3, 2007 Share Posted October 3, 2007 im very new to auto it, so thank you for your help in the matter...i have searched the forum and i have not been able to find anything, im not even sure if this can be done with autoit, but i would think so. if someone could help get me starting on this or point me to an already created script that i can edit that would be great.what i would like to do it have a gui pop up with fields that a tech can file in...username:location:phone number:favorite pet:once the information has been inputed into the correct fields, the tech would then click on a summit button, and the following would need to happen.i would need this information to be exported to a text file or a *.mif file. that way sms 2003 will pick this information up. if you need any additional information let me know, thanks again in advance for your help...d@veWhat have you tried so far? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
surreal Posted October 3, 2007 Author Share Posted October 3, 2007 im just starting out, looking for some code to start this with... Link to comment Share on other sites More sharing options...
surreal Posted October 3, 2007 Author Share Posted October 3, 2007 im starting with something like this, however it is not working... autoit script CODEDo;loop until the user enters letters only or clicks cancel $name = Inputbox ( "Name", "What's your name?", "", " M" ) If (Not @error) AND (NOT StringIsAlpha($name))Then MsgBox(0,"Error","You must enter letters only") EndIf If @error Then Exit Until StringIsAlpha($name) $location = Inputbox ( "Name", "What's your Location?", "", " M" ) If (Not @error) AND (NOT StringIsAlpha($location))Then MsgBox(0,"Error","You must enter letters only") EndIf If @error Then Exit Until StringIsAlpha($location) IniWrite(@ScriptDir & "\asset.mif","%name%",$name) IniWrite(@ScriptDir & "\asset.mif","%location%",$location) MsgBox (0, "Stored", "Your info has been stored.", 15 ) *.mif file CODEStart Component Name = "System Information" Start Group Name = "WhiteWave Asset" ID = 1 Class = "WhiteWave_Asset" Key = 1 Start Attribute Name = "Username" ID = 1 Type = String(10) Value = "%name%" End Attribute Start Attribute Name = "Location" ID = 1 Type = String(10) Value = "%location%" End Attribute End Group End Component thanks again for your help d@ve 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