Search found 43 matches

by niczoom
07 Aug 2018, 21:44
Forum: Ask For Help
Topic: USB-UIRT Transmit
Replies: 13
Views: 1141

Re: USB-UIRT Transmit

Hi stevesmithtx, I've attached my complete HTPC script that I wrote. I went from using 'EventGhost' to Autohotkey around 2 years ago. The script contains hotkeys and functions which utilize my USBUIRT. Hope it helps in some way!
by niczoom
18 Sep 2017, 19:57
Forum: AHK Studio
Topic: AHK Studio
Replies: 1054
Views: 235483

Re: AHK Studio

Just a couple of questions: Is there an Output pane like in SciTE? If not where can I view output from FileAppend, Output Text,* Is it possible to dock (perhaps via hotkey) the 2 panes on the right hand side of AHKStudio? This is good for coding when the app is on 1 half of a widescreen monitor.
by niczoom
24 Aug 2017, 18:30
Forum: Ask For Help
Topic: Hotkey repeating after key is released Topic is solved
Replies: 7
Views: 804

Re: Hotkey repeating after key is released Topic is solved

Again, thanks for that just me . And from re-reading the help on Critical : By contrast, if the auto-execute section turns on Critical but never turns it off, every newly launched thread (such as a hotkey, custom menu item, or timed subroutine) starts off critical. ...since Critical is a thread-spec...
by niczoom
24 Aug 2017, 08:34
Forum: Ask For Help
Topic: Hotkey repeating after key is released Topic is solved
Replies: 7
Views: 804

Re: Hotkey repeating after key is released Topic is solved

Thanks 'justme' :bravo: for pointing this out. I most likely read that at some point as well :crazy:. Ok, i see what I was doing. When I used Critical in a function, I assumed (not sure why), that it was only on until that function finished processing! I see now that I need to use Critical Off at th...
by niczoom
24 Aug 2017, 07:45
Forum: Ask For Help
Topic: Hotkey repeating after key is released Topic is solved
Replies: 7
Views: 804

Re: Hotkey repeating after key is released Topic is solved

After some time I have located the issue. It seems to be when the command Critical is used. Here is the test code which replicates the issue I am having. #SingleInstance Force #Persistent ; Call test test() test() { Critical ; Do nothing } #IfWinActive ahk_class Notepad Space:: KeyWait, Space, T0.2 ...
by niczoom
24 Aug 2017, 04:50
Forum: Ask For Help
Topic: Hotkey repeating after key is released Topic is solved
Replies: 7
Views: 804

Re: Hotkey repeating after key is released Topic is solved

Hmm, you're right. When I tested it in its own script it worked as it should.

I'm not sure then what would be the cause. The script is around 4300 lines long. I'll attach it and see if someone can see something that I'm missing.
by niczoom
24 Aug 2017, 00:39
Forum: Ask For Help
Topic: Hotkey repeating after key is released Topic is solved
Replies: 7
Views: 804

Hotkey repeating after key is released Topic is solved

In my test script below the KeyWait command works by waiting until the user releases the space bar. But when the user releases the space bar after holding it for more than the timeout period it then 'repeats' the Space:: hotkey numerous times, depending on how long the space bar was held down. So in...
by niczoom
04 Jun 2017, 08:57
Forum: Ask For Help
Topic: How can i remove a window from taskbar and Alt+Tab window but still have access to it through an hotkey?
Replies: 5
Views: 967

Re: How can i remove a window from taskbar and Alt+Tab window but still have access to it through an hotkey?

Not sure why it left your Alt-Tab and/or Win-Tab button/image still visible, I'm using Win 10 and do not have this problem.
by niczoom
31 May 2017, 06:14
Forum: Ask For Help
Topic: How can i remove a window from taskbar and Alt+Tab window but still have access to it through an hotkey?
Replies: 5
Views: 967

Re: How can i remove a window from taskbar and Alt+Tab window but still have access to it through an hotkey?

I was looking to do the same/similar. I pulled the following code from here https://autohotkey.com/board/topic/81077-advanced-using-raw-com-interfaces-in-ahk/ . #SingleInstance Force #Persistent IID := "{56FDF342-FD6D-11d0-958A-006097C9A090}", CLSID := "{56FDF344-FD6D-11d0-958A-006097C9A090}", S_OK ...
by niczoom
24 Oct 2016, 22:16
Forum: Scripts and Functions
Topic: WinWaitCreated() - Wait for a new window
Replies: 27
Views: 8755

Re: WinWaitCreated() - Wait for a new window

Thankyou very much for this code.

It helped me dealing with newly created 'Explorer' windows.
by niczoom
08 Jul 2016, 19:17
Forum: Ask For Help
Topic: ControlSetText, not saving value in control Topic is solved
Replies: 6
Views: 1348

Re: ControlSetText, not saving value in control Topic is solved

Using ControlSend Edit4, {delete 3}15{Tab}, ahk_class #32770 did not work either, it changed the value but it doesn't stick. What I use now is : ControlClick Edit2, ahk_class #32770 Send {Backspace 2}7{Tab} The backspace is to delete any previous value (there is never more than 2), the Tab is option...
by niczoom
07 Jul 2016, 20:50
Forum: Ask For Help
Topic: ControlSetText, not saving value in control Topic is solved
Replies: 6
Views: 1348

Re: ControlSetText, not saving value in control Topic is solved

Ok, I found a solution which works. AC3Filter_MasterVolume() { ControlSetText Edit4,, ahk_class #32770 ; Clear value in control ControlClick Edit4, ahk_class #32770 ; Make control active ready for input Send 0 ; Send a value to the control ControlClick Button15, ahk_class #32770,,,,NA ; Click OK, ex...
by niczoom
07 Jul 2016, 20:11
Forum: Ask For Help
Topic: ControlSetText, not saving value in control Topic is solved
Replies: 6
Views: 1348

Re: ControlSetText, not saving value in control Topic is solved

I tried with ControlSend Edit4, {delete 3}15, ahk_class #32770 , same result, it entered the text ok but it does not save when exiting and opening the window. So, using either ControlSetText Edit4, 15, ahk_class #32770 and ControlSend Edit4, {delete 3}15, ahk_class #32770 change the value in the con...
by niczoom
07 Jul 2016, 00:38
Forum: Ask For Help
Topic: ControlSetText, not saving value in control Topic is solved
Replies: 6
Views: 1348

ControlSetText, not saving value in control Topic is solved

#persistent #singleInstance force #WinActivateForce detectHiddenWindows, on setWorkingDir %a_scriptDir% #Include <TrayIcon> ^+r:: WinGet hWnd, ID, A DisplayTaskbar(0) TrayIcons := TrayIcon_GetInfo() Loop % TrayIcons.MaxIndex() { if (InStr(TrayIcons[A_Index].Class,"AC3Filter") > 0) { TrayIcon_Button...
by niczoom
05 Jul 2016, 22:43
Forum: Ask For Help
Topic: First time using ControlGetText Topic is solved
Replies: 3
Views: 946

Re: First time using ControlGetText Topic is solved

Thanks for the replies. AC3Filter is a directshow sound filter, its only opened when a video is playing. It doesnt run as a seperate process (seems to be part of the parent process i.e. mpc-hc64.exe) but has its own tray icon, which when pressed show a window where you can change its settings. Im cu...
by niczoom
05 Jul 2016, 00:03
Forum: Ask For Help
Topic: First time using ControlGetText Topic is solved
Replies: 3
Views: 946

First time using ControlGetText Topic is solved

I have a program called AC3Filter which starts when im using MPC or VLC to watch a movie (pic attached). It sits in the tray on the taskbar, when clicked it opens a window up. Im trying to use ControlGetText to return some text from an 'Edit' control in this window. It returns the correct value when...
by niczoom
04 Jul 2016, 21:43
Forum: Ask For Help
Topic: [Solved] Enter does not work on a focused button but space does? Topic is solved
Replies: 2
Views: 652

Re: Enter does not work on a focused button but space does? Topic is solved

Excellent, thanks punchin. The 'Default' option worked perfectly. I must of skipped it in the docs, or read it and forgot :) ... I see your point about the gLabels as well, thanks for the tip.
by niczoom
04 Jul 2016, 21:08
Forum: Ask For Help
Topic: [Solved] Enter does not work on a focused button but space does? Topic is solved
Replies: 2
Views: 652

[Solved] Enter does not work on a focused button but space does? Topic is solved

Gui, Add, Button, w100 h50 gButtonOK, OK Gui, Add, Button, w100 h50 gButtonCancel , Cancel gui show, w200 GuiControl, Focus, OK ButtonOK: FileAppend ok`n,* Return ButtonCancel: FileAppend cancel`n,* ExitApp return In the above code I have set the 'OK' button to have focus. When its run both buttons...
by niczoom
25 Jun 2016, 09:08
Forum: Ask For Help
Topic: GuiControl not changing image when 'Gui, New' used ??
Replies: 2
Views: 582

Re: GuiControl not changing image when 'Gui, New' used ??

Thanks for pointing me in the right direction, I was going round in circles reading the docs, obviously too tired to take much in! I've been using AHK for a while but never for GUI's, so its been a learning experience ...
by niczoom
25 Jun 2016, 03:31
Forum: Ask For Help
Topic: GuiControl not changing image when 'Gui, New' used ??
Replies: 2
Views: 582

GuiControl not changing image when 'Gui, New' used ??

I pulled some code from a larger project. I am testing changing images using the GuiControl command, in the following code when I press the right arrow key my image changes (from Icon_Settings_0 to Icon_Settings_1): #SingleInstance force global IconResourcesPath := A_ScriptDir "\Resources\126466-mul...

Go to advanced search