Search found 5 matches

by sn0skier
18 Oct 2018, 14:05
Forum: Ask For Help
Topic: Multiple Virtual Desktops in Windows 10 and WinExist
Replies: 0
Views: 118

Multiple Virtual Desktops in Windows 10 and WinExist

I use the native Windows virtual desktops feature. I want to write a script that detects if a window exists only in the virtual desktop I'm currently in and ignores windows not in my current desktop. Is there any way to do this?
by sn0skier
04 Jan 2017, 15:47
Forum: Ask For Help
Topic: SendEvent is more reliable than SendPlay or SendInput
Replies: 6
Views: 2357

Re: SendEvent is more reliable than SendPlay or SendInput

IMO, it goes without saying. If SendInput was more reliable in every case, there'd be no reason to have the other two. Well, SendEvent was the old default and getting rid of it (or even changing it from default) might break old scripts. I certainly thought it was only there for this purpose. I get ...
by sn0skier
01 Jan 2017, 10:46
Forum: Ask For Help
Topic: SendEvent is more reliable than SendPlay or SendInput
Replies: 6
Views: 2357

SendEvent is more reliable than SendPlay or SendInput

This might be a bit nitpicky and possibly belongs in the "ask for help forum" but I spent an hour trying to get a Send ^c (also Send {ctrldown}c{ctrlup}) to work reliably in the Internet Explorer address bar using SendPlay and SendInput because these are documented as being more reliable. Eventually...
by sn0skier
21 Dec 2016, 13:12
Forum: Ask For Help
Topic: DllCall to get idle time until computer sleeps Topic is solved
Replies: 3
Views: 531

Re: DllCall to get idle time until computer sleeps Topic is solved

Are you a Wizard? Seriously though, tested it and it seems to work. I'm going to look at it more to see if I can understand how and where I went wrong, thanks for the help!
by sn0skier
21 Dec 2016, 11:46
Forum: Ask For Help
Topic: DllCall to get idle time until computer sleeps Topic is solved
Replies: 3
Views: 531

DllCall to get idle time until computer sleeps Topic is solved

hModule := DllCall("LoadLibrary", "str", "PowrProf.dll") : Is this best practice? DllCall("PowrProf\PowerGetActiveScheme", "Ptr", 0, "Ptr*", pguid) ; Saves Current Scheme GUID as pguid. Returns 9509584 which doesn't seem like it can possible be correct DllCall("PowrProf\PowerReadACValue", "Ptr", 0,...

Go to advanced search