BenK Posted March 30, 2011 Share 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 Link to comment Share on other sites More sharing options...
dufran3 Posted March 30, 2011 Share 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 Link to comment Share on other sites More sharing options...
BenK Posted March 30, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
dufran3 Posted March 30, 2011 Share Posted March 30, 2011 No problem, Pay It Forward! Link to comment Share on other sites More sharing options...
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