Search found 453 matches

by gwarble
Today, 15:35
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 570

Re: FileSelectFile() : Supports multi-line filter

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

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
Yesterday, 14:53
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 570

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
Yesterday, 13:08
Forum: Scripts and Functions
Topic: FileSelectFile() : Supports multi-line filter
Replies: 25
Views: 570

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
Yesterday, 09:11
Forum: Ask For Help
Topic: Is there a way to put an icon outside the hidden tray icons by default?
Replies: 35
Views: 6175

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: 35
Views: 6175

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: 35
Views: 6175

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

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

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

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

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

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
by gwarble
20 Sep 2020, 15:38
Forum: Scripts and Functions
Topic: ToGrayscale() : Converts GDI bitmap to Greyscale
Replies: 14
Views: 362

Re: ToGrayscale() : Converts GDI bitmap to Greyscale

thanks, very useful and clever solution!
by gwarble
18 Sep 2020, 08:22
Forum: Scripts and Functions
Topic: XP Luna Shutdown Dialog for Windows 10
Replies: 9
Views: 283

Re: XP Luna Shutdown Dialog for Windows 10

good point, he’s definitely on another level (thanks for everything SKAN)

for the buttons i would recommend looking into class ImageButton for the most aesthetically pleasing results
by gwarble
18 Sep 2020, 00:17
Forum: Scripts and Functions
Topic: XP Luna Shutdown Dialog for Windows 10
Replies: 9
Views: 283

Re: XP Luna Shutdown Dialog for Windows 10

thanks for the detailed explanation, sounds like a great reason to me (and i love passion projects especially with nostalgia) in my screensaver I'm able to read that file without issue and without admin rights, which should mean you can copy it to a temp folder where you have write access and then r...
by gwarble
17 Sep 2020, 21:35
Forum: Scripts and Functions
Topic: XP Luna Shutdown Dialog for Windows 10
Replies: 9
Views: 283

Re: XP Luna Shutdown Dialog

very cool, can i ask why?

unless things have changed since 7, look for a file TranscodedWallpaper.jpg that you can backup and restore

or try the second post in this thread:
https://autohotkey.com/board/topic/82794-gdi-grayscalebitmap-converts-gdi-bitmap-to-greyscale/
by gwarble
09 Sep 2020, 19:32
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 135481

Re: EitherMouse 0.8 - Multiple mice, individual settings...

Thanks for the feedback... There is some misbehaving with RDP and VNC connections because of the way the window is accepting input and passing it along to the remote session. The best workaround I've found has been to actually revert back to the method I used in v0.1 of swapping mouse buttons, via h...
by gwarble
02 Sep 2020, 18:51
Forum: Wish List
Topic: Wait for accessibilityId
Replies: 2
Views: 221

Re: Wait for accessibilityId

i don't have an answer for your question, but maybe solve your problem a different way

i think there is a wmic way and a powershell way, but i think this is still supported:

Code: Select all

Run, rasdial vpnname
sleep, 30000
Run, rasdial vpnname /disconnect
by gwarble
02 Sep 2020, 16:57
Forum: Ask For Help
Topic: How to improve reescaled photos on a gui?
Replies: 5
Views: 64

Re: How to improve reescaled photos on a gui?

I would recommend using the GDI+ library (gdip.ahk, or gdip_all.ahk) directly and avoiding the resample.dll altogether if all its doing is GDI+ anyway. Gdip_SetInterpolationMode(G, 7) will give pretty good results, but I would try the other interpolation modes 2,3,4,6 and compare
by gwarble
28 Aug 2020, 15:21
Forum: Ask For Help
Topic: Mouse move randomly when script is not running
Replies: 5
Views: 131

Re: Mouse move randomly when script is not running

you mentioned you made sure that your compiled script wasn't running, but check if "AutoHotkey.exe" is also running by chance and if so, end it

nevermind, if you restarted and its still doing it then I agree it must be some other software or hardware

Go to advanced search