Jump to content

Adjusting Dialog Box Size


BenK
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...