Jump to content

collecting asset info?


Recommended Posts

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

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

What 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

im starting with something like this, however it is not working...

autoit script

CODE
Do;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

CODE
Start 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...