Search found 487 matches
- 13 Feb 2018, 15:03
- Forum: Ask for Help (v1)
- Topic: Updating hostrings with function Hotstring()
- Replies: 1
- Views: 620
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...
- 11 Feb 2018, 19:40
- Forum: Ask for Help (v1)
- Topic: Putting function Hotstring() at work
- Replies: 2
- Views: 1106
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 keys are cas...
- 11 Feb 2018, 15:14
- Forum: Ask for Help (v1)
- Topic: Create hotstrings from variables
- Replies: 9
- Views: 2922
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.
- 11 Feb 2018, 15:06
- Forum: Ask for Help (v1)
- Topic: Putting function Hotstring() at work
- Replies: 2
- Views: 1106
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("HotstringTrigger", "f1#"...
- 10 Feb 2018, 23:32
- Forum: Ask for Help (v1)
- Topic: Create hotstrings from variables
- Replies: 9
- Views: 2922
- 07 Feb 2018, 08:59
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
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 ...
- 12 Jan 2018, 18:01
- Forum: Wish List
- Topic: Hotkey control and foreign language keyboards
- Replies: 9
- Views: 3810
Re: Hotkey control and foreign language keyboards
So, this is an example of wanting something and its opposite at the same time :-)lexikos wrote:That is the polar opposite of the a-z change, which allows scripts to work independently of keyboard layout.
:headwall:
- 12 Jan 2018, 17:40
- Forum: Wish List
- Topic: Hotkey control and foreign language keyboards
- Replies: 9
- Views: 3810
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...
- 08 Jan 2018, 22:13
- Forum: Wish List
- Topic: Hotkey control and foreign language keyboards
- Replies: 9
- Views: 3810
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#...
- 04 Jan 2018, 19:15
- Forum: Scripts and Functions (v1)
- Topic: Dynamic Hotstrings
- Replies: 46
- Views: 23692
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 end of Hotstring.ahk, lines 138-...
- 04 Jan 2018, 12:26
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
Re: Get the URL of the current (active) browser tab
Good news! Thanks atnbueno.
- 06 Dec 2017, 10:31
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
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 browsers expe...
- 29 Nov 2017, 17:37
- Forum: Ask for Help (v1)
- Topic: Function IsProcessElevated returns errors for elevated processes
- Replies: 5
- Views: 1434
Re: Function IsProcessElevated returns errors for elevated processes
Thanks qwerty12. It worked perfectly with this parameter. I changed the original post with this fix.qwerty12 wrote:Have OpenProcess open the process with 0x1000 (PROCESS_QUERY_LIMITED_INFORMATION) as the desired access right, not 0x0400.
- 29 Nov 2017, 14:31
- Forum: Ask for Help (v1)
- Topic: Function IsProcessElevated returns errors for elevated processes
- Replies: 5
- Views: 1434
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 #...
- 16 Nov 2017, 14:54
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
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...
- 16 Nov 2017, 14:31
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
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...
- 16 Nov 2017, 09:35
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
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://autohot...
- 15 Nov 2017, 19:25
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
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.
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.
- 15 Nov 2017, 19:21
- Forum: Ask for Help (v1)
- Topic: SciTE4ahk custom intellisense generator follow-up
- Replies: 32
- Views: 8397
Re: SciTE4ahk custom intellisense generator follow-up
No problem, XeroByte. These things happen... Do as you can and let us know :-)
Thanks,
Jean
Thanks,
Jean
- 15 Nov 2017, 18:01
- Forum: Scripts and Functions (v1)
- Topic: Get the URL of the current (active) browser tab
- Replies: 196
- Views: 138336
Re: Get the URL of the current (active) browser tab
If anyone had this script fail with the Firefox version 50 release, here was my solution: Just put Mozilla with the Legacy Browsers, so it uses DDE instead of ACC. I think this worked for some time. But, now, with Firefox v56.0.2, both Modern and Legacy functions return an empty string. Could someo...