How can I prepopulate an AutoHotkey InputBox prompt?
        Posted  
        
            by 
                Ryan
            
        on Super User
        
        See other posts from Super User
        
            or by Ryan
        
        
        
        Published on 2012-09-25T20:40:44Z
        Indexed on 
            2012/09/25
            21:39 UTC
        
        
        Read the original article
        Hit count: 367
        
autohotkey
I'm running AutoHotkey 1.0.48.05 on Windows 7.
I have this script:
::sw::
    InputBox, providedString, SVN Switch, Switch the current directory to where?
    if NOT ErrorLevel
    {
        Send svn switch %providedString%{Enter}
    }
Return
So I if type sw{Enter} in PowerShell (or anywhere), I'll be prompted by a text box.  Currently that text box is blank.
How can I prepopulate it with a particular string?
© Super User or respective owner