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.
Radial menu scripts
Re: Radial menu scripts
@Gregster functions.AHK belongs to Radial menu
With the proper else it, it does not work at all hmmm.
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
}
Re: Radial menu scripts
@comvox I am using
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
Text= switchToChrome
Icon=
Action= fun Send|{switchToChrome}
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
}
Re: Radial menu scripts
@aweinberg, there shouldn't be any { } around switchToChrome in the action.
Try
Action= fun Send|switchToChrome
and see if that works.
Try
Action= fun Send|switchToChrome
and see if that works.
Re: Radial menu scripts
@comvox That solved it, thanks for the help. I know it is not the standard AHK with the Action= fun
Re: Radial menu scripts
any update for the new year?
Ich dreh doch schon am Rad!

- Learning one
- Posts: 162
- Joined: 04 Oct 2013, 13:59
- Location: Croatia
- Contact:
- Thoughtfu1Tux
- Posts: 111
- Joined: 31 May 2018, 23:26
Re: Radial menu scripts
Anyone else having RadialMenu crash on them as soon as it starts up? It only started happening in 2021 for me.
- Learning one
- Posts: 162
- Joined: 04 Oct 2013, 13:59
- Location: Croatia
- Contact:
Re: Radial menu scripts
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)...
My Website • Join DropBox
-
- Posts: 12
- Joined: 07 Jun 2016, 07:57
Re: Radial menu scripts
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
changed to
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.
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)
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)
Re: Radial menu scripts
It just happened to me too. even Earlier versions of radial menu did the same.Thoughtfu1Tux wrote: ↑04 Jan 2021, 17:41Anyone else having RadialMenu crash on them as soon as it starts up? It only started happening in 2021 for me.
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 !


- Learning one
- Posts: 162
- Joined: 04 Oct 2013, 13:59
- Location: Croatia
- Contact:
Re: Radial menu scripts
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) 

My Website • Join DropBox
- Thoughtfu1Tux
- Posts: 111
- Joined: 31 May 2018, 23:26
Re: Radial menu scripts
@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.
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.