Invisible addressbar allows typing

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Invisible addressbar allows typing

Post by serendipity »

I have assigned the key F6 to focus Address Bar (Tools | Customize Keyboard Shortcuts | Miscellaneous | Focus Functions | Focus Address Bar) as it seems to be the default in most other programs i've used.
And i realized only today that if i hide the AB (from Window menu), use F6 to focus AB and type something, the AB picks up what i typed.
It was a pleasant surprise that something hidden can detect what i type and hence this wish.
If I have the AB hidden and use Focus Address Bar (F6 in my case) and start typing can the AB toggle itself ON until i finish typing and hit enter? On hitting enter AB toggles to OFF.
This will be useful for BC users who think AB is redundant.
Tip: I just assigned this to my key F6 using User | Manage command | Run Script:

Code: Select all

  #660; //Toggle AB
  #1014;//Focus AB
Wondering if anyone else would find it useful if XY did the above by default, especially the auto-toggle AB off after hitting ENTER.

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Invisible addressbar allows typing

Post by Filehero »

Hi,

two men related thoughts. :wink:

Yes, I wouldn't mind having this getting the standard internal behaviour.


Cheers,
Filehero

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Invisible addressbar allows typing

Post by binocular222 »

Something like "If Focus is not on AB, then Hide AB" would be easier to implement
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Invisible addressbar allows typing

Post by Filehero »

binocular222 wrote:... would be easier to implement
easier than what?

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Invisible addressbar allows typing

Post by binocular222 »

easier than "auto-toggle AB off after hitting ENTER"
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Invisible addressbar allows typing

Post by klownboy »

Thanks for pointing out that focusing the AB alone will make it functional. I made a one line script (with only #1014) to try it, started typing and it does indeed work. Since I don't usually want the AB taking up XY real estate, having the AB actually appear as you start to type and cycle off after hitting enter would be great feature.

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

Re: Invisible addressbar allows typing

Post by admin »

serendipity wrote:It was a pleasant surprise that something hidden can detect what i type and hence this wish.
Pleasant surprise? I think this is a bug! :bug: Sorry, but I have to fix this!

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Invisible addressbar allows typing

Post by klownboy »

Must have been a pleasant bug! Butterfly maybe?

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

Re: Invisible addressbar allows typing

Post by serendipity »

admin wrote:
serendipity wrote:It was a pleasant surprise that something hidden can detect what i type and hence this wish.
Pleasant surprise? I think this is a bug! :bug: Sorry, but I have to fix this!
Haha.. i understand. alas, the feature will last few more hours. :lol:

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

Re: Invisible addressbar allows typing

Post by admin »

Minutes rather...

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

Re: Invisible addressbar allows typing

Post by serendipity »

admin wrote:Minutes rather...
:P
That aside, do you see any merit in AB auto-close feature?
To put it succinctly:
User toggles AB and types something, on hitting ENTER AB closes.

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

Re: Invisible addressbar allows typing

Post by admin »

No, I don't like this. :beer:

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

Re: Invisible addressbar allows typing

Post by serendipity »

admin wrote:No, I don't like this. :beer:
haha.. was trying my luck. :beer:

Post Reply