Jump to content

Search the Community

Showing results for tags 'newbie help'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. OK, not only am I a newbie, but I'm not a programmer. My programming skils date back to the 1970's (the last programming class I took was Carter was president) and used punch cards. I've picked-up things here and there, but there are a lot of concepts I just don't understand. Anyway, I've written a program that will interact with a canned MRP system to enter, retrieve, and maniplate part numbers, manufacturing run times, etc... I now would like to make a GUI for it so that my other Engineers can easily use it. I don't understand how to make it run, however. From the examples, I have written the following code #include <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $widthCell, $oVANO, $btn, $msg Opt("GUICoordMode", 1) GUICreate("MY GUI", 320, 320, @DesktopWidth / 2 - 160, @DesktopHeight / 2 - 145, -1) ; will create a dialog box that when displayed is centered GUISetHelp("notepad") ; will run notepad if F1 is typed $widthCell = 170 GUICtrlCreateLabel("Enter Variant Number", 10, 35, $widthCell) ; first cell 70 width $oVANO = GUICtrlCreateInput("Number goes here", 10, 55, 170, 20) $btn = GUICtrlCreateButton("Close", 10,280) GUISetState() ; Run the GUI until the dialog is closed Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE EndFunc ;==>Example What I can't figure out is how 1) when I enter a part number in the input box, have it run the program and, 2) when I click the "Close" button, have it stop the program I've read about GUI MessageLoop Mode and GUI OnEvent Mode, and I can't even determine which would be best. I have no preference, but I will want to add a drop-down box, additional input boxes, and some checkboxes to the GUI window, all of which will depend on the nature of the part number. I've been stuck on this for two days, now, and I am just about ready to give-up and just use input boxes and message boxes to take care of this, but it sure would be nice to make it look a bit more like a "real program". Thanks, rp
×
×
  • Create New...