Search found 52 matches

by aweinberg
18 Feb 2021, 17:00
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177798

Re: Radial menu scripts

I don't want Radial Menu to run when I am using Blender.

Where would I add the code below to it to make it do nothing when in Blender?

Code: Select all

#IfWinActive, ahk_exe blender.exe
return
by aweinberg
14 Dec 2020, 23:57
Forum: Ask for Help (v1)
Topic: ControlGetFocus Reliability Problem
Replies: 1
Views: 197

ControlGetFocus Reliability Problem

ControlGetFocus works 7 out of 10 times. Is there a way to make it work more reliability? Just the Control focus part of the code below { ControlGetFocus, FocusedCtrl , ahk_exe Adobe Premiere Pro.exe If (FocusedCtrl = "Chrome_WidgetWin_01") return else { if PremiereTooltip.isPremiereActive() Send v ...
by aweinberg
14 Dec 2020, 23:16
Forum: Ask for Help (v1)
Topic: Adding in Focused Control
Replies: 6
Views: 684

Re: Adding in Focused Control

Thanks again, appreciate the help i added }} to the end and now it works. #NoEnv #SingleInstance Force #Warn ClassOverwrite SendMode Input SetBatchLines -1 SetTitleMatchMode 2 TooltipHotkeys := [new PremiereTooltip("V", "Selection tool", "The default tool, used to select clips in the timeline.") , n...
by aweinberg
14 Dec 2020, 22:51
Forum: Ask for Help (v1)
Topic: Adding in Focused Control
Replies: 6
Views: 684

Re: Adding in Focused Control

I keep getting errors how have I formatted my if else statement.

Code: Select all

	hideDescription(hwnd, keybind)
	{
		

{ControlGetFocus, FocusedCtrl , ahk_exe Adobe Premiere Pro.exe
If (FocusedCtrl = "Chrome_WidgetWin_01")
	return
	
	else
	
PremiereTooltip.isPremiereActive()
			{Send v }
			return
			
	}
}
by aweinberg
14 Dec 2020, 22:36
Forum: Ask for Help (v1)
Topic: Changing Variable From Key
Replies: 7
Views: 369

Re: Changing Variable From Key

Thank you!
by aweinberg
14 Dec 2020, 22:25
Forum: Ask for Help (v1)
Topic: Changing Variable From Key
Replies: 7
Views: 369

Re: Changing Variable From Key

Hmm broke the code. I''ll try to figure out how to get it working, thanks for the help, very appreciated.
by aweinberg
14 Dec 2020, 22:03
Forum: Ask for Help (v1)
Topic: Changing Variable From Key
Replies: 7
Views: 369

Re: Changing Variable From Key

Thanks for the reply Mike, I am getting an error at the line %hk% up:: Not sure how to make repeat the variable for the key wait command. $a:: $b:: $c:: $h:: $p:: $r:: $y:: #IfWinActive, ahk_exe Adobe Premiere Pro.exe Send % hk := StrReplace(A_ThisHotkey, "$") KeyWait, %hk% Return %hk% up:: ControlG...
by aweinberg
14 Dec 2020, 21:18
Forum: Ask for Help (v1)
Topic: Changing Variable From Key
Replies: 7
Views: 369

Changing Variable From Key

Instead of repeating the code (below) over and over as the only thing that changes are the keys c, a, b, y, h, p, r but the rest of the code is identical. How do I make the code pull form a variable key for (c, a, b, y, h, p, r) and insert that variable into the code. Below the c variable could be (...
by aweinberg
18 Nov 2020, 17:55
Forum: Ask for Help (v1)
Topic: Prevents Windows Shutting Down
Replies: 3
Views: 437

Re: Prevents Windows Shutting Down

Thanks for the quick reply, I found that if instead of hitting force shutdown for AHK I canceled the shutdown and AHK had a message showing what line of the script had an error.

I deleted that line and it shuts down fine now, weird it does not show the error except on shutdown, but fixed anyway.
by aweinberg
18 Nov 2020, 16:15
Forum: Ask for Help (v1)
Topic: Prevents Windows Shutting Down
Replies: 3
Views: 437

Prevents Windows Shutting Down

What in the script would prevent windows from shutting down? I have to click force shutdown or windows does not shutdown because of this script. #NoEnv #SingleInstance Force #Warn ClassOverwrite SendMode Input SetBatchLines -1 SetTitleMatchMode 2 TooltipHotkeys := [new PremiereTooltip("V", "Selectio...
by aweinberg
17 Nov 2020, 00:34
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177798

Re: Radial menu scripts

@comvox That solved it, thanks for the help. I know it is not the standard AHK with the Action= fun
by aweinberg
16 Nov 2020, 21:13
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177798

Re: Radial menu scripts

@comvox I am using Text= switchToChrome Icon= Action= fun Send|{switchToChrome} for the Radial menu button. I wonder why the code is still not working it looks to be correct, but now does nothing. My functions.ahk Send(x){ if (x="switchToExplorer") Send, ^+1 else if (x="switchToChrome") Send, ^+2 el...
by aweinberg
16 Nov 2020, 21:10
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177798

Re: Radial menu scripts

@Gregster functions.AHK belongs to Radial menu

With the proper else it, it does not work at all hmmm.

Code: Select all

Send(x){
if (x="switchToExplorer")
Send, ^+1

else if (x="switchToChrome")
Send, ^+2

else if (x="switchToWord")
Send, ^+3
}
by aweinberg
16 Nov 2020, 18:42
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177798

Re: Radial menu scripts

WIth Convox's code in My functions.AHK it does not do anything. MySend(x){ if (x="switchToExplorer") Send ^+1 elseif (x="switchToChrome") Send ^+2 elseif (x="switchToWord") Send ^+3 } If I edit the code and change the MySend(x) to Send(x) the code slightly works, but delivers either 2 sends at once ...
by aweinberg
16 Nov 2020, 12:02
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 337
Views: 177798

Re: Radial menu scripts

When I post my code below into My functions.AHK I get an error duplicate function definition when I start the exe, but if I use just one of the 3 actions it works fine. What have I coded wrong lol? Send(switchToExplorer) { Send, ^+1 return } Send(switchToChrome) { Send, ^+2 return } Send(switchToWor...
by aweinberg
15 Nov 2020, 12:50
Forum: Ask for Help (v1)
Topic: Adding in Focused Control
Replies: 6
Views: 684

Re: Adding in Focused Control

Thanks boiler and appreciate the explanation.
by aweinberg
15 Nov 2020, 01:28
Forum: Ask for Help (v1)
Topic: Adding in Focused Control
Replies: 6
Views: 684

Re: Adding in Focused Control

Here is my poor attempt that does not work

Code: Select all

#IfWinActive, ahk_exe Adobe Premiere Pro.exe
c::
send, c
keywait, c
return  

c up::

Process, Exist, DroverLord - Window Class77
;msgbox errorLevel `n%errorLevel%
	If errorLevel = 0
		Send v, 
return
	else
	return
	
by aweinberg
15 Nov 2020, 00:36
Forum: Ask for Help (v1)
Topic: Where to Hire AHK Programmer
Replies: 4
Views: 612

Re: Where to Hire AHK Programmer

Correct, I wrote the script below based off that, but it makes me unable to type in the program. The script I want tuned up does not have problems with typing in the program and I have no idea how to add key wait to that script. I need a pro to fix my script I just need to find one and I am willing ...
by aweinberg
15 Nov 2020, 00:14
Forum: Ask for Help (v1)
Topic: Adding in Focused Control
Replies: 6
Views: 684

Adding in Focused Control

How do I add focused control to my script, so it only works in the area? I got the focus control info from window spy. ClassNN: DroverLord - Window Class77 Text: DroverLord - TabPanel Window x: 782 y: 1379 w: 2849 h: 699 Client: x: 769 y: 1302 w: 2848 h: 699 My script is below: #NoEnv #SingleInstanc...

Go to advanced search