Thank you jeeswg. I'll work on it later and stop hijacking this thread for RegEx help :-)jeeswg wrote:Perhaps this, \\ then letters/digits/. and an optional trailing \.
Search found 487 matches
- 26 Aug 2017, 18:19
- Forum: Ask for Help (v1)
- Topic: FileExist and UNC root path
- Replies: 10
- Views: 4126
Re: FileExist and UNC root path
- 26 Aug 2017, 17:53
- Forum: Ask for Help (v1)
- Topic: FileExist and UNC root path
- Replies: 10
- Views: 4126
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 :-)
- 26 Aug 2017, 17:45
- Forum: Ask for Help (v1)
- Topic: FileExist and UNC root path
- Replies: 10
- Views: 4126
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...
- 26 Aug 2017, 15:40
- Forum: Ask for Help (v1)
- Topic: FileExist and UNC root path
- Replies: 10
- Views: 4126
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...
- 26 Aug 2017, 14:03
- Forum: Ask for Help (v1)
- Topic: FileExist and UNC root path
- Replies: 10
- Views: 4126
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")) ; returns true MsgBox(1,"test", FileExists("C:\")) ; ret...
- 25 Aug 2017, 19:04
- Forum: Ask for Help (v1)
- Topic: FileExist and UNC root path
- Replies: 10
- Views: 4126
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.0.0.1\") ; retu...
- 15 Aug 2017, 09:02
- Forum: Announcements
- Topic: [closed][POLL] Commissions sub-forum
- Replies: 107
- Views: 65160
Re: [POLL] Commissions sub-forum
:-) 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...kczx3 wrote:It was opened yesterday...
- 15 Aug 2017, 08:51
- Forum: Announcements
- Topic: [closed][POLL] Commissions sub-forum
- Replies: 107
- Views: 65160
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.
- 10 Aug 2017, 19:00
- Forum: Ask for Help (v1)
- Topic: Create hotstrings from variables
- Replies: 9
- Views: 2924
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. Good sug...
- 09 Aug 2017, 21:53
- Forum: Ask for Help (v1)
- Topic: Create hotstrings from variables
- Replies: 9
- Views: 2924
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...
- 09 Aug 2017, 15:20
- Forum: Ask for Help (v1)
- Topic: Create hotstrings from variables
- Replies: 9
- Views: 2924
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 ...
- 09 Aug 2017, 14:10
- Forum: Ask for Help (v1)
- Topic: Create hotstrings from variables
- Replies: 9
- Views: 2924
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 such a "Hot...
- 03 Aug 2017, 17:00
- Forum: Ask for Help (v1)
- Topic: GUI Image scaling issue with HDPI device (Surface)
- Replies: 2
- Views: 842
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, // http://pinvok...
- 03 Aug 2017, 15:08
- Forum: Ask for Help (v1)
- Topic: GUI Image scaling issue with HDPI device (Surface)
- Replies: 2
- Views: 842
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-...
- 26 Jul 2017, 15:51
- Forum: Ask for Help (v1)
- Topic: 4 options to change the current folder in Windows Explorer
- Replies: 77
- Views: 38533
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.
- 25 Jul 2017, 08:52
- Forum: Ask for Help (v1)
- Topic: 4 options to change the current folder in Windows Explorer
- Replies: 77
- Views: 38533
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?
- 24 Jul 2017, 21:48
- Forum: Ask for Help (v1)
- Topic: SciTE4ahk custom intellisense generator follow-up
- Replies: 32
- Views: 8569
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
Jean
- 24 Jul 2017, 11:11
- Forum: Ask for Help (v1)
- Topic: SciTE4ahk custom intellisense generator follow-up
- Replies: 32
- Views: 8569
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...
- 21 Jul 2017, 07:56
- Forum: Ask for Help (v1)
- Topic: SciTE4ahk custom intellisense generator follow-up
- Replies: 32
- Views: 8569
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
- 20 Jul 2017, 21:32
- Forum: Ask for Help (v1)
- Topic: SciTE4ahk custom intellisense generator follow-up
- Replies: 32
- Views: 8569
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...