Search found 227 matches

by JnLlnd
26 Aug 2017, 18:19
Forum: Ask For Help
Topic: FileExist and UNC root path
Replies: 10
Views: 213

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

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

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

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

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

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

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

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

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

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

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 ...
by JnLlnd
09 Aug 2017, 14:10
Forum: Ask For Help
Topic: Create hotstrings from variables
Replies: 7
Views: 231

Create hotstrings from variables

Hi, Is is possible to create hotstrings with the abbreviations and expanded value stored in variables? I need to store hotstrings in an ini file and retrieve/enable them from the ini file. I would need a command similar to the "Hotkey" command as illustrated in the example below. Without s...
by JnLlnd
03 Aug 2017, 17:00
Forum: Ask For Help
Topic: GUI Image scaling issue with HDPI device (Surface)
Replies: 2
Views: 137

Re: GUI Image scaling issue with HDPI device (Surface)

This c# code seems to do what I need. But translating it into AHK / DllCall is a bit over my technical knowledge... If someone could help me? [DllImport("gdi32.dll")] static extern int GetDeviceCaps(IntPtr hdc, int nIndex); public enum DeviceCap { VERTRES = 10, DESKTOPVERTRES = 117, // htt...
by JnLlnd
03 Aug 2017, 15:08
Forum: Ask For Help
Topic: GUI Image scaling issue with HDPI device (Surface)
Replies: 2
Views: 137

Re: GUI Image scaling issue with HDPI device (Surface)

An update on this. 1) The user of my app reported a tip on how to set the HDPI compatibility level of my app in order to scale images for the current HDPI scaling of his Surface Book. It could help for any app having a scaling issue: http://www.quickaccesspopup.com/why-are-buttons-icons-so-small-in-...
by JnLlnd
26 Jul 2017, 15:51
Forum: Ask For Help
Topic: 4 options to change the current folder in Windows Explorer
Replies: 60
Views: 10750

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

Thanks for the references, jeeswg. I used Navigate2 with an integer parameter (for example 17 = My Computer) but I did not know about object parameters. Interesting.
by JnLlnd
25 Jul 2017, 08:52
Forum: Ask For Help
Topic: 4 options to change the current folder in Windows Explorer
Replies: 60
Views: 10750

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

Thanks, jeeswg. Sorry, I have not see it before. It works well. Could you explain what shell32\SHParseDisplayName and the following NumPut are doing?
by JnLlnd
24 Jul 2017, 21:48
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 30
Views: 672

Re: SciTE4ahk custom intellisense generator follow-up

I hope you can find a solution to this "Recursion too deep" issue. Thanks for your time, XeroByte.

Jean
by JnLlnd
24 Jul 2017, 11:11
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 30
Views: 672

Re: SciTE4ahk custom intellisense generator follow-up

Hi, Thanks for looking at the file on GitHub. It seems that somewhere in the transfers from my system to GitHub from GitHub to yours, the EOL were transformed because on my system the file is saved with CR/LF. See screen capture: http://www.jeanlalonde.ca/temp/QuickAccessPopup-Source.png Could you t...
by JnLlnd
21 Jul 2017, 07:56
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 30
Views: 672

Re: SciTE4ahk custom intellisense generator follow-up

@XeroByte: If you offer to debug using my script, here is the source file: https://raw.githubusercontent.com/JnLln ... sPopup.ahk
by JnLlnd
20 Jul 2017, 21:32
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 30
Views: 672

Re: SciTE4ahk custom intellisense generator follow-up

I can't think why you're having this issue. Could you please try run the function on a .ahk file that only has a few test functions and see if it can index them? It works now with the following simple file including both labels and functions. Not sure what I was doing wrong before. But it still fai...

Go to advanced search