AutoHotkey Community

It is currently May 27th, 2012, 4:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 781 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 53  Next
Author Message
 Post subject:
PostPosted: March 9th, 2010, 4:46 pm 
bmn_ wrote:
...it will stay in an infinite loop

bmn_ think before you write... you dont have an edit field :-(
its not an infinite loop, at one point you will press left mouse^^


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2010, 4:49 pm 
Offline

Joined: March 9th, 2010, 3:49 pm
Posts: 6
What that accomplished was to keep the menu open until I double tap the screen. It allows me to navigate the menus with a single tap then open item with a double tap or to close the menu altogether by double tapping anywhere on the screen. It definitely works as I've been using it for a few days now.

edit: lol, you beat me to it


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2010, 5:29 pm 
hey,
have some ideas for 3.17
added ability to not hide toolbar behind screen borders (when clicking close to them) to get it change code the following

Code:
*...*
;===General===
[b]IniRead, distance, %A_ScriptDir%\RM settings.ini, General, DistanceFromBorder[/b]

*...*

[b]if(mx2<distance)
   mx2 = %distance%
else if(A_ScreenWidth-mx2<distance)
   mx2 := A_ScreenWidth - distance
if(my2<distance)
   my2 = %distance%
else if(A_ScreenHeight-my2<distance)
   my2 := A_ScreenHeight - distance[/b]
;===Prepare background postiton===

*...*

;===Subroutines=========================================================================
CalcPos:    ; extracted from TomXIII's work (Thank you)
deg := deg ? deg+(360/CurRingTotalButtons): (360/CurRingTotalButtons)+90
rad := deg*PiDiv180
xOffset := WheelRadius*(-1*Cos(rad))-picRadius, yOffset := WheelRadius*(-1*Sin(rad))-picRadius
if IsSubmenuShown = 1
itemX := smx1 + xOffset, itemY := smy1 + yOffset
Else
itemX := [b]mx2[/b] + xOffset, itemY := [b]my2[/b] + yOffset
Return

bold stuff needs to be added/modified
also in the ini add
Code:
DistanceFromBorder = 80

looks like a good value to me.
This only affects main menu though


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2010, 5:35 pm 
to enable distance from Screenborder for submenu as well is even easier
Code:
*...*
;===General===
[b]IniRead, distance, %A_ScriptDir%\RM settings.ini, General, DistanceFromBorder[/b]

*...*

[b]if(smx1<distance)
   smx1 = %distance%
else if(A_ScreenWidth-smx1<distance)
   smx1 := A_ScreenWidth - distance
if(my1<distance)
   smy1 = %distance%
else if(A_ScreenHeight-smy1<distance)
   smy1 := A_ScreenHeight - distance
MouseMove, %smx1%, %smy1%[/b]
;===Prepare submenu background postiton===

as well as the change in the settings and its done (yea, it may look strange, but better than having it hidden^^


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2010, 5:59 pm 
This would definitely be cool for touch screen. :!: Touch Screens :!: Oh the things I look forward to in my future! :lol:

Too bad you can't just replace every context menu with it as well. :x (I mean: You probably can going through and replace each one at a time since its AHK. But just to override a Windows template and be done would be awesome.)


Report this post
Top
  
Reply with quote  
 Post subject: I love RM v3.18!!!
PostPosted: March 10th, 2010, 1:12 am 
Offline

Joined: January 19th, 2010, 2:54 pm
Posts: 3
:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
Learning one you are the best! Thanks for the amazing work!
I like Gestures function so much that i have implemented Gestures for WheelUp, WheelDown, MButton for yours Programm.
Just add this lines at the Ende your Code (Radial menu v3.18.ahk) and you can then perform Gestures like MG_LWheelUp (Gesture left + WheelUp) and so on...


Code:
;Hotkey add by Alaskatu, it works with Mousegesture (Edit MyMouseGestures.ahk, add functions for MG_RWheelUp, MG_RWheelDown, MG_RMButton, MG_LWheelUp, MG_LWheelDown, MG_LMButton, MG_UWheelUp, MG_UWheelDown)

mbutton::
wheelup::
wheeldown::
      if (GetKeyState(RMShowHotkey, "p"))
         {
            Wheel:=a_thishotkey
            ;Gesture .= Gesture . Wheel
            ;LastGesture := Gesture . Wheel            
            Gesture .= Wheel               
            LastGesture := Wheel   
            MG_%Gesture%()
            ;msgbox %Gesture%
            EmptyGestureVars()
            
         }
      else
            sendinput {%a_thishotkey%}
return




Thanks Learning one for the good Job,

Alaskatu


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 4:34 am 
Offline

Joined: March 9th, 2010, 3:49 pm
Posts: 6
I had to remove the gesture support, for now, but I got 3.18 working exactly as I had wanted it to all along. It's easier to see than explain, so you can see a short video here - http://www.houndxphotos.com/a81/radial_touch.wmv

The script required a few very minimal changes to achieve this. I used the positioning change I listed above to make it open center screen. I also used bmn_'s submenu changes to try and keep submenus away from the edge of the screen. In addition, I made the following changes


Code:
;===Recognize gesture===
Loop
{
   if (A_ThisHotKey <> RMShowHotkey) ; Houndx changes here to remove gesture support
      Return ; Houndx changes here to remove gesture support
    
   break
   
   Sleep, 20    ; prevents high CPU load
}



Code:
SetTimer, ItemTooltip, 20
if SoundOnHover
SetTimer, SoundOnHover, 20

SetTimer, TouchTest, 15 ; Houndx changes here to enable touch support

KeyWait, LButton, d ; Houndx changes here to close/launch after the touchscreen is touched and then released
KeyWait, LButton, u ; Houndx changes here to close/launch after the touchscreen is touched and then released

LastRMItemNum =

;===When user releases RMShowHotkey===


Code:
;===Submenu show hotkey==========================================================
TouchTest:              ; toggle open/close submenu ; Houndx changes here to get RButton working properly with the touchscreen
if IsSubmenuShown = 1       ; if submenu is shown, close submenu
{
   MouseGetPos, Xend, Yend
   IsInCircle := IsInCircle(smx1, smy1, Xend, Yend, (ThirdRingRadius+85)/2) ; Houndx change to allow touches to work properly with submenus
   if IsInCircle
   {
;      if SoundOnSubHide  ; Houndx change to allow touches to work properly with submenus
;     PostMessage("RMSoundOnSubHide",1)  ; Houndx change to allow touches to work properly with submenus
;      Gosub, CloseSubmenu  ; Houndx change to allow touches to work properly with submenus
   Return
   }


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 1:32 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
I am giving revocable permission to: Houndx and LiquidGravity
to upload their Radial menu modifications under the following conditions:

1. they can upload it only on AutoHotkey.net on their account there.
2. they must stress a) that I'm the author, b) that this is their modification, c) that they have my permission to upload it on AutoHotkey.net.
They will do that on this way:
Radial menu <version> <modification name>
Author: Boris Mudrinic (Learning one on AHK forum)
Contact: boris-mudrinic@net.hr
Modified by <modifiers name>. Permission to upload this modification granted from author.

3. they must always include RM licence, reproduce it and make it prominent/noticeable when user runs their modification.
4. I can revoke this permission. If I decide so, they must delete their modifications immediately!
5. Revocation of this permission or RM licence change will be published/posted in RADIAL MENU scripts topic



Example:
Code:
AboutRadialMenu =
(
Radial menu v3.18 Touch_Mod
Author:%A_Tab%Boris Mudrinic (Learning one on AHK forum)
Contact:%A_Tab%boris-mudrinic@net.hr
Thanks:%A_Tab%Chris Mallett, Tic (Tariq Porter), TomXIII, Patchen, SpeedY, Preston, and others...
Modified by Houndx. Permission to upload this modification granted from author.

Licence:
Expression "Radial menu" here means Radial menu code and program itself, and any part of whole Radial menu package except files not created
by me; Gdip.ahk and some files mentioned in Image sources.txt and Sound sources.txt. As the author of Radial menu, I'm reserving all my rights,
but I'm temporary allowing that Radial menu can use any person that agrees on all terms in this licence.

Radial menu is free for non-commercial, personal use under some conditions.
You are not allowed to (re)distribute, sell or rent Radial menu, or use it on any commercial way, or have any profit from it in general, without my
written permission! You are also not allowed to have any profit from giving information where Radial menu can be obtained. I'm not responsible for
any damages arising from the use of Radial menu. Everyone is encouraged to improve Radial menu, but no matter how much anyone improve it,
my share in authorship will always be minimum 81`%. Everyone can create another program based on Radial menu (derived program) under
following conditions: 1) my share in authorship in derived program will always be minimum 51`%, 2) author of derived program has to mention my
name and contact in it and mark me as the major author, 3) he has to inform me about his program, 4) he can not (re)distribute, sell or rent it
without my written permission! This licence is only temporary, I can change it whenever I want, on any way I want. Licence change will be published
on AutoHotkey community forum. On issues not mentioned in this licence Croatian laws apply. In the case of litigation, Croatian laws and language
apply and Municipal court in Zagreb has jurisdiction. If you don't agree on all terms in this licence, you must exit Radial menu and delete it from
computer and any other device that can store electronic data immediately! (You are even not allowed just to take a look at Radial menu, especially
the codes). If you are unsure what you are allowed or not allowed to do, contact me. 
)

MsgBox,324, Welcome to Radial menu, %AboutRadialMenu%`n`nDo you agree on all terms mentioned above?`n(If you agree, this message will never show again.)


Sorry for being so formal. :oops:


Last edited by Learning one on March 14th, 2010, 10:53 pm, edited 3 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 1:42 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
Now less formal part :D

To be clear, I like when someone wants to improve/modify RM, but I just want that people respect my copyright.

@Houndx:
I read your post(s), and watched your video, and I must say that I like your video, your modifications and ideas! You have my permission (see above).

@alaskatu: Thanks. Your idea (WheelUp, WheelDown, MButton) is almost exactliy the same like my private RM modification.
As you like it, I think I'll implement it in official release. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 3:40 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
@Houndx: Hey, I just want to remind you that if you want to include Gdip.ahk in your modified RM package and upload it on AutoHotkey.net, you must ask Tic, author of Gdip.ahk for permission! I know it's complicated but you must respect Tic's copyright as well! I have his permission, but you probably don't, so ask him.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 4:30 pm 
Offline

Joined: March 9th, 2010, 3:49 pm
Posts: 6
Learning one, thanks so much for you permission and for pointing out that I need to contact Tic as well. I had just repacked all the files and was getting ready to post links, etc

I did make a few small changes this morning in addition to those listed above. I added a 1024x1024 black filled image called Dark.png and set it as a mostly transparent background image in order to prevent finger drags from interacting with background windows. I also tweaked the ring radii slightly to space the menus out a bit for increased finger friendliness.

Anyone using this modification on a touchscreen device with a display width larger than 1024 will most likely want to increase the dimensions of Dark.png to match your screen width. You'll want to make it square so that it will work to prevent background window interactions in both landscape and portrait. As soon as I hear back from Tic, I'll post the AutoHotKey.net link.

Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 5:49 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Ok guys Ive updated the 1st post in the gdi+ library so that you can use the library as you see fit. I appreciate you guys being so respectful even if it is a bit formal :)

I've been a bit rubbish at finishing projects, but am working on a lot of things to release! BRA is in a usable but unfinished format, but I would encourage that to be integrated into Radial Menu as portable skins for a number of reasons listed in Tutorial 11


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:16 pm 
Offline

Joined: March 9th, 2010, 3:49 pm
Posts: 6
Thanks Tic! :) The Touch modified version of Radial Menu can be downloaded here - http://www.autohotkey.net/~Houndx/Radial%20menu%20v3.18_Touch_Mod.zip Please remember that gestures have been disabled for this. If you can find a good method of reintegrating them, by all means do.

Anyone who wishes to base any further modifications off my, admittedly minor, modifications is free to do so with no need to ask for my permission - but remember that you will need Learning one's permission. Learning one's license is in tact and you must agree to his terms to use or modify his work.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:56 pm 
Offline

Joined: January 26th, 2009, 5:26 pm
Posts: 151
tic wrote:
Ok guys Ive updated the 1st post in the gdi+ library so that you can use the library as you see fit. I appreciate you guys being so respectful even if it is a bit formal :)

I've been a bit rubbish at finishing projects, but am working on a lot of things to release! BRA is in a usable but unfinished format, but I would encourage that to be integrated into Radial Menu as portable skins for a number of reasons listed in Tutorial 11


I am currently modifying the Radial Menu v3.18 to be able to run modular themes. I'm calling it a "theme" instead of "skin" because I am having it include the sounds, images, effect script, and also many of the .ini settings. I am not entirely finished with the changes yet but should be within a few days, maybe even tonight. So far I have gotten the themes separated into individual folders and also modified the skin changer program to load and apply them correctly. My next task is change all the paths in the main script to completely dynamic. I will be working on that tonight.

Is there any support for APNG files? This would allow all kinds of great skins.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 9:37 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
Ok guys, the time has come to suggest some changes.

Collaborative Radial menu development?
There are a number of examples when people said something like; "Thanks for creating this script", "Awesome work", "Great script", so
obviously, Radial menu is not a useless script/program. I'm also bombarded with your suggestions how to improve RM.
I simply don't have enough time to implement all your great suggestions. I also have my own (codable) visions how to improve (and rewrite) RM,
and I'm motivated to code them, but again, my free time is limitation. I probably won't be able to implement some big improvements for a
longer period of time, and I'm sad because of that.

I noticed that people started to do nice modifications of my work. But too many modifications can cause confusion, and waste of work, because
every modification is "isolated" work.

I say the following: Why shouldn't we join our forces?

Is anybody interested to start real collaborative RM development, where unlimited number of persons can be involved? So we'll hopefully create
one super version of Radial menu together as a team, and not a few "isolated" modifications created by some individuals.
RM license can be changed, including my minimal share in authorship clause, and (re)distribution restriction.

Note that developing RM is not just writing a code. You can contribute by designing new or modifying existing skins and sound sets, browsing
internet for free sounds and images, by researching ergonomics, researching how to give commands to your computer with minimal effort in general,
researching best compromises - especially good look/functionality, number of possibilities/ease of use, studying other free scripts on AHK forum to
see what else do you want to have implemented in RM, studying other Circular/Radial launchers to see what do you like and what you don't,
negotiating with other people (authors), testing the code on all possible scenarios, and so on, and so on...

That are just some things that I had to do ALONE (and still doing it), to be able to create Radial menu. However, occasionally some people helped me,
and for that, they are mentioned in "thank you sections".

So once again, is anybody seriously interested to join the forces? Should we start to develop RM together, as a team?
Is anybody seriously interested to get involved?

I'm waiting for your replies.


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 ... 11, 12, 13, 14, 15, 16, 17 ... 53  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 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:
cron
Powered by phpBB® Forum Software © phpBB Group