Search found 51 matches

by AtleastItried
18 Nov 2018, 04:51
Forum: Ask for Help (v1)
Topic: Powershell script with response and no window?
Replies: 2
Views: 2172

Powershell script with response and no window?

I want to run a command in Powershell and use the response in Autohotkey. I have found a lot of information on how to run a powershell script, but none saying how I can use the reponse from it in Autohotkey. I have tried MsgBox % ComObjCreate("WScript.Shell").Exec("powershell.exe -ExecutionPolicy By...
by AtleastItried
17 Nov 2018, 14:54
Forum: Ask for Help (v1)
Topic: Wait untill process is running or suspended
Replies: 0
Views: 600

Wait untill process is running or suspended

I have been running this code every 25ms to get this information: IsProcessSuspended(pid) { For thread in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Thread WHERE ProcessHandle = " pid) { If (thread.ThreadWaitReason != 5) { Return True } Else { Return False } } } The problem is, that it is...
by AtleastItried
16 Nov 2018, 04:57
Forum: Ask for Help (v1)
Topic: See if touch keyboard is active
Replies: 0
Views: 642

See if touch keyboard is active

I am trying to do an action every time the touch keyboard is being opened or closed. But I have trouble detecting these event. WinSpy doesn't seem to detect it, and TabTip.exe always is running.
by AtleastItried
29 Sep 2018, 09:11
Forum: Ask for Help (v1)
Topic: Can I emulate a mouse with my pen?
Replies: 0
Views: 645

Can I emulate a mouse with my pen?

I have a fairly simple goal: Make my Surface pen act like a mouse when I'm pressing it onto my screen. Right now, some things are impossible to do in windows with only a pen and a touchscreen, especially when it comes to the web. An example would be google calendar, where ever since the pen behaviou...
by AtleastItried
28 Sep 2018, 03:41
Forum: Wish List
Topic: Hashes?
Replies: 0
Views: 1320

Hashes?

I have been looking for an official list of hashes for all the versions, but couldn't find one. Considering the installer doesn't have a signing publisher, I feel like we should at least be able to find a hash to compare it too.
by AtleastItried
16 Jun 2018, 15:53
Forum: Ask for Help (v1)
Topic: Control youtube window while in fullscreen game
Replies: 0
Views: 614

Control youtube window while in fullscreen game

I want a way to start/pause/skip the song I am listening to in my youtube tab in chrome. Is there a way to achieve that? I have been having a hard time addressing other windows while playing games.
by AtleastItried
03 May 2018, 20:17
Forum: Ask for Help (v1)
Topic: Showing GUI ontop of fullscreen?
Replies: 3
Views: 911

Re: Showing GUI ontop of fullscreen?

swagfag wrote:U can't, this will only work for windowed borderless "full screen" applications
I see. Is there any good way to trasform a fullscreen window into windowed mode, but without making the UI change?
by AtleastItried
03 May 2018, 19:30
Forum: Ask for Help (v1)
Topic: Showing GUI ontop of fullscreen?
Replies: 3
Views: 911

Showing GUI ontop of fullscreen?

I have made a GUI:

Gui +AlwaysOnTop

I not only want it to be alwaysontop, but also always showing over fullscreen applications. In this case it works for Chrome Fullscreen, but if I try the same with Edge it doesn't appear anymore. How can I change this?
by AtleastItried
01 May 2018, 11:55
Forum: Ask for Help (v1)
Topic: Make a GUI that disappears when a Window isn't in focus anymore
Replies: 2
Views: 795

Re: Make a GUI that disappears when a Window isn't in focus anymore

softwareeater wrote:WinWaitNotActive can accept window groups: https://autohotkey.com/docs/misc/WinTitle.htm#ahk_group
I'm guessing you could add both OneNote and your GUI to a group and use that.
I will try, but wouldn't it then wait until either is Not Active instead of both and as such immediately pass?
by AtleastItried
01 May 2018, 11:20
Forum: Ask for Help (v1)
Topic: Make a GUI that disappears when a Window isn't in focus anymore
Replies: 2
Views: 795

Make a GUI that disappears when a Window isn't in focus anymore

I have made some code that only appears ontop of OneNote and offers some buttons. The problem I have with it is that when I press the button it gets focus so the GUI disappears. I have found two possible solutions, but I'm not sure how to implement them. My first idea would be to make the GUI unfocu...
by AtleastItried
01 May 2018, 10:58
Forum: Ask for Help (v1)
Topic: Execute Subroutine on press and not on release
Replies: 5
Views: 1104

Re: Execute Subroutine on press and not on release

As a sorta janky workaround, you could have a hotkey looking for mouse clicks, then have that hotkey do MouseGetPos to find the control under the mouse and trigger the label based on that. Have the buttons themselves not actually do anything. On the other hand, I could try to make the GUI not hide ...
by AtleastItried
01 May 2018, 08:50
Forum: Ask for Help (v1)
Topic: Execute Subroutine on press and not on release
Replies: 5
Views: 1104

Execute Subroutine on press and not on release

I made some code that adds some buttons over my OneNote Window. It works, but the buttons only fire when I relase by mouse/pen, not when I press it. The problem with that is, that if I hold it a bit too long it gets attention, and as such OneNote loses attention and the whole GUI hides itself for a ...
by AtleastItried
30 Apr 2018, 17:39
Forum: Ask for Help (v1)
Topic: How to detect UWP app running?
Replies: 1
Views: 804

How to detect UWP app running?

Code: Select all

WinWait ahk_exe onenoteim.exe
This was my best guess, but doesn't seem to work. I want a solution that won't trigger on another window that also contains OneNote in it's name, but can't find one.
by AtleastItried
30 Apr 2018, 15:18
Forum: Ask for Help (v1)
Topic: Getting a GUI to move with another window?
Replies: 12
Views: 6804

Getting a GUI to move with another window?

I want to put my GUI ontop of another window and rest it there. I have found this code: #NoEnv #NoTrayIcon #Persistent #SingleInstance, Off SetWinDelay, 0 SendMode Input SetBatchLines, -1 SetTitleMatchMode, 2 ;; Get ID of Notepad WinGet, WinID, ID, ahk_class Notepad,,, SetTimer, ShowGui, 500 ShowGui...
by AtleastItried
24 Nov 2017, 16:53
Forum: Ask for Help (v1)
Topic: Differentiate between device volume buttons and keyboard sound changes on a Surface Pro
Replies: 0
Views: 509

Differentiate between device volume buttons and keyboard sound changes on a Surface Pro

The surface pro has volume buttons on it. I tried to rebind them, but then also the keyboard option to change the volume would get changed. Is there any way to differentiate between those two?
by AtleastItried
03 Nov 2017, 13:11
Forum: Ask for Help (v1)
Topic: WainWaitNotActive not waiting
Replies: 1
Views: 559

WainWaitNotActive not waiting

I have the following code that is executed: SendInput #+s ErrorLevel:=0 WinWaitActive,ahk_class Microsoft-Windows-SnipperCaptureForm-WinShiftS,,2 if (ErrorLevel=1)Return Sleep 100 WinWaitNotActive,ahk_class Microsoft-Windows-SnipperCaptureForm-WinShiftS,, Run, msPaint.exe I want it to wait until the...
by AtleastItried
03 Nov 2017, 13:10
Forum: Ask for Help (v1)
Topic: How to paste clipboard to paint?
Replies: 3
Views: 1441

Re: How to paste clipboard to paint?

Simply re-scale the size of a new window to 1x1 px. Once you paste a new content to it it will be enlarged to its captured size. Beside that you could use GDI+ to create an image from a variable/the clipboard without using MSPaint. Is there an easy command to do that to a paint window? If I simply ...
by AtleastItried
03 Nov 2017, 12:53
Forum: Ask for Help (v1)
Topic: How to paste clipboard to paint?
Replies: 3
Views: 1441

How to paste clipboard to paint?

I want to paste an image from my clipboard to a new paint window. My problem is, that if the image is smaller that a certain size, thre will be a white border left. Is there an easy way to get rid of that?
by AtleastItried
02 Nov 2017, 21:44
Forum: Wish List
Topic: ahk still continued?
Replies: 14
Views: 5562

Re: ahk still continued?

guest3456 wrote: and who will pay the salaries?

I didnt say its possible, just that they deserve some form of compensation.

Go to advanced search