Page 1 of 1

Hotkey for Windows Spy??

Posted: 23 Jul 2016, 01:43
by chase1
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

Re: Hotkey for Windows Spy??  Topic is solved

Posted: 23 Jul 2016, 02:15
by chase1
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

Re: Hotkey for Windows Spy??

Posted: 23 Jul 2016, 10:57
by Swannie
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


[email protected]:
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



Re: Hotkey for Windows Spy??

Posted: 23 Jul 2016, 11:05
by Swannie
I have no idea why my screenshot attachment does not show in my reply.
I`ll try again with this post.

Re: Hotkey for Windows Spy??

Posted: 03 Oct 2018, 10:40
by SmartManoj
^!s::
run, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoHotkey\AutoIt3 Window Spy.lnk
return