ahk cmd/COMSPEC open folder new tab

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
rur54
Posts: 38
Joined: 12 Feb 2015 19:52

ahk cmd/COMSPEC open folder new tab

Postby rur54 » 14 Jun 2018 19:44

hi, from ahk script I open folder path with xyplorer.
Problem is xyplorer will load folder path in a first active tab.

now, what do i need in cmd line so when xyplorer launches, folder path is loaded in new tab?

cheers.

highend
Posts: 7448
Joined: 06 Feb 2011 00:33

Re: ahk cmd/COMSPEC open folder new tab

Postby highend » 14 Jun 2018 20:12

If in doubt, use a /script + /flg=2 || /feed parameter

Code: Select all

/feed="::tab('new', '<the path from within ahk>');"
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

jupe
Posts: 809
Joined: 20 Oct 2017 21:14

Re: ahk cmd/COMSPEC open folder new tab

Postby jupe » 15 Jun 2018 00:46

If you always want XY to open a new tab when opened from the command line there is also this setting:

Configuration | General | Startup & Exit | Open command line start path in new tab

rur54
Posts: 38
Joined: 12 Feb 2015 19:52

Re: ahk cmd/COMSPEC open folder new tab

Postby rur54 » 15 Jun 2018 21:24

Thank you both.

@jupe
I think this will work out the best
@highend
Thank you, I will keep this around for next time I need it :)


Return to “Tips & Tricks, Questions & Answers”



Who is online

Users browsing this forum: No registered users and 2 guests