creating a script that will force RM to reload after exiting from hibernation
Unfortunately, I don't know how to make a script which will notify me when computer is resuming from a hibernation. I tried TheGood's Wrapper to catch Power Management events but I can't catch resuming from hibernation event on my Win7.
If somebody will give me ready to use the code which will notify me when computer is resuming from a hibernation, and which will work on WinXP, Win Vista, Win 7 and Win 8, I'll be very motivated to develop Redraw function in RM2module, which will redraw all radial menus and docks.
To learn how to send messages to RM4, open RM4\Utilities\RM messages tester.ahk. For example, to send message to RM4 to reload itself from another script/process, you'll need this;
F1::PostMessage("Radial menu - message receiver",02) ; reload RM4 PostMessage(Receiver,Message) { oldTMM := A_TitleMatchMode, oldDHW := A_DetectHiddenWindows SetTitleMatchMode, 3 DetectHiddenWindows, on PostMessage, 0x1001,%Message%,,,%Receiver% ahk_class AutoHotkeyGUI SetTitleMatchMode, %oldTMM% DetectHiddenWindows, %oldDHW% }
Sending a message to RM4 from another script/process which tells RM4 to show specific menu in click to select mode, or to change profile is not implemented yet (but it can be done). If you are developing your own app with radial menus, see examples in RM2module.