Search found 524 matches
- 21 Sep 2020, 22:04
- Forum: Ask for Help (v1)
- Topic: Press key at exactly 20:00
- Replies: 8
- Views: 541
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 (_ ...
- 20 Sep 2020, 18:07
- Forum: Scripts and Functions (v1)
- Topic: RestartExplorer() : Updated version
- Replies: 14
- Views: 3801
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
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
- 20 Sep 2020, 15:55
- Forum: Scripts and Functions (v1)
- Topic: RestartExplorer() : Updated version
- Replies: 14
- Views: 3801
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
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
- 20 Sep 2020, 15:38
- Forum: Scripts and Functions (v1)
- Topic: ToGrayscale() : Converts GDI bitmap to Greyscale
- Replies: 30
- Views: 6120
Re: ToGrayscale() : Converts GDI bitmap to Greyscale
thanks, very useful and clever solution!
- 18 Sep 2020, 08:22
- Forum: Scripts and Functions (v1)
- Topic: XP Luna Shutdown Dialog for Windows 10
- Replies: 10
- Views: 1481
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
for the buttons i would recommend looking into class ImageButton for the most aesthetically pleasing results
- 18 Sep 2020, 00:17
- Forum: Scripts and Functions (v1)
- Topic: XP Luna Shutdown Dialog for Windows 10
- Replies: 10
- Views: 1481
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...
- 17 Sep 2020, 21:35
- Forum: Scripts and Functions (v1)
- Topic: XP Luna Shutdown Dialog for Windows 10
- Replies: 10
- Views: 1481
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/
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/
- 09 Sep 2020, 19:32
- Forum: Scripts and Functions (v1)
- Topic: EitherMouse 0.8 - Multiple mice, individual settings...
- Replies: 392
- Views: 212626
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...
- 02 Sep 2020, 18:51
- Forum: Wish List
- Topic: Wait for accessibilityId
- Replies: 2
- Views: 921
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:
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
- 02 Sep 2020, 16:57
- Forum: Ask for Help (v1)
- Topic: How to improve reescaled photos on a gui?
- Replies: 5
- Views: 282
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
- 28 Aug 2020, 15:21
- Forum: Ask for Help (v1)
- Topic: Mouse move randomly when script is not running
- Replies: 5
- Views: 353
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
nevermind, if you restarted and its still doing it then I agree it must be some other software or hardware
- 28 Aug 2020, 15:18
- Forum: Ask for Help (v1)
- Topic: Dynamic variables Topic is solved
- Replies: 5
- Views: 389
Re: Dynamic variables Topic is solved
going back to your original method, Tech%ServiceW%++ doesn't really make sense (what does the ++ apply to?)
you probably want this instead:
your variable names will always begin with the text "Tech" this way...
you probably want this instead:
Code: Select all
ServiceW++
Tech%ServiceW%
- 15 Aug 2020, 12:34
- Forum: Scripts and Functions (v1)
- Topic: Navigate between Bookmarks in MS Word
- Replies: 3
- Views: 1783
Re: Navigate between Bookmarks in MS Word
nice, thanks for sharing i would have assumed the order of the bookmarks would be the order created since word doesn’t give you an option to reorder them if this is unpredictable you could iterate through them all and use Bookmark.Range.Start to find the one closest to your current cursor position o...
- 15 Aug 2020, 07:07
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22123
Re: Compass - Measure angles and scale distances with your mouse
Everyone is different, but I learn by trying to accomplish tasks and then improving piece by piece. This isn't a very basic task, so start with something basic that you waste time doing (like maybe writing the same email every week or filling out a form every visit). The Ask for Help forum will be u...
- 12 Aug 2020, 14:12
- Forum: Scripts and Functions (v1)
- Topic: EitherMouse 0.8 - Multiple mice, individual settings...
- Replies: 392
- Views: 212626
Re: EitherMouse 0.8 - Multiple mice, individual settings...
Thats the real problem with aggressive false positives, people are now clicking through and accepting on things without even thinking about it because you have to do the same thing for clearly legitimate programs! grr
- 12 Aug 2020, 09:18
- Forum: Scripts and Functions (v1)
- Topic: EitherMouse 0.8 - Multiple mice, individual settings...
- Replies: 392
- Views: 212626
Re: EitherMouse 0.8 - Multiple mice, individual settings...
Sorry all, these false positive virus problems are driving me away from even wanting to bother!! its a good thing I don't make a living off this
Please report issues to Google/Microsoft/Antivirus Vendor as well because I don't think they listen to me
Please report issues to Google/Microsoft/Antivirus Vendor as well because I don't think they listen to me
- 09 Aug 2020, 13:48
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22123
Re: Compass - Measure angles and scale distances with your mouse
my advice would be to learn to use AutoHotkey, all of that should be possible but its very niche/unique end user base so you’re never going to get the customizability you would if you understand a few basic things the code is doing it and tweak away from there as for your ideas, all seem useful for ...
- 07 Aug 2020, 17:03
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22123
Re: Compass - Measure angles and scale distances with your mouse
yeah I agree its probably managing startup and shutdown of GDI+ a little more carefully, I havent had a chance to dig into it yet.
I will keep adding to this functionality and share what I like, its already proved useful on two machined parts today!
I will keep adding to this functionality and share what I like, its already proved useful on two machined parts today!
- 06 Aug 2020, 18:24
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22123
Re: Compass - Measure angles and scale distances with your mouse
I was also playing around with the crosshair before you click once ctrl+alt is held: add to script: ^Alt:: Compass.Crosshair() Return add to class: Crosshair() { if (this.Lines.MaxIndex() < 1) { ; If there are no existing lines, start GDIP this.GetWinArea() this.GDIP_Start() this.GDIP_Setup() } Coor...
- 06 Aug 2020, 18:19
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22123
Re: Compass - Measure angles and scale distances with your mouse
Replace the static variables with this (mainly add a Cross variable, I set some defaults how I'd want): static Color1 := 0x55000000, Color2 := 0x990066ff, Lineweight1 := 1 , ScaleFactor := 1., Units := "pixels", Snap := true, Cross := 20 and replace this function: GDIP_DrawLine(StartX, CurrentX, Sta...