Search found 236 matches

by JnLlnd
06 Dec 2017, 10:31
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 99
Views: 30811

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: 63

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: 63

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: 99
Views: 30811

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: 99
Views: 30811

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: 99
Views: 30811

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: 99
Views: 30811

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.
by JnLlnd
15 Nov 2017, 19:21
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 869

Re: SciTE4ahk custom intellisense generator follow-up

No problem, XeroByte. These things happen... Do as you can and let us know :-)

Thanks,

Jean
by JnLlnd
15 Nov 2017, 18:01
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 99
Views: 30811

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...
by JnLlnd
26 Aug 2017, 18:19
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 288

Re: FileExist and UNC root path

jeeswg wrote:Perhaps this, \\ then letters/digits/. and an optional trailing \.
Thank you jeeswg. I'll work on it later and stop hijacking this thread for RegEx help :-)
by JnLlnd
26 Aug 2017, 17:53
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 288

Re: FileExist and UNC root path

Oh, my example was not clear enough. I meant UNC with *any* IP adresses or domain with *any* name. Thanks :-)
by JnLlnd
26 Aug 2017, 17:45
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 288

Re: FileExist and UNC root path

That's interesting. I knocked up some quick RegEx: ... Interesting, can I use your RegEx brain for a minute (or two)? What would be the RegEx expresion used with RegExMatch that would return true for the following paths and false for any other path? \\127.0.0.1 \\127.0.0.1\ \\MyDomain \\MyDomain\ T...
by JnLlnd
26 Aug 2017, 15:40
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 288

Re: FileExist and UNC root path

Thanks for posting this page. The answer is here: A path specified by Universal Naming Convention (UNC) is limited to a file only; that is, \\server\share\file is permitted. A UNC path to a server or server share is not permitted; that is, \\server or \\server\share. This function returns FALSE if a...
by JnLlnd
26 Aug 2017, 14:03
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 288

Re: FileExist and UNC root path

An AutoIt user reports these results with FileExists command: AutoIt Code: MsgBox(1,"test", FileExists("\\127.0.0.1")) ; returns false MsgBox(1,"test", FileExists("\\127.0.0.1\")) ; returns false MsgBox(1,"test", FileExists("\\127.0.0.1\mp3"...
by JnLlnd
25 Aug 2017, 19:04
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 288

FileExist and UNC root path

Hi, Is this normal that the FileExist function returns an empty string (= false) when checking for the existence of the root of an UNC path? Any reason for this? For example: #SingleInstance force MsgBox, % FileExist("\\127.0.0.1") ; returns empty (= false) MsgBox, % FileExist("\\127....
by JnLlnd
15 Aug 2017, 09:02
Forum: Announcements
Topic: [closed][POLL] Commissions sub-forum
Replies: 107
Views: 5118

Re: [POLL] Commissions sub-forum

kczx3 wrote:It was opened yesterday...


:-) Oops! It is not the first time I'm fooled by the "Join" date in the left column, reading too fast and thinking it is the post date. My bad...
by JnLlnd
15 Aug 2017, 08:51
Forum: Announcements
Topic: [closed][POLL] Commissions sub-forum
Replies: 107
Views: 5118

Re: [POLL] Commissions sub-forum

This thread is quite an old thread... Was there a conclusion on this? Votes seems to be generally in favor of it. I'm in favor too.
by JnLlnd
10 Aug 2017, 19:00
Forum: Ask For Help
Topic: Create hotstrings from variables
Replies: 7
Views: 293

Re: Create hotstrings from variables

I'd have the script itself take care of closing itself if it's parent ceases to exist. If the parent process crashes, you can end up with multiple child processes. You can then use ExecScript() to spawn a process without writing your dynamically generated hotstring script to hard disk Yes. ...
by JnLlnd
09 Aug 2017, 21:53
Forum: Ask For Help
Topic: Create hotstrings from variables
Replies: 7
Views: 293

Re: Create hotstrings from variables

First there is nothing wrong with redistributing a (renamed) autohotkey.exe for the sole purpose of hotstrings (the INI generates a ahk script, your program starts the renamed autohotkey and presto bob's your uncle - a good example of this technique is Catena by Normand Lamoureux http://normandlamo...
by JnLlnd
09 Aug 2017, 15:20
Forum: Ask For Help
Topic: Create hotstrings from variables
Replies: 7
Views: 293

Re: Create hotstrings from variables

The downside is that it's cumbersome to implement regular hotkeys in the same script. Hum. Interesting. The issue is that my script is already pretty complex to maintain regarding hotkeys. It supports hotkeys from variables (configurable in the GUI and stored in the app's ini file) and conditional ...

Go to advanced search