Jump to content
Sign in to follow this  
BenK

Adjusting Dialog Box Size

Recommended Posts

BenK

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

Share this post


Link to post
Share on other sites
dufran3

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

Share this post


Link to post
Share on other sites
BenK

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

Share this post


Link to post
Share on other sites
dufran3

No problem, Pay It Forward!

Share this post


Link to post
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
Sign in to follow this  

×