Search found 249 matches

by JnLlnd
03 Apr 2018, 16:44
Forum: Ask For Help
Topic: 4 options to change the current folder in Windows Explorer
Replies: 63
Views: 12526

Re: 4 options to change the current folder in Windows Explorer

Hi Eureka, Please read this post and the following: https://autohotkey.com/boards/viewtopic.php?p=25199#p25199 For me, it still does not work if there is a slash after the hash. My message and example should have been: "This will fail if myPath includes a hash and has a slash after it (as in C:...
by JnLlnd
13 Feb 2018, 16:14
Forum: Ask For Help
Topic: Updating hostrings with function Hotstring()
Replies: 1
Views: 80

Re: Updating hostrings with function Hotstring()

Thinking a little bit more about this, I realize that if I use the "On" parameter when I redefine an hotstring (like this: Hotstring(":T*C:aaa", "ccc!", "On") ), this works: ; define hotstring with "T*C" options (Text raw, Do not wait for end...
by JnLlnd
13 Feb 2018, 15:03
Forum: Ask For Help
Topic: Updating hostrings with function Hotstring()
Replies: 1
Views: 80

Updating hostrings with function Hotstring()

I''m implementing dynamic hotstring using the new Hotstring() function (requires v1.1.28+). Loading hotstrings from a list of hotstrings in associative arrays ( see my example here ) in a setting file is working well, using the regular replacement and the new execute option. But I'm having hard time...
by JnLlnd
11 Feb 2018, 19:40
Forum: Ask For Help
Topic: Putting function Hotstring() at work
Replies: 2
Views: 102

Re: Putting function Hotstring() at work

On thing I should have mention. There is an issue with this quick and dirty example. If two hotstrings using the "C" (case-sensitive) option have a trigger with the same letters but different upper/lower case, only one of the two will be added to the objHotstrings object because objects ke...
by JnLlnd
11 Feb 2018, 15:14
Forum: Ask For Help
Topic: Create hotstrings from variables
Replies: 9
Views: 503

Re: Create hotstrings from variables

I wrote this small "demo" script to test and show the capabilities of the new Hostrings introduced yesterday by lexikos in v1.1.28 with the "X" (execute) option. I thought it might be useful for other developers.
by JnLlnd
11 Feb 2018, 15:06
Forum: Ask For Help
Topic: Putting function Hotstring() at work
Replies: 2
Views: 102

Putting function Hotstring() at work

I wrote this small "demo" script to test and show the capabilities of the new Hostrings introduced yesterday by lexikos in v1.1.28 with the "X" (execute) option (thanks, lexikos!). I thought it might be useful for other developers. #SingleInstance force objString1 := Object("...
by JnLlnd
10 Feb 2018, 23:32
Forum: Ask For Help
Topic: Create hotstrings from variables
Replies: 9
Views: 503

Re: Create hotstrings from variables

FYI, Lexikos just released v1.1.28 today that includes the Hotstring function that is the perfect solution to the request in my original post.

Thank you Lexikos!
by JnLlnd
07 Feb 2018, 08:59
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

I have just tested JnLlnd's script in previous page and the URL in Firefox 58 seem to work well (I have tried 5/6 urls). So does someone still have a problem? Can we have a URL example of where it was failing? I retested it with 57.0.4 and upgraded to 58.0.1 today and found no URL not working with ...
by JnLlnd
12 Jan 2018, 18:01
Forum: Wish List
Topic: Hotkey control and foreign language keyboards
Replies: 9
Views: 372

Re: Hotkey control and foreign language keyboards

lexikos wrote:That is the polar opposite of the a-z change, which allows scripts to work independently of keyboard layout.
So, this is an example of wanting something and its opposite at the same time :-)

:headwall:
by JnLlnd
12 Jan 2018, 17:40
Forum: Wish List
Topic: Hotkey control and foreign language keyboards
Replies: 9
Views: 372

Re: Hotkey control and foreign language keyboards

On the same note, if the technique you used could also make the Hotkey control more compliant to current keyboard, this would be great. [...] the key displayed and the key returned by the control are not the same. Perhaps you could be more specific about what you want to be implemented. I assume yo...
by JnLlnd
08 Jan 2018, 22:13
Forum: Wish List
Topic: Hotkey control and foreign language keyboards
Replies: 9
Views: 372

Hotkey control and foreign language keyboards

Hi, Changed a-z to mean vk41-vk5A when absent from the keyboard layout, except with Raw mode or when sending single unmodified characters. This allows hotkeys and sent keyboard shortcuts to work more intuitively on certain non-English keyboard layouts. https://autohotkey.com/docs/AHKL_ChangeLog.htm#...
by JnLlnd
04 Jan 2018, 19:15
Forum: Scripts and Functions
Topic: Dynamic Hotstrings
Replies: 44
Views: 9743

Re: Dynamic Hotstrings

The output of example Hotstring("i)colou?rs","$0 $0 everywhere!",3) ; Regex, Case insensitive is exactly that, $0 $0 everywhere! while it should be colours colours everywhere! - The other examples do work. Found why... In original code, the following lines (near the ...
by JnLlnd
04 Jan 2018, 12:26
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

Good news! Thanks atnbueno.
by JnLlnd
06 Dec 2017, 10:31
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

The script doesn't work with the new Firefox-Version 57 ("Quantum") anymore. Who can help us, me and the script? It re-tested it and it is working with Firefox 57 on some websites (for example, on Twitter.com).... but not on others. I could not tell why. We would need again input from bro...
by JnLlnd
29 Nov 2017, 17:37
Forum: Ask For Help
Topic: Function IsProcessElevated returns errors for elevated processes
Replies: 2
Views: 130

Re: Function IsProcessElevated returns errors for elevated processes

qwerty12 wrote:Have OpenProcess open the process with 0x1000 (PROCESS_QUERY_LIMITED_INFORMATION) as the desired access right, not 0x0400.


Thanks qwerty12. It worked perfectly with this parameter. I changed the original post with this fix.
by JnLlnd
29 Nov 2017, 14:31
Forum: Ask For Help
Topic: Function IsProcessElevated returns errors for elevated processes
Replies: 2
Views: 130

Function IsProcessElevated returns errors for elevated processes

I'm trying the function IsProcessElevated to retrieve a list of processes running in elevated mode (Run As Admin). But as soon as the function tests a PID for an elevated process, it returns an error. Any idea why? I'm using the latest version from @jNizM on GitHub with Windows 10, 64-bits. #NoEnv #...
by JnLlnd
16 Nov 2017, 14:54
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

If this can help, here is my full script for getting the URL and getting the web page title. Most of the code for getting the URL comes from this thread but code formatting and variables naming were adapted to my own style. Tested with IE 11, Chrome and Firefox 57 and Edge 40. Alt-Q to test it. #Sin...
by JnLlnd
16 Nov 2017, 14:31
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

Is there a way for it to just check every 10 seconds and write to a file the active url instead of me needing to do it with a hotkey? I know how to write to a file just need to know how to get it to check without hotkey, i tried removing the hotkey but then it doesnt work This thread is about getti...
by JnLlnd
16 Nov 2017, 09:35
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

@jeeswg: I tried to fit your code in mine but I think our codes are based on the same source in this thread. There has been some variations/branched from the OP code in this thread and I'l a little lost ;-) But, using the GetAddressBar(accObj, accPath:="") function as found on page 4 https...
by JnLlnd
15 Nov 2017, 19:25
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 113
Views: 36107

Re: Get the URL of the current (active) browser tab

Thanks jeeswg. I'll look at it soon.

Just FYI, yes I'm my locale is not English (it is French-Canadian) but both functions work well with IE (legacy) or Chrome (modern). The issue is just with Firefox, AKAIK.

Go to advanced search