Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

InputBox() - Yet another wrapper for the InputBox command


  • Please log in to reply
No replies to this topic
MasterFocus
  • Moderators
  • 4323 posts
  • Last active: Jan 28 2016 01:38 AM
  • Joined: 08 Apr 2009
####################################################################################
This old forum will be archived ( see https://autohotkey.c...s-decommission/ ).
For my up-to-date code and information, check the following links:
http://git.io/master | https://github.com/MasterFocus | http://masterfocus.ahk4.net/ | https://sites.google...masterfocusahk/
####################################################################################


Function:
    InputBox()

Description:
    A minimalistic wrapper for the InputBox command, featuring a better "ErrorLevel" (returned value).

Additional info:
    • The function currently does not allow negative X/Y values
    • Related topics:
        - InputBox() by berban
        - Custom Input/Password Box by AmourSpirit
        - Request: How can I make input box stay on top?

Changelog:
    > 03/september/2012
        • Removed unnecessary comments
        • Improved the returned expression
    > 06/july/2010
        • Initial version


This code will eventually be ported to GitHub. Make sure you check there first.
I will leave the current version of the code here, just for reference.



Spoiler

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Antonio França -- git.io -- github.com -- ahk4.net -- sites.google.com -- ahkscript.org

Member of the AHK community since 08/Apr/2009. Moderator since mid-2012.