Search found 51 matches

by AtleastItried
18 Nov 2018, 04:51
Forum: Ask For Help
Topic: Powershell script with response and no window?
Replies: 1
Views: 650

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
Topic: Wait untill process is running or suspended
Replies: 0
Views: 460

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
Topic: See if touch keyboard is active
Replies: 0
Views: 475

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
Topic: Can I emulate a mouse with my pen?
Replies: 0
Views: 466

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

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
Topic: Control youtube window while in fullscreen game
Replies: 0
Views: 424

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
Topic: Showing GUI ontop of fullscreen?
Replies: 3
Views: 682

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
Topic: Showing GUI ontop of fullscreen?
Replies: 3
Views: 682

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
Topic: Make a GUI that disappears when a Window isn't in focus anymore
Replies: 2
Views: 589

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
Topic: Make a GUI that disappears when a Window isn't in focus anymore
Replies: 2
Views: 589

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
Topic: Execute Subroutine on press and not on release
Replies: 5
Views: 875

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
Topic: Execute Subroutine on press and not on release
Replies: 5
Views: 875

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
Topic: How to detect UWP app running?
Replies: 0
Views: 474

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
Topic: Getting a GUI to move with another window?
Replies: 11
Views: 2132

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
Topic: Differentiate between device volume buttons and keyboard sound changes on a Surface Pro
Replies: 0
Views: 387

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
Topic: WainWaitNotActive not waiting
Replies: 1
Views: 419

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
Topic: How to paste clipboard to paint?
Replies: 3
Views: 895

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
Topic: How to paste clipboard to paint?
Replies: 3
Views: 895

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

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