Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2016, 07:28 PM
Dalhyun Dalhyun is offline
Registered User
 
Join Date: Oct 2016
Posts: 26
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.
Reply With Quote
  #2  
Old 11-16-2016, 09:21 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,021
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 11-16-2016, 09:11 PM
Dalhyun Dalhyun is offline
Registered User
 
Join Date: Oct 2016
Posts: 26
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.)
Reply With Quote
  #4  
Old 11-17-2016, 02:19 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,021
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 11-17-2016, 06:14 PM
Dalhyun Dalhyun is offline
Registered User
 
Join Date: Oct 2016
Posts: 26
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
Reply With Quote
  #6  
Old 11-18-2016, 10:41 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,021
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #7  
Old 11-21-2016, 11:43 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,021
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #8  
Old 12-05-2016, 09:51 AM
Casey Casey is offline
Registered User
 
Join Date: Oct 2011
Posts: 114
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)
Attached Files
File Type: txt SortTiles.vbs.txt (6.2 KB, 150 views)

Last edited by Casey; 12-05-2016 at 06:59 PM.
Reply With Quote
  #9  
Old 12-07-2016, 06:29 PM
Dalhyun Dalhyun is offline
Registered User
 
Join Date: Oct 2016
Posts: 26
thanks

that works perfectlay.
thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:38 AM.