VanDyke Software Forums

VanDyke Software Forums (
-   Scripting (
-   -   Custom Dialog (

krillik 05-22-2013 07:47 AM

Custom Dialog
Hi, I needed to know if there way any way to make a custom IE dialog object top open in the center of the SecureCRT window. I have a custom dialog working perfectly except for it opens in the middle of the screen which is an issue since our workers have multiple monitors. Any help? :confused:

bgagnon 05-22-2013 08:22 AM

Hi krillik,

Please see this thread where that was the topic of discussion between Mike D. and dluther.

Thanks Mike and dluther! :)

krillik 05-22-2013 08:31 AM

I saw that post before but didn't really help me since I am a newbie :confused::(

bgagnon 05-22-2013 08:42 AM

Hi krillik,

I don't really have any context to assist you at this point. :)

Where did you get the custom dialog script?

Is it an example we provided in the forums?

Could you post it?

Or, if it contains sensitive data, send a copy to and reference "Attn Brenda - Forum Thread #11036" in the subject line.

krillik 05-22-2013 09:29 AM

1 Attachment(s)
Of course! Here is the script I made, I used some code samples from here and there, but most of it is my own.

I'll just post the whole script here, rename .txt to .vbs

bgagnon 05-22-2013 11:16 AM

Hi krillik,

I have had an opportunity to research a bit and this is not currently possible.

I have added this thread to a feature request in our product enhancement database to add a scripting method or property to get current window position. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct e-mail notification, contact and include "Feature Request - Forum Thread #11036" in the subject line.

What you could do is choose to set left/top for SecureCRT at a specific coordinate and then offset the IE window a specific distance from that known coordinate.

All times are GMT -6. The time now is 07:45 PM.