Hotkey for Windows Spy?? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
chase1
Posts: 18
Joined: 15 Jul 2016, 19:42

Hotkey for Windows Spy??

23 Jul 2016, 01:43

I love windows spy, I'd like to be able to have a hotkey for it. But windows spy doesn't work on itself, so I do not know what to call it.

I want something short of using mousemove and rightclick on the ahk shortcut and enable it.

Any help is helpful!

Thanks
chase1
Posts: 18
Joined: 15 Jul 2016, 19:42

Re: Hotkey for Windows Spy??  Topic is solved

23 Jul 2016, 02:15

Solved it

^n::
run, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoHotkey\Active Window Info (Window Spy).lnk
return

I opened it and looked at the properties in the taskbar
Swannie
Posts: 30
Joined: 02 Feb 2016, 13:24

Re: Hotkey for Windows Spy??

23 Jul 2016, 10:57

You didn`t really need a hotkey to open one program. Click on program --- send to desktop as shortcut -----copy to taskbar....delete shortcut on desktop.
I wrote a small app to make it easier for me while working with AutoHotkey

Code: Select all


#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn ; Recommended for catching common errors.
#SingleInstance, force
SetWorkingDir, %A_Scriptdir%
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
Menu, Tray, Icon, C:\WINDOWS\My Own Icons\AutoHotkey.ico

Gui, color, 3333ff
Gui, Font, S10  ,CDefault, Comic Sans
Gui, Add, Text, x45 y315 w195 h0 , Text

Gui, Add, Button, x-108 y-56 w306 h54 , Button
Gui, Add, Button, x47 y68 w179 h31 , Auto Script Writer
Gui, Add, Button, x47 y109 w179 h31 , Active Window Info
Gui, Add, Button, x47 y149 w179 h31 , Mouse Co-ordinates Display
Gui, Add, Button, x47 y190 w179 h31 , Realtime Code Tester
Gui, Add, Button, x47 y229 w179 h31 , Resource Hacker
Gui, Add, Button, x47 y270 w179 h31 , @icon Sushi
Gui, Add, Button, x47 y310 w179 h31 , UPX Compress/Decompress
;Gui, Add, Button, x47 y340 w179 h31 , 
;Gui, Add, Button, x47 y370 w179 h31 , 
;Gui, Add, Button, x47 y400 w179 h31 , 

;Gui, Add, Text, x48 y11 w363 h26 +Center, Programming
;Gui Font, S14 CDefault Bold, Comic Sans

Gui, Add, Picture, x6 y70 w30 h30 , C:\WINDOWS\My Own Icons\Auto Script Writer.ico
Gui, Add, Picture, x6 y110 w30 h30 , C:\WINDOWS\My Own Icons\Active Window Info.ico
Gui, Add, Picture, x6 y150 w30 h30 , C:\WINDOWS\My Own Icons\Mouse Co-ordinates Display.ico
Gui, Add, Picture, x6 y190 w30 h30 , C:\WINDOWS\My Own Icons\Scratchpad.ico
Gui, Add, Picture, x6 y230 w30 h30 , C:\WINDOWS\My Own Icons\Resource Hacker.ico
Gui, Add, Picture, x6 y270 w30 h30 , C:\Windows\My Own Icons\Aicon Sushi.ico
Gui, Add, Picture, x6 y310 w30 h30 , C:\WINDOWS\My Own Icons\UPX.ico
;Gui,  Add,  Picture, x6 y400 w30 h30 ,C:\WINDOWS\My Own Icons\


; Generated using SmartGUI Creator 4.0
Gui, Show, x142 y91 h360 w300, AHK Programming ; Verstel hoogte of breedte van Gui
Return


Button@iconSushi:
Run, C:\Program Files (x86)\aicon\aicon.exe
return

ButtonActiveWindowInfo:
Run, C:\Program Files\AutoHotkey\AU3_Spy.exe
return


ButtonMouseCo-ordinatesDisplay:
Run, C:\Program Files\AutoHotkey\Mouse Co-ordinates Displayed.exe
return


ButtonAutoScriptWriter:
Run, C:\Program Files\AutoHotkey\AutoScriptWriter\AutoScriptWriter.exe
return


ButtonRealtimeCodeTester:
Run, C:\Program Files\AutoHotkey\Real time code tester.exe
return

ButtonResourceHacker:
Run, C:\Program Files (x86)\Resource Hacker\ResHacker.exe
return

ButtonUPXCompress/Decompress:
Run, C:\Program Files\AutoHotkey\UPX Compression and or Decompression\fupx.exe
return


GuiClose:
ExitApp
Esc::ExitApp


Swannie
Posts: 30
Joined: 02 Feb 2016, 13:24

Re: Hotkey for Windows Spy??

23 Jul 2016, 11:05

I have no idea why my screenshot attachment does not show in my reply.
I`ll try again with this post.
SmartManoj
Posts: 6
Joined: 23 Apr 2018, 06:51
Contact:

Re: Hotkey for Windows Spy??

03 Oct 2018, 10:40

^!s::
run, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoHotkey\AutoIt3 Window Spy.lnk
return
SK of WV
Posts: 1
Joined: 26 Apr 2021, 11:45

Re: Hotkey for Windows Spy??

26 Apr 2021, 11:47

Here's a simple solution:

^!w::
run, C:\Program Files\AutoHotkey\WindowSpy.ahk
return
gregster
Posts: 8990
Joined: 30 Sep 2013, 06:48

Re: Hotkey for Windows Spy??

26 Apr 2021, 11:58

SK of WV wrote:
26 Apr 2021, 11:47
Here's a simple solution:

^!w::
run, C:\Program Files\AutoHotkey\WindowSpy.ahk
return
Afaics, this topic related to an older version of the current Window Spy, a predecessor.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: haomingchen1998, Thorlian and 289 guests