VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   tab → tile winodw (https://forums.vandyke.com/showthread.php?t=12540)

Dalhyun 11-15-2016 06:28 PM

tab → tile winodw
 
how can i arrange multiple windows in order(connection order or session name order).

when i press window-tile vertically or tile horizontally, windows are not in order.

bgagnon 11-16-2016 08:21 AM

Hi Dalhyun,

See this post for an example script that can help order the tiles.

I've also added this thread to a feature request in our product enhancement database to add options for sorting tiles. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct e-mail notification, contact support@vandyke.com and include "Feature Request - Forum Thread #12540" in the subject line.

Dalhyun 11-16-2016 08:11 PM

vb script & win key + →/←
 
after execute vb script, window size and position is changed.

so i press [windows key + →] to arrange window.

but after that window order is changed again.

can u change vb script??

(window position & size shouldn't be changed.)

bgagnon 11-17-2016 01:19 PM

Hi Dalhyun,

I see nothing in the script that would resize or reposition the window and I cannot replicate your results. Please provide more detail regarding the steps to replicate.

Dalhyun 11-17-2016 05:14 PM

Step to replicate
 
1. connect multiple session at one time.

2. change window mode(tabs ↔ Tile Vertically)
you can see ordering is different between two window mode.

3. In the Tile vertically mode, execute vb script which you gave me.
then, ordering is same between two window mode.

4. after that, press [windows key] + [arrow key(→ or ←)]

5. you can see securecrt main window goes to left or right side in the screen.
but sub windows is not in order.

6. execute vb script again.
then, securecrt main window goes back to older position and size.

==========================
securecrt version : Version 8.1.0 (build 1232)
OS : Windows 7 32bit

bgagnon 11-18-2016 09:41 AM

Hi Dalhyun,

Thanks, I could replicate the issue with those steps. :)

I am not sure this can be addressed in the script, but I will look into it. I probably won't be able to post a follow-up until next week.

bgagnon 11-21-2016 10:43 AM

Hi Dalhyun,

I have added this thread to a feature request in our product enhancement database for an option to set window size and position from a script (scripting API). Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include "Feature Request - Forum Thread #12540" in the subject line or use this form from the support page of our website.

Casey 12-05-2016 08:51 AM

1 Attachment(s)
Please let me know if the below script works for you.

You set the sort method my modifying line 11 to read either:

nSortMethod = SORT_BY_NAME
or
nSortMethod = SORT_BY_CONNECTION

The SecureCRT guys, Todd and Jake, had a huge hand in making this script work (lots of emails back and forth)

Dalhyun 12-07-2016 05:29 PM

thanks
 
that works perfectlay.
thanks.

BY4ever 06-04-2020 01:37 AM

Tile sort order
 
Thank you for nice script.
Is there any way sort the tile from left to right?
If I use this script and sort by name it's going from top to bottom.

One more question, I'm using in Windows 10. I don't think readfromRegistry is not working to find Global.ini location.

Thank you.


All times are GMT -6. The time now is 01:10 AM.