Opening "Go to" in new tab automatically?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Opening "Go to" in new tab automatically?

Post by kartal »

Hi
I am wondering if it is possible to open a new tab everytime I use "go to" ?


thanks

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Opening "Go to" in new tab automatically?

Post by serendipity »

Welcome to XYplorer forums,
You mean goto from go menu? if so no. But if like you can assign a keyboard shortcut for this. If you want one of us can guide you through this procedure.If you want to do it yourself read about XY Scripting and do what you like.

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Opening "Go to" in new tab automatically?

Post by kartal »

Just in case, let me articulate little better. I just want to " go to" any location without modifying current tab. I was hoping that when I fire "go to" the result would open in a new tab.

Achieving it through another shortcut is fine but I have no experience with xyplorer scripting.

thanks
Last edited by kartal on 14 Aug 2008 19:00, edited 1 time in total.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Opening "Go to" in new tab automatically?

Post by j_c_hallgren »

kartal wrote:I just want to " go to" any location without opening a new tab and running invoking "goto". So that I do not change current tabs location. I was hoping that when I fire "go to" the result would open in a new tab.
:? I'm a bit confused by this...the first sentence seems to say you don't want to open a new tab but last sentence says the opposite.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Opening "Go to" in new tab automatically?

Post by kartal »

I am so sorry, you are right. Bad typo there.

Right version

"I just want to " go to" any location without modifying current tab. I was hoping that when I fire "go to" the result would open in a new tab."



j_c_hallgren wrote:
kartal wrote:I just want to " go to" any location without opening a new tab and running invoking "goto". So that I do not change current tabs location. I was hoping that when I fire "go to" the result would open in a new tab.
:? I'm a bit confused by this...the first sentence seems to say you don't want to open a new tab but last sentence says the opposite.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Opening "Go to" in new tab automatically?

Post by serendipity »

I am also confused. This is how "Go to..." (from go menu) works after you enter a location in the text field:
1) New tab is always opened if all your current tabs are locked.
2) Current tab or default tab is reused.

So after you enter a path in "Go to...", what do you want to do, open new tab or reuse old tab?

More about tabs here

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Opening "Go to" in new tab automatically?

Post by kartal »

I just want the result to be shown in new tab regardless of current tab`s state (locked, not locked or default)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Opening "Go to" in new tab automatically?

Post by jacky »

Well, the thing is that the Go to feature supports a lot more than just locations, but also VF, Name Search, URL, etc

But, if you use this script instead of the Go to feature, then a new tab will be opened each time. Of course, if you typed in something like an URL or a script, that will be pointless, obviously, but for locations it'll work as expected I think. Note however that you won't have any MRU here like you do on Go to, also.

Code: Select all

input $dest, "Enter destination";
  // *dreams for commands to opentab & closetab*
  #340;
  goto $dest;
Since you're new, in case you don't know how to use this script here's what you need to do :
- menu User|Manage Commands
- Click on "Run Script", then button "New"
- On "Caption" put whatever your want, e.g. "Go to In New Tab..."
- Click on the "Edit..." button to enter a multi-line script, and paste the script above
- If you want, you can assign a KS
- Click "Apply" and then "OK"

Now, you can use it using the KS you assigned, or menu User|Run Script|Go to In New Tab... (or whatever caption you used)
Proud XYplorer Fanatic

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Opening "Go to" in new tab automatically?

Post by kartal »

Jacky thank you so much. it works as advertised :) That does exactly what I was trying to describe.

Only thing I am missing is folder-file suggestions dropdown menu which Goto or adress bar has.

jacky wrote:Well, the thing is that the Go to feature supports a lot more than just locations, but also VF, Name Search, URL, etc

But, if you use this script instead of the Go to feature, then a new tab will be opened each time. Of course, if you typed in something like an URL or a script, that will be pointless, obviously, but for locations it'll work as expected I think. Note however that you won't have any MRU here like you do on Go to, also.

Code: Select all

input $dest, "Enter destination";
  // *dreams for commands to opentab & closetab*
  #340;
  goto $dest;
Since your new, to use this script here's what you need to do :
- menu User|Manage Commands
- Click on "Run Script", then button "New"
- On "Caption" put whatever your want, e.g. "Go to In New Tab..."
- Click on the "Edit..." button to enter a multi-line script, and paste the script above
- If you want, you can assign a KS
- Click "Apply" and then "OK"

Now, you can use it using the KS you assigned, or menu User|Run Script|Go to In New Tab... (or whatever caption you used)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Opening "Go to" in new tab automatically?

Post by jacky »

You're welcome, glad I could help :)
kartal wrote:Only thing I am missing is folder-file suggestions dropdown menu which Goto or adress bar has.
Yeah, that's what I meant by MRU. But as I said, there's no way to have this here... You'll have to choose between the two ;)

Actually, you could also use this script instead, might be smarter:

Code: Select all

  // Open New Tab
  #340;
  // Go to...
  #531;
Then it will first open the new tab, then trigger the usual Go to feature, so you got the MRU back! Of course, if you cancel here, remember the new tab has already been opened!
Proud XYplorer Fanatic

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Opening "Go to" in new tab automatically?

Post by kartal »

Cool, at least there is a work around. I am going to give them a test ride asap.

admin
Site Admin
Posts: 66074
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening "Go to" in new tab automatically?

Post by admin »

jacky wrote:Well, the thing is that the Go to feature supports a lot more than just locations, but also VF, Name Search, URL, etc

But, if you use this script instead of the Go to feature, then a new tab will be opened each time. Of course, if you typed in something like an URL or a script, that will be pointless, obviously, but for locations it'll work as expected I think. Note however that you won't have any MRU here like you do on Go to, also.

Code: Select all

input $dest, "Enter destination";
  // *dreams for commands to opentab & closetab*
  #340;
  goto $dest;
Since you're new, in case you don't know how to use this script here's what you need to do :
- menu User|Manage Commands
- Click on "Run Script", then button "New"
- On "Caption" put whatever your want, e.g. "Go to In New Tab..."
- Click on the "Edit..." button to enter a multi-line script, and paste the script above
- If you want, you can assign a KS
- Click "Apply" and then "OK"

Now, you can use it using the KS you assigned, or menu User|Run Script|Go to In New Tab... (or whatever caption you used)
... quite often I have to write down these micro-manuals for newbies -- too often!! And here's the good news: on my famous list is copy-paste-support for adding new UDCs! In future it will go like this:
(1) [UDC definition in special format...]
(2) Copy (1) to clipboard
(3) menu User|Add UDC from Clipboard
Done.
Okay, assign a KS must be manual work.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Opening "Go to" in new tab automatically?

Post by serendipity »

admin wrote:... quite often I have to write down these micro-manuals for newbies -- too often!! And here's the good news: on my famous list is copy-paste-support for adding new UDCs! In future it will go like this:
(1) [UDC definition in special format...]
(2) Copy (1) to clipboard
(3) menu User|Add UDC from Clipboard
Done.
Okay, assign a KS must be manual work.
Nice. :D

Post Reply