Everytime I add a new tab (CTRL-t), I have to mouseclick in the Addressbar to change the location to the desired.
How about setting the focus on the address bar, so I can press CTRL-T and then just type the new address, without having to touch the mouse?
RP
New Tab => change focus to Address Bar
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
New Tab => change focus to Address Bar
check out this guys work - xkcd webcomics
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: New Tab => change focus to Address Bar
Since it is specific to your interest, one option is to change the keyboard shortcut for ctrl+t. Assign it to this script in UDC:ReviewPilot wrote:Everytime I add a new tab (CTRL-t), I have to mouseclick in the Addressbar to change the location to the desired.
How about setting the focus on the address bar, so I can press CTRL-T and then just type the new address, without having to touch the mouse?
RP
Code: Select all
//Open new tab
#340;
//Focus address bar
focus a;
Last edited by serendipity on 12 Nov 2008 16:31, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66324
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
JustinF
- Posts: 358
- Joined: 28 Jun 2005 23:47
- Location: Omaha, Nebraska, USA
Re: New Tab => change focus to Address Bar
I don't use scripting nearly as much as I probably should, but WOW, the power of it is amazing! Being able to do stuff like this is very cool.serendipity wrote:Since it is specific to your interest, one option is to change the keyboard shortcut for ctrl+t. Assign it to this script in UDC:Code: Select all
//Open new tab #340; //Focus address bar focus a;
Justin
Windows 7 Professional
Windows 7 Professional
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: New Tab => change focus to Address Bar
These are neat tipps! Thank you!
check out this guys work - xkcd webcomics
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: New Tab => change focus to Address Bar
Err, could someone, again, instruct me how to use this stuff?
I created a xys-file in the scripts folder. is this the intended way? and now what? how to assign?
I created a xys-file in the scripts folder. is this the intended way? and now what? how to assign?
check out this guys work - xkcd webcomics
-
Pagat
- Posts: 308
- Joined: 09 Oct 2007 21:23
- Location: Austria
Re: New Tab => change focus to Address Bar
you can also enter that 2-line-script directly as a UDC without creating a XYS file:
"User | Manage Commands..." -> Select "Run Script" -> Click on "New". Enter a Caption that you like and the following line under "Script":Now select a keyboard shortcut, click "Apply" and you are good to go. Execute the script either via your shortcut, or via "User | Run Script | [Your Caption]".
"User | Manage Commands..." -> Select "Run Script" -> Click on "New". Enter a Caption that you like and the following line under "Script":
Code: Select all
#340; focus a;OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: New Tab => change focus to Address Bar
that works, thx.
But now always this "stepping thru script" pops up..
But now always this "stepping thru script" pops up..
check out this guys work - xkcd webcomics
-
admin
- Site Admin
- Posts: 66324
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: New Tab => change focus to Address Bar
Remove the checkmark "Step through scripts" in menu Scripting. This is only used for testing/debugging scripts.ReviewPilot wrote:that works, thx.
But now always this "stepping thru script" pops up..
FAQ | XY News RSS | XY X
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: New Tab => change focus to Address Bar
uups. one should read the manual or think.admin wrote:Remove the checkmark "Step through scripts" in menu Scripting. This is only used for testing/debugging scripts.ReviewPilot wrote:that works, thx.
But now always this "stepping thru script" pops up..
check out this guys work - xkcd webcomics
XYplorer Beta Club