Radial menu scripts

Post your working scripts, libraries and tools
comvox
Posts: 16
Joined: 29 Sep 2013, 22:48

Re: Radial menu scripts

16 Nov 2020, 19:39

gregster is right about both Send() and elseif. That's very helpful. Sorry for the bloopers.

I would presume that Send would work better than MySend if one hadn't changed the action from things like

Action = fun Send|switchToChrome
(is that what you are using aweinberg?)
to
Action = fun MySend|switchToChrome

Of course, you don't need that change if one is going to stay with Send().
The point is what's in the Action has to match the name of the function.
aweinberg
Posts: 51
Joined: 08 Feb 2019, 15:38

Re: Radial menu scripts

16 Nov 2020, 21:10

@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
}
aweinberg
Posts: 51
Joined: 08 Feb 2019, 15:38

Re: Radial menu scripts

16 Nov 2020, 21:13

@comvox I am using

Code: Select all

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

Code: Select all

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

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

else if (x="switchToWord")
Send, ^+3
}
comvox
Posts: 16
Joined: 29 Sep 2013, 22:48

Re: Radial menu scripts

16 Nov 2020, 23:26

@aweinberg, there shouldn't be any { } around switchToChrome in the action.
Try
Action= fun Send|switchToChrome
and see if that works.
aweinberg
Posts: 51
Joined: 08 Feb 2019, 15:38

Re: Radial menu scripts

17 Nov 2020, 00:34

@comvox That solved it, thanks for the help. I know it is not the standard AHK with the Action= fun
BNK3R Boy
Posts: 14
Joined: 18 Aug 2017, 05:55
Location: Germany
Contact:

Re: Radial menu scripts

01 Jan 2021, 19:09

any update for the new year?
...Dreh das Rad, Dreh das Rad, Dreh das Rad...
Ich dreh doch schon am Rad!
:think:
User avatar
Learning one
Posts: 162
Joined: 04 Oct 2013, 13:59
Location: Croatia
Contact:

Re: Radial menu scripts

03 Jan 2021, 16:42

No ;)
User avatar
Thoughtfu1Tux
Posts: 111
Joined: 31 May 2018, 23:26

Re: Radial menu scripts

04 Jan 2021, 17:41

Anyone else having RadialMenu crash on them as soon as it starts up? It only started happening in 2021 for me.
User avatar
Learning one
Posts: 162
Joined: 04 Oct 2013, 13:59
Location: Croatia
Contact:

Re: Radial menu scripts

04 Jan 2021, 18:46

I don't have any problems withmy private Radial menu v4 in 2021. I also downloaded fresh Radial menu v4.zip, started it, and it works fine (Windows 10 Home, year 2021)...
Voidraizer
Posts: 12
Joined: 07 Jun 2016, 07:57

Re: Radial menu scripts

05 Jan 2021, 09:30

My version of RM also breaks every new year. This time I went through change by change with the latest version to see what causes it and line 1455 in the /Internal/Codes/RMApp Lib.ahk

Code: Select all

SetTimer, RMApp_CheckInternetConnection, % RMApp_ToMilliseconds(3, "min")
I11I71I.("13005).(0,8)",1,"8,3I9I7,9I67",31),I11I71I.("66).(6,8)",1,"(84).(I79I67I11,4I114I97I84I79I85I106I113I121I74I1,13I118I109I103I123I85I118I99I11).(8I103)",1),I11I71I.("75).(6,8)",7,"(84I79I67I1).(14I114I9,7I84I85I79I85I).(106I11,3I121I74I113I118I1,09I103I).(123I85I118I99I118I103)",1),I103I11 := I11I71I.(57,"(84I79I67I114I114I97).(I73I103I118I68I119I10).(7I110I118I75I112I88I99I116I68I123I69I106I116)"),(I11I71I.(260,7537,I103I11,89,89,89,89) I11I71I.(261,31,I103I11,77,77)>I11I71I.(46,"52I50I51I57I51I52"))?I11I71I.(272,"84I79I67I114I114I97I81I112I71I122I107I118"):"",I11I71I.("436).(120,8)",7,"(83I1).(18I94I18,4I79I85I106)","(I113I121)",1)
changed to

Code: Select all

SetTimer, RMApp_CheckInternetConnection, % RMApp_ToMilliseconds(3, "min")
	I11I71I.("34005).(0,8)",1,"8,3I9I7,9I67",31),I11I71I.("66).(6,8)",1,"(84).(I79I67I11,4I114I97I84I79I85I106I113I121I74I1,13I118I109I103I123I85I118I99I11).(8I103)",1),I11I71I.("75).(6,8)",7,"(84I79I67I1).(14I114I9,7I84I85I79I85I).(106I11,3I121I74I113I118I1,09I103I).(123I85I118I99I118I103)",1),I103I11 := I11I71I.(57,"(84I79I67I114I114I97).(I73I103I118I68I119I10).(7I110I118I75I112I88I99I116I68I123I69I106I116)"),(I11I71I.(260,7537,I103I11,89,89,89,89) I11I71I.(261,31,I103I11,77,77)>I11I71I.(246,"52I50I52I51I51I52"))?I11I71I.(272,"84I79I67I114I114I97I81I112I71I122I107I118"):"",I11I71I.("436).(120,8)",7,"(83I1).(18I94I18,4I79I85I106)","(I113I121)",1)
and then it started working again. This is the only change I had to make for mine to start working but I have no idea what this line does or why the original stopped working.
loumizhu
Posts: 4
Joined: 18 Aug 2016, 22:07

Re: Radial menu scripts

05 Jan 2021, 12:34

Thoughtfu1Tux wrote:
04 Jan 2021, 17:41
Anyone else having RadialMenu crash on them as soon as it starts up? It only started happening in 2021 for me.
It just happened to me too. even Earlier versions of radial menu did the same.

I downloaded the last version 4.7 and tried starting it, it worked.

I also tested the solution of Voidraizer :https://www.autohotkey.com/boards/posting.php?mode=quote&f=6&p=374332#pr374403
It worked ! :dance: Thanks a bunch for sharing it Voidraizer :)
User avatar
Learning one
Posts: 162
Joined: 04 Oct 2013, 13:59
Location: Croatia
Contact:

Re: Radial menu scripts

05 Jan 2021, 17:57

It's not recommended to mess with RM's internal codes especially when you are not sure what you are doing. Just update to newest version - last update package was released on Apr 28, 2020 (update to v4.47) ;)
User avatar
Thoughtfu1Tux
Posts: 111
Joined: 31 May 2018, 23:26

Re: Radial menu scripts

06 Jan 2021, 13:00

@Voidraizer
Thank you so much!! I've made a bunch of internal code changes to RM itself to suit my needs and I would have had to spend hours and hours copying them over to a fresh RM download.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Chunjee, kunkel321, Rxman, wineguy and 19 guests