Search found 823 matches

by SKAN
30 Sep 2020, 03:58
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Thanks Well I wouldn't want you to put an ugly trick in your elegant function, but if you came up with one I'd probably use it, as we treat no extension just like any other extension usually driven by the machine tool's software and/or interface (ethernet or memory card) requirements. Its surely no...
by SKAN
29 Sep 2020, 14:26
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

awesome!   :) :thumbup: Files with no extensions aren't very normal, but in the CNC machining world they are because of the way the machine memory works. Or maybe there is another trick to filter by empty extension?   I don't think windows API will allow it. How desperate are you? If I can imagine ...
by SKAN
29 Sep 2020, 14:19
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Peaceful wrote:
29 Sep 2020, 11:07
very nice
Spaces between extensions makes it easy on eyes..
The windows functions don't allow it though. My function is using StrReplace() to remove all those spaces.
This feature wasn't available in the first version. I hope you're using the latest one.
:thumbup:
by SKAN
29 Sep 2020, 05:52
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Peaceful wrote:
28 Sep 2020, 12:49
All perfect!
SKAN you are king Thank you very much for the wonderful function
Thank you *100
 
:) :thumbup:

Code updated:

0.69 : FileSelectFile() Options enhanced to be consistent with FileSelectFile command.
by SKAN
28 Sep 2020, 09:19
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

FileSelectFile() : v0.66

You're right thank you for the great function   :thumbup: :)   Code updated. v0.66 FileSelecFile() can detect +OwnDialogs and set the GUI as owner automatically. File extensions can be suppressed from being shown in dropdown list by prefixing a pipe before the filter string. (Thanks to Peaceful )
by SKAN
28 Sep 2020, 00:48
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Works fine The extension is displayed. Isn't it a little weird No. It is not weird. I've seen it the way it is, for a long time. :) Its alright to avoid clutter for single extensions, but not for multiple extensions per line. Here is a screenshot of Save As dialog of Photoshop.   Photoshop_SaveAs.p...
by SKAN
27 Sep 2020, 17:05
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Code fixed/updated.
Additional options now documented
by SKAN
27 Sep 2020, 13:18
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Thank you for the wonderful function.   :) :thumbup: However, 64 bits do not work.   Sorry about that. A small glitch, I will fix it. And there's no icon.   That is by design. You have to do Gui +Lastfound (Gui should be visible) before calling FileSelectFile() to make that GUI the owner window.. o...
by SKAN
27 Sep 2020, 10:59
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

FileSelectFile() : Supports multi-line filter

Peaceful wrote:
25 Sep 2020, 23:38
your functions are easier and more convenient. LOL
:o Thanks. :) :thumbup:

Done @Peaceful !!
This topic was split from: https://www.autohotkey.com/boards/viewtopic.php?t=81252
by SKAN
26 Sep 2020, 15:53
Forum: Scripts and Functions
Topic: RestartExplorer() : Updated version
Replies: 9
Views: 888

Re: RestartExplorer() : Updated version

gwarble wrote: Edit: not on Win10...
Ah! Thank you. :thumbup:

Code updated.
Removed XP check
Simplified code.

Message WM_USER+436 works for me in WIN 7, 8.1 and 10

A few posts have been split into a separate topic: https://www.autohotkey.com/boards/viewtopic.php?t=81514
by SKAN
25 Sep 2020, 17:23
Forum: Scripts and Functions
Topic: NotifyTrayClick() : Notifies when AHK tray icon is clicked
Replies: 10
Views: 493

Re: NotifyTrayClick() : Notifies when AHK tray icon is clicked

On a related note: Seemingly, Tray menu can be trimmed as follows: #NoEnv #SingleInstance, Force #Persistent hMenu := MenuGetHandle("Tray") DllCall("RemoveMenu", "Ptr",hMenu, "Int",65300, "Int",0 ) ; Open DllCall("RemoveMenu", "Ptr",hMenu, "Int",65301, "Int",0 ) ; Help DllCall("RemoveMenu", "Ptr",hM...
by SKAN
25 Sep 2020, 17:05
Forum: Scripts and Functions
Topic: NotifyTrayClick() : Notifies when AHK tray icon is clicked
Replies: 10
Views: 493

Re: NotifyTrayClick() : Notifies when AHK tray icon is clicked

Relayer   I'm yet to study your code. I've fixed the Critical part of the code.   when I had a left click defined but no left double click... a double would trigger the single whereas I thought it should ignore it.   That is the intended effect. For eg., if the user wants to Run, notepad.exe on lef...
by SKAN
25 Sep 2020, 13:42
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

Re: FileSelectFile() : Supports multi-line filter

Peaceful wrote: I don't like the link function below. Please make a function
https://www.autohotkey.com/boards/viewtopic.php?t=53136
What exactly you don't like?
Doesn't it work correctly?
by SKAN
25 Sep 2020, 13:26
Forum: Scripts and Functions
Topic: NotifyTrayClick() : Notifies when AHK tray icon is clicked
Replies: 10
Views: 493

Re: NotifyTrayClick() : Notifies when AHK tray icon is clicked

Hi @Relayer
Thanks for the wonderful feedback and for sharing your version :thumbup:
 
Thanks for the tip on critical.. For the rest of your code, I will have to study it.
I will reply after a thorough test.

:)
by SKAN
24 Sep 2020, 15:28
Forum: Tips and Tricks
Topic: Spy++ without Visual Studio
Replies: 4
Views: 12333

Re: Spy++ without Visual Studio

Thank you @Xtra :)
by SKAN
24 Sep 2020, 14:25
Forum: Tips and Tricks
Topic: Spy++ without Visual Studio
Replies: 4
Views: 12333

Re: Spy++ without Visual Studio

Thank you very much. :thumbup:

I had googled for spyxx_amd64 dependencies
and this was the 5th result.
by SKAN
24 Sep 2020, 13:21
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 830

FileSelectFile() : Additional options

The Options parameter of FileSelectFile() can accept up to 4 values when values are delimited with Pipe character. The 4 values should appear in following order and unneeded ones may be omitted.   Default : Default options of FileSelectFile command Extension : Default file extension to be used when ...
by SKAN
23 Sep 2020, 15:27
Forum: Scripts and Functions
Topic: IsAlphaBitmap(hBM) : Returns true if a GDI Bitmap is alpha transparent
Replies: 10
Views: 628

GdiPlus_CreateBitmapFromHBITMAP()

Very good! :thumbup: BTW: Shouldn't the DIB be deleted? Thanks, fixed. :oops: :thumbup:.   Temporarily posting here GdiPlus_CreateBitmapFromHBITMAP() which is the base for IsAlphaBitmap() This function will detect and convert GDI alpha bitmap to GDIPlus bitmap with alpha transparency. GdiPlus_Creat...
by SKAN
23 Sep 2020, 06:09
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27807

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

hasantr wrote:CMD doesn't have a character problem anyway
From command prompt execute CHCP command.
What is the active code page?

Go to advanced search