BenK Posted March 30, 2011 Posted March 30, 2011 Good Afternoon - I just "wrote" my first script with this software. Seemingly, it works just like I want it to. The only issue is that the initial dialogue box (once run) is too small and must be manually expanded - not maximized, just a little more vertical sizing. Below is my script. How do I fix this? Thanks! $Computer = InputBox("RemoteCMD","Please Enter NPC Hostname to Connect to...","","",100,10) If @Error = 1 Then Exit Endif Run("rc.exe 1 "&$Computer&"") Exit
dufran3 Posted March 30, 2011 Posted March 30, 2011 Like this? $Computer = InputBox("RemoteCMD","Please Enter NPC Hostname to Connect to...","","",300,200) If @Error = 1 Then Exit Endif Run("rc.exe 1 "&$Computer&"") Exit
BenK Posted March 30, 2011 Author Posted March 30, 2011 Perfect - Thanks! Like this? $Computer = InputBox("RemoteCMD","Please Enter NPC Hostname to Connect to...","","",300,200) If @Error = 1 Then Exit Endif Run("rc.exe 1 "&$Computer&"") Exit
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now