Search found 461 matches

by gwarble
23 Nov 2020, 23:53
Forum: Scripts and Functions
Topic: Imagen() : A fade-in/fade-out animator for picture control
Replies: 16
Views: 1097

Re: Imagen() v3.21 - Code updated

SKAN wrote:
07 Nov 2020, 19:17
Added zoom option which will zoom a scaled image, just enough to fill the picture control.
 
@gwarble : Please try DragDropImageViewer.ahk
Wonderful! thank you, I will test it out
by gwarble
13 Nov 2020, 21:12
Forum: Ask For Help
Topic: Distinguish between left-click on keyboard's touchpad mouse button and left-click via touchpad tap
Replies: 9
Views: 189

Re: Distinguish between left-click on keyboard's touchpad mouse button and left-click via touchpad tap

If you're trying to block the touchpad clicks altogether and use a different mouse then EitherMouse should work for you, but if you're trying to maintain touchpad button clicking but block touchpad taps on the pad itself then EitherMouse won't know the difference (if they come from the same device i...
by gwarble
23 Oct 2020, 15:35
Forum: Scripts and Functions
Topic: Imagen() : A fade-in/fade-out animator for picture control
Replies: 16
Views: 1097

Re: Imagen() : A fade-in/fade-out animator for picture control

I guess the option to upscale or not would be best, in my use case it would be better if upscaled to fit but maybe not always Tiled and "echo pillarboxing" sound like fun and useful options too AutoHotkey is single threaded. I see no way to run two loops simultaneously. :( I guess I anticipated that...
by gwarble
21 Oct 2020, 12:47
Forum: Scripts and Functions
Topic: Imagen() : A fade-in/fade-out animator for picture control
Replies: 16
Views: 1097

Re: Imagen() : A fade-in/fade-out animator for picture control

This works/looks very nice, thanks again... Is it possible to resize an image to fit in one dimension with the other dimension cropped to fit? So maintaining the aspect ratio, shrink a picture as much as possible to the point that the entire control is filled and crop off the other dimension from bo...
by gwarble
04 Oct 2020, 17:59
Forum: Ask For Help
Topic: Redraw problem
Replies: 6
Views: 231

Re: Redraw problem

very cool, looks like the cross section of a four flute endmill, grinder toolpaths maybe? As someone who only uses endmills and doesn't create them that looks very intriguing anyway, instead of manually handling the redrawing with gdi directly to the window each needed, I would recommend creating a ...
by gwarble
02 Oct 2020, 17:39
Forum: Suggestions on documentation improvements
Topic: FormatTime's ShortDate
Replies: 0
Views: 193

FormatTime's ShortDate

small error in the description of ShortDate: Short date representation for the current user's locale, such as 02/29/04 should be: Short date representation for the current user's locale, such as 10/2/2020 Edit: sorry i guess that's not an error, just that the default locale in EN-US is different tha...
by gwarble
02 Oct 2020, 17:24
Forum: Wish List
Topic: Dynamic compiler
Replies: 6
Views: 408

Re: Dynamic compiler

i think what he's getting at is what is visible when you scan a compiled script on VirusTotal... COMDLG32.dll GetSaveFileNameW GetOpenFileNameW CommDlgExtendedError VERSION.dll VerQueryValueW GetFileVersionInfoW GetFileVersionInfoSizeW WINMM.dll mixerGetLineControlsW mixerGetControlDetailsW mixerOpe...
by gwarble
30 Sep 2020, 15:35
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 851

Re: FileSelectFile() : Supports multi-line filter

ah yes that explains why "*)" wasn't working without that last *
by gwarble
30 Sep 2020, 14:20
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 851

Re: FileSelectFile() : Supports multi-line filter

But instead of all this trouble, It would be better to create a custom TreeView based UI :( Thanks for looking in to it... using different directories and shortcuts would be too cumbersome and problematic of a solution but I like the creative thinking... because most of the files we deal with are e...
by gwarble
29 Sep 2020, 14:53
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 851

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 not...
by gwarble
29 Sep 2020, 13:08
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 851

Re: FileSelectFile() : Supports multi-line filter

awesome! thanks for this one obscure request... There is an undocumented (i think) trick to get file associations for files without extension to work by using HKEY_CLASSES_ROOT\.\ and I'm wondering if it would be possible to get the same effect here by using a filter like "NC Code (*.)" to get only ...
by gwarble
29 Sep 2020, 09:11
Forum: Ask For Help
Topic: Is there a way to put an icon outside the hidden tray icons by default?
Replies: 56
Views: 6901

Re: Is there a way to put an icon outside the hidden tray icons by default?

@gwarble Why do you think that a working solution does exist for the latest Windows version? only because of the linked examples above. I know there is a new interface for iTrayNotify as of Windows 8 that replaced the working version for Windows 7, so from the examples above I would only conclude t...
by gwarble
28 Sep 2020, 16:08
Forum: Ask For Help
Topic: Is there a way to put an icon outside the hidden tray icons by default?
Replies: 56
Views: 6901

Re: Is there a way to put an icon outside the hidden tray icons by default?

I'm still trying to make sense of it, but because of the differences between the two interfaces i think we need to use iNotificationCB for the callback (somehow) with iTrayNotifyWin8 MIDL_INTERFACE("D782CCBA-AFB0-43F1-94DB-FDA3779EACCB") INotificationCB : public IUnknown I think teadrinker got the p...
by gwarble
27 Sep 2020, 11:55
Forum: Ask For Help
Topic: Is there a way to put an icon outside the hidden tray icons by default?
Replies: 56
Views: 6901

Re: Is there a way to put an icon outside the hidden tray icons by default?

note to self and interested parties, here are some references to digest to help understand what is needed to convert iTrayNotify (functioning on Win7 thanks to @teadrinker above) to iTrayNotifyWin8 with these changes, id passed as second param to registercallback, new unregistercallback method using...
by gwarble
22 Sep 2020, 08:35
Forum: Scripts and Functions
Topic: RestartExplorer() : Updated version
Replies: 9
Views: 894

Re: RestartExplorer() : Updated version

I haven't either before! I will test again on Win10, but my simple test with your initial function runs explorer elevated on my two Win7 setups.

Code: Select all

;run as admin
F1::RestartExplorer()
Edit: not on Win10...
by gwarble
21 Sep 2020, 23:25
Forum: Scripts and Functions
Topic: RestartExplorer() : Updated version
Replies: 9
Views: 894

Re: RestartExplorer() : Updated version

i guess my confusion arose from expecting a forceful close if polite closing didn't work... I'd like to replace the taskkill in my version below but PostMessage, 0x111, 518, 0,, ahk_class Shell_TrayWnd doesn't seem to do it for me on this Win10 setup... I will do more testing One other difference, t...
by gwarble
21 Sep 2020, 22:04
Forum: Ask For Help
Topic: Press key at exactly 20:00
Replies: 8
Views: 245

Re: Press key at exactly 20:00

once or every day at 20:00? untested example but I use this function a lot: SetTimer, PressKeyAtExactly200000, % -Until("200000") ;run once at the next 20:00 Until(Time="000000",Units="ms") { ;2016 gwarble FormatTime, _, %A_Now%, yyyyMMdd ;returns ms until time _ .= Time EnvSub, _, %A_Now%, s If (_ ...
by gwarble
20 Sep 2020, 18:07
Forum: Scripts and Functions
Topic: RestartExplorer() : Updated version
Replies: 9
Views: 894

Re: RestartExplorer() : Updated version

makes sense... thanks for the explanation

edit: I was able to get the same result with a simple test script and default WaitSecs:=10
I will try setting the default to 100 and see if the problem reoccurs
by gwarble
20 Sep 2020, 15:55
Forum: Scripts and Functions
Topic: RestartExplorer() : Updated version
Replies: 9
Views: 894

Re: RestartExplorer() : Updated version

thanks for sharing...
setting WaitSecs to 0 or 1 gives undesired results on two computers, Win7 and Win10 both Ahk U32, where explorer doesn't start back up... Not sure if there is a chase condition going on but I will try to test it on a super slow computer with higher times

Go to advanced search