AutoHotkey Community

It is currently May 27th, 2012, 1:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 781 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 53  Next
Author Message
 Post subject:
PostPosted: November 19th, 2009, 1:27 pm 
Offline

Joined: November 14th, 2007, 2:47 pm
Posts: 335
Location: London, England
Looking very good indeed.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 4:06 pm 
Offline

Joined: March 9th, 2009, 12:15 am
Posts: 28
looks very promising - i hope that its also fast and easy to setup :D

_________________
http://monschein.org


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 4:53 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
Thanks. :)

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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 5:30 pm 
Offline

Joined: August 3rd, 2009, 4:44 pm
Posts: 69
Location: UK
the button shadows are a nice touch


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 10:22 pm 
Offline

Joined: October 28th, 2006, 5:01 pm
Posts: 58
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 5:31 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 5:39 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Looks very nice indeed, I hope the amount of Items can be changed as well [1-99]? :)

EDIT:
There are also some functions (like the ones in ToolTip() ) that can find associated icon automatically, would be great as well :)

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 22nd, 2009, 10:57 pm 
Offline

Joined: April 14th, 2009, 10:40 am
Posts: 182
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
ImageImage
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 23rd, 2009, 11:45 am 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 4:48 pm 
Offline

Joined: April 14th, 2009, 10:40 am
Posts: 182
@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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 7:03 pm 
Offline

Joined: April 14th, 2009, 10:40 am
Posts: 182
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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: November 25th, 2009, 8:59 pm 
Offline

Joined: March 30th, 2008, 5:50 pm
Posts: 23
Location: France 14
@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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2009, 2:32 am 
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...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2009, 9:43 am 
Offline

Joined: April 14th, 2009, 10:40 am
Posts: 182
@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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2009, 10:29 am 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
@TomXIII
TomXIII wrote:
@Learning one: I have the formula for auto WheelRadius!
:D Wow! Well done! THANK YOU! :D
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! :D

@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! :D )
- 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...
Image


Last edited by Learning one on November 26th, 2009, 11:42 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 781 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 53  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group