UDC snippet: AB focus toggle

Discuss and share scripts and script files...
Post Reply
Filehero
Posts: 2721
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

UDC snippet: AB focus toggle

Post by Filehero »

Hi,

with the great arrival of the long-awaited breadcrumbs I'm testing how much plain navigation can be done without the address bar.

In order to get the AB quickly back and focused I use this little UDC-snippet which I trigger with my alternative Focus Address Bar command shortcut <CTRL>+<L>.

Code: Select all

  if (get("#660") == 0) {
  #660; // toggle AB on
  #1014; // focus AB
 } else {
    #660; // toggle AB off
 }
/e: :idea: Tip: <CTRL>+<L>, <CTRL>+<C> always copies the current path. :idea:


Cheers,
Filehero
Last edited by Filehero on 17 Sep 2014 19:49, edited 1 time in total.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: UDC snippet: AB focus toggle

Post by yusef88 »

a nice idea :appl:

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

Re: UDC snippet: AB focus toggle

Post by Filehero »

yusef88 wrote:a nice idea :appl:
Thank you. :)

Post Reply