AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RADIAL MENU scripts - updates - 29.01.2012.
Goto page Previous  1, 2, 3, 4 ... 46, 47, 48  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
doyle



Joined: 14 Nov 2007
Posts: 325
Location: London, England

PostPosted: Thu Nov 19, 2009 12:27 pm    Post subject: Reply with quote

Looking very good indeed.
Back to top
View user's profile Send private message Visit poster's website
Moebius



Joined: 08 Mar 2009
Posts: 28

PostPosted: Thu Nov 19, 2009 3:06 pm    Post subject: Reply with quote

looks very promising - i hope that its also fast and easy to setup Very Happy
_________________
http://monschein.org
Back to top
View user's profile Send private message
Learning one



Joined: 04 Apr 2009
Posts: 1001
Location: Croatia

PostPosted: Thu Nov 19, 2009 3:53 pm    Post subject: Reply with quote

Thanks. Smile

I forgot to upload my favorite skin...
Here it is; Radial menu v3 preview2

That's how it looks. I just captured my screen. No additional photo editing.
Back to top
View user's profile Send private message Visit poster's website
horntail



Joined: 03 Aug 2009
Posts: 69
Location: UK

PostPosted: Thu Nov 19, 2009 4:30 pm    Post subject: Reply with quote

the button shadows are a nice touch
Back to top
View user's profile Send private message
netfun81



Joined: 28 Oct 2006
Posts: 58

PostPosted: Thu Nov 19, 2009 9:22 pm    Post subject: Reply with quote

Here is an older radial menu script.. Look isn't great but configuration was good... might be some ideas come from it.

http://www.autohotkey.com/forum/topic7242.html
Back to top
View user's profile Send private message
Learning one



Joined: 04 Apr 2009
Posts: 1001
Location: Croatia

PostPosted: Fri Nov 20, 2009 4:31 pm    Post subject: Reply with quote

ReflexNPG wrote:
i hope that its also fast and easy to setup

It's rocket fast, (maybe even slightly faster than RM v2!)
It's very easy to setup if you use some predefined style settings and just change Item name and Item action.
If you want to completely change style than it is more complicated...
(Items are always auto positioned)

In fact, in more than 90% cases, you only have to change Item name and Item action...
Here is .ini file that RM v3 currently uses:
Code:
----------------------------------------------------------------------------------------------------
ITEMS
----------------------------------------------------------------------------------------------------
[Item1]
Name=       
Action=       C:\WINDOWS\explorer.exe
YPosition=    22
Icon=      Windows explorer.png
IconShrink =    20

[Item2]
Name=       Notepad
Action=       C:\WINDOWS\notepad.exe
YPosition=    28
Icon=      Notepad.png
IconShrink =    20

[Item3]
Name=       
Action=       C:\WINDOWS\system32\calc.exe
YPosition=    28
Icon=      Calculator.png
IconShrink =    20

[Item4]
Name=       
Action=       C:\WINDOWS\system32\mspaint.exe
YPosition=    28
Icon=      Paint.png
IconShrink =    20

[Item5]
Name=       Avidemux
Action=       http://fixounet.free.fr/avidemux/
YPosition=    28
Icon=       Avidemux.png
IconShrink =    16

[Item6]
Name=       
Action=       C:\Program Files\Windows Media Player\wmplayer.exe
YPosition=    16
Icon=      Windows Media Player.png
IconShrink =    20

[Item7]
Name=       
Action=       C:\Program Files\Movie Maker\moviemk.exe
YPosition=    16
Icon=      Windows Movie Maker.png
IconShrink =    20

[Item8]
Name=       
Action=       
YPosition=    28
Icon=      
IconShrink =    20

[Item9]
Name=       
Action=       
YPosition=    28
Icon=      
IconShrink =    20

----------------------------------------------------------------------------------------------------
GENERAL
----------------------------------------------------------------------------------------------------
[General]

RMShowHotkey =      RButton
ShowDelay =       220

MenuBackground =    RMbackground.png
ButtonBackground =    BlankBall3.png

SoundOnSelect =      1
SelectEffect =       shake
DestroyEffect =       0

Font =          Arial
TextSize =       12
TextColor =       FFFFFF
TextAntialias =       1
TextTrans =       DE

Shadow =       1
ShadowColor =       111119

ButtonSize =      75
WheelRadiusFactor =   11
MinWheelRadius =    59


And one more screenshot
Radial menu v3 preview3
Back to top
View user's profile Send private message Visit poster's website
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Fri Nov 20, 2009 4:39 pm    Post subject: Reply with quote

Looks very nice indeed, I hope the amount of Items can be changed as well [1-99]? Smile

EDIT:
There are also some functions (like the ones in ToolTip() ) that can find associated icon automatically, would be great as well Smile
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
TomXIII



Joined: 14 Apr 2009
Posts: 182

PostPosted: Sun Nov 22, 2009 9:57 pm    Post subject: Reply with quote

Whooooaaaahhhh!!!!!
The first time I read this post I was really impressed, but the graphics quality stopped me! I really want to know how you use GDI+
Please give us v3 before this night!!!
Quote:
Looks very nice indeed, I hope the amount of Items can be changed as well [1-99]?

@HotkeyIt: Look at my version. I coded the solution. The main problem is that is more difficult to remember items position when you change this number.
(sorry for my poor english!)

Edit (22/11/09 21h15 GMT): Finally, after this afternoon I succeed! Here is my screenshot

Thanks for the GDI+ advice and also for gdip.ahk!!!

Tips: If you want to have the icon of a website (favicon, to the left of the url!), type the root url of the website and add "favicon.ico" and then save the icon.
Ex: for google: http://www.google.com/favicon.ico
Back to top
View user's profile Send private message
Learning one



Joined: 04 Apr 2009
Posts: 1001
Location: Croatia

PostPosted: Mon Nov 23, 2009 10:45 am    Post subject: Reply with quote

Hello, all

I see that people like my Radial menu scripts, especially v3 previews.

Radial menu v3:
- looks great
- has good concept
- is fast
- is useful/functional piece of code
- has great potential to become even better
- has potential to be released as donationware or even as commercial software one day

I have one big problem; I have a plenty of ideas and enthusiasm,
but I don't have enough time to fully develop Radial menu v3. I haven't done nothing new
for days, I simply don't have time...

So I decided to give you Radial menu v3 code (not totally finished) and all other stuff under one condition;
No matter how much Radial menu v3 and all further versions based on it evolve, my share in
authorship will always be minimum 51%. I think this is the minimum I deserve.
Download Radial menu v3 package here.

That's it. I'll be back in the project as soon as I can.
Continue development, respect my authorship, and good luck!

Learning one
Back to top
View user's profile Send private message Visit poster's website
TomXIII



Joined: 14 Apr 2009
Posts: 182

PostPosted: Tue Nov 24, 2009 3:48 pm    Post subject: Reply with quote

@Learning one:
Quote:
Thanks: Tic, TomXIII, Lexikos, and others
Thank you too!
Quote:
; Auto WheelRadius in development! @TomXIII: I'm sure that you can improve this.
Yes I can! I'll work on it next week-end!

Sorry but I have a problem with this version. If I edit the 9th item, it doesn't appear! I keep testing it!

As you give us the code, I can now give you mine! (not clean but quite good!)
http://www.autohotkey.net/~TomXIII/RM%20Launcher.ahk
http://www.autohotkey.net/~TomXIII/IniFunctions.ahk
http://www.autohotkey.net/~TomXIII/Gdip.ahk Thank you Tic!
http://www.autohotkey.net/~TomXIII/background.png
http://www.autohotkey.net/~TomXIII/foreground.png
http://www.autohotkey.net/~TomXIII/cancel.png

Be careful, I used a different folder tree!
%A_ScriptDir%\AppData\ for Settings.ini
%A_ScriptDir%\AppData\icons\ for icons

@All:I post my code to give you some of mine solutions. That is the version I use but keep using the Learning one version!!! He is the original creator!!!

back @Learning one: Now you have 90%! Lol


Edit (23/11/09 22h16 GMT):

@Learning one: I have the formula for auto WheelRadius!
Code:
wheelRadius := ButtonSize/(2*Sin(pi/TotalButtons))

Put the formula before xOffset and yOffset
Like this:
Code:
;===Create buttons===
Loop, %TotalButtons%
{   
   ;===Calculate positions===
   deg := deg ? deg+(360/TotalButtons): (360/TotalButtons)+90
   rad := deg*(pi/180)

   wheelRadius := ButtonSize/(2*Sin(pi/TotalButtons))

   xOffset := WheelRadius*(-1*Cos(rad))-picRadius
   yOffset := WheelRadius*(-1*Sin(rad))-picRadius
   itemX := mx1 + xOffset
   itemY := my1 + yOffset

It works very fine with my version!
WheelRadius custom setting is no more useful now, so I have to re-arrange the code.
Back to top
View user's profile Send private message
TomXIII



Joined: 14 Apr 2009
Posts: 182

PostPosted: Wed Nov 25, 2009 6:03 pm    Post subject: Reply with quote

Hi AHKers!
I included Auto WheelRadius option and tried to clean up the code.
Please take a moment to verify the traduction, I'm French and my English isn't good enough!
As my version is quite different from Radial Menu v3, I decided to rename my version to RM Launcher.

RM_Launcher v0.1.zip
Back to top
View user's profile Send private message
Maxmax14



Joined: 30 Mar 2008
Posts: 23
Location: France 14

PostPosted: Wed Nov 25, 2009 7:59 pm    Post subject: RADIAL MENU scripts -> Transform Action Reply with quote

@Learning one:

Hello,

I just have a look to Radial menu v3 : Very nice !

One suggestion : You should add a "transform,Deref,..." when you read .inifile Key "Action"
Action= %A_Windir%\explorer.exe should be recognize
(for me %A_Windir% is E:\windows no C:\windows)

MaxMax14
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Nov 26, 2009 1:32 am    Post subject: Reply with quote

i've tried the 0.1 version and it is tooooo slow.
Even with build delay 0 it takes ages until its up.
There should be an option to show it instantly.

Nobody looks at the items, if it is used daily - just a small gesture and thats it...the graphics are only for first time users...
Back to top
TomXIII



Joined: 14 Apr 2009
Posts: 182

PostPosted: Thu Nov 26, 2009 8:43 am    Post subject: Reply with quote

@Guest: Thank you for your comment!
In the last version I added a "sleep, 1" before each items display to have a special effect but you're right: The most important is quick launch and minimal gesture! How about the code, explicit or not explicit enough?

RM_Launcher v0.1:
At the end of RButton's hotkey part, comment/remove the "sleep,1" line
Code:
      itemNumber := itemsNbr<10 ? "0" . A_Index : A_Index
      Gui, %itemNumber%: Show, x%itemX% y%itemY% h%picSize% w%picSize%, Item%A_Index%
      Sleep, 1 <== Comment/remove this line for a quick display!
   }
   SetTimer, GetSelectedItem, 15
}
Return
Back to top
View user's profile Send private message
Learning one



Joined: 04 Apr 2009
Posts: 1001
Location: Croatia

PostPosted: Thu Nov 26, 2009 9:29 am    Post subject: Reply with quote

@TomXIII
TomXIII wrote:
@Learning one: I have the formula for auto WheelRadius!
Very Happy Wow! Well done! THANK YOU! Very Happy
TomXIII wrote:

Sorry but I have a problem with this version. If I edit the 9th item, it doesn't appear! I keep testing it!
When script finds just one Item without name or icon, it concludes that user doesn't want any more items, and ignores all others.
For example; if items 1,2,3 have names, item 4 doesn't, and items 5,6,7,8,9 again have names, script concludes that user wanted just 1,2,3 items to be shown in menu.
Code:
;===Count items===
Loop, 10                 ; (Loop, 99 in RM v3.1)
{
   if I%A_Index%Name =      ;  Blank name
   {
      if I%A_Index%Icon =   ;  Blank Icon
      {
         TotalButtons := A_Index - 1        ; Auto set TotalButtons
         Break
      }
   }
}


I tried your RM_Launcher v0.1.
Good job! I like it! Very Happy

@Maxmax14
Maxmax14 wrote:
I just have a look to Radial menu v3 : Very nice !
You should add a "transform,Deref,..." when you read .inifile Key "Action"
Thanks for compliments and suggestion.



@ALL
I managed to catch come free time again...
I coded Radial menu v3.1

Radial menu v3.1 improvements
- supports up to 98 items
- supports multiple item rings (auto ring positioning, of course)
- uses AutoWheelRadius developed by TomXIII (Thank you! Very Happy )
- auto Tooltips
- custom Tooltips
- enable/disable MouseAcceleration when menu is shown
- enable/disable better and more sounds (short .wav files)(SoundOnShow SoundOnHover SoundOnSelect SoundOnHide)


I have submenus concept in my head. I still don't need them so that improvement has low priority...
I also have Radial menu creator concept in my head. I still don't need it so that improvement has low priority too, but it's "a must have" if
I will release Radial menu as commercial software one day.
To do: find associated icon automatically - suggestion by HotKeyIt (Quote: "There are also some functions (like the ones in ToolTip() ) that can find associated icon automatically, would be great as well")


I also coded RMmg.
It is Radial menu v3 co-product. Totally different concept. It uses mouse gestures to identify selected item. ("mg" means mouse gestures).
I'll tell you more about it when I will have more time...

Some test results...


Last edited by Learning one on Thu Nov 26, 2009 10:42 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4 ... 46, 47, 48  Next
Page 3 of 48

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group