Jump to content

Search the Community

Showing results for tags 'Numbers are input by user ...'.



More search options

  • 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

Categories

  • Forum
  • AutoIt

Calendars

  • Community Calendar

Found 1 result

  1. If I have this in my GUI and numbers are asked for: $Input1 = GUICtrlCreateInput("", 15, 40, 30, 25) ; left, top, width, height which is then output like this: ClipPut("Pg." & GUICtrlRead($Input1) & "- " & $StandardDateSHORT & ".pdf") is there an easy way to ensure if the input is less than 100, i.e., 1-99, that a zero gets added to 1-9 and two zeros before 10-99 automatically without the user worrying about any of that? I ask because sometimes code to do this is easy - i.e., in my MP3 tag app, I just have to choose the right syntax for this type of thing to happen automatically, zero padding or soemthing I think it's called. Just wondering if there was something easy enough to build right into my AutoIt GUI to ensure that any number comes out in the right format without bother to the user. No worries if not, just would like to make this GUI truly automated in its output. Thank you!
×