AutoHotkey Community

It is currently May 27th, 2012, 2:14 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 781 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 53  Next
Author Message
 Post subject:
PostPosted: January 27th, 2010, 9:36 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
Yes, and here are some more;
Circledock
Radian
Sapiens
Circular application menu
Radial Quicksilver Menu

My RadialMenu lacks easy drag&drop customization, I never have enough time (and motivation) to do it. I know that customizing RM by editing .ini files isn't user friendly.
But I like submenus, custom subroutines, sounds, release to select method, possibility to use text instead of icons, and all other unique possibilities in my RM.

I must admit that I'm unsure should I continue development.
I think that I'll completely rewrote it one day and use Radial menu "mg" method

Anyway;
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2010, 2:39 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
Radial menu v3.17 released

Most important changes/improvements:
- Sound mixing
- SecondRingRadius- new .ini key in general section. Changes radius of the second ring. Before Radial menu v3.17, SecondRingRadius was fixed to 3. This is useful if you want
to minimize your mouse movement. Can be 0, 1, 2, 3. If blank or anything else, 1 (default) applies. 0 means small radius (overlaping items). 3 means big radius. Does not affect on first ring.
Radius of the third ring in main menu is automatically adjusted according to second ring's radius. Example: SecondRingRadius = 3 See picture below.

Other changes/improvements:
New .ini keys in general section - now you can customize RM graphical interface and sounds very much. Trans means transparency.
- ButtonTrans
- ButtonForeground
- ButtonForegroundTrans
- IconTrans
- SoundOnSubShow
- SoundOnSubHide


Download Radial menu v3.17

Image


@Portable Paul I'm not sure I understood your working folder request correctly, so I didn't implement it. If you want it, explain it one more time.
P.S. I'll be offline in next few days.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2010, 6:49 pm 
Offline

Joined: June 28th, 2007, 1:08 am
Posts: 662
Learning one wrote:
@Portable Paul I'm not sure I understood your working folder request correctly, so I didn't implement it. If you want it, explain it one more time.


I'm thinking that it has to do with the run command.

If you try to launch certain applications with RM (or the run command in general) and do not specify a proper directory, that application will fail to run because it is missing dependencies that are in its native directory, as opposed to the script's directory, which is where an action is launched from by default.

This is relevant to the third parameter of Run

A temporary workaround is to creak a .lnk to your desired app and set that in RM, but if RM ran from an applications native directory by default, it would be more user-friendly I think.

One of my scripts at work uses a method to parse out the native directory by doing a StringSplit delimited by "" and simply trims the target name from the rest of the original string. (I don't have that particular script at home or I would post it as an example.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2010, 12:39 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Elesar:

Code:
SplitPath, FilePath,, FileFolder
Run, %FilePath%, %FileFolder%


Learning one:

I notice you create a few matrices to draw items with a transparency. You dont need to do this. If you just specify a transparency as the Matrix parameter, then it will automatically construct a matrix with that as the transparency when drawing


Report this post
Top
 Profile  
Reply with quote  
 Post subject: working folder request.
PostPosted: February 1st, 2010, 6:03 am 
the above is correct, i'll try to explain why this is a problem. Specifically portable programs use/need files that are contained within the same folder as the executable. if you open your AHK folder and launch program.exe it will look in the 'working folder' for program.ini and use it to load settings. If i made a link to program.exe inside of RM settings.ini and launched it from RM it would not find it. By default RM launches the application in RM Settings as if it were in the autohotkey folder so it would only find program.ini if it was stored in the AHK folder. Most programs look for a file in the 'working folder' first and then into the path. Installed programs put their folders into the PATH variable or Windows/System so stuff like Word or IE won't have a problem. Portable apps will have a problem since they don't shove a bunch of stuff into the PATH environment variable.
If you could add an extra line to the RM settings file for setting the working folder to run with the commands that would be huge for me. This really is a slick program. I'm hoping to write about it soon.


Report this post
Top
  
Reply with quote  
 Post subject: in conclusion
PostPosted: February 1st, 2010, 6:10 am 
Long story short. Every program run from RM runs as if it is running inside of the AHK folder.


It's like copying the executable program.exe into the AHK folder and running it there. program.exe has no way of knowing where it's files are even tho the files are in the same folder as the executable.

The working folder param is what gives program.exe the location of it's home folder.

It's counter-intuitive since we're used to clicking things in folders and windows shortcuts get this param filled out when they are created without any work by us. It's going on in the background.

Sorry for oversimplifying this. Wanted to make sure i made myself clear. Hope you enjoy the nod in the iBin article.


Report this post
Top
  
Reply with quote  
PostPosted: February 1st, 2010, 8:09 am 
I've been playing around with RM 3.17 for a few hours, and have had much fun getting it to do what I want, making new sub-menus, etc.
The only kinda odd thing I've found is that if you press either XButton1 or XButton2, in the main and sub-menus, all the icons disappear. Other than that (and that's not even a real issue as far as I can tell), this is pure genius.
Keep up the great work; I'll be checking for updates regularly! 8)


Report this post
Top
  
Reply with quote  
 Post subject: nod
PostPosted: February 2nd, 2010, 8:27 am 
http://www.everythingusb.com/ibin-18442.html


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 2nd, 2010, 4:45 pm 
Offline
User avatar

Joined: September 5th, 2009, 2:06 pm
Posts: 1713
Location: Somewhere near you
Hmm.. When I started the script there's nothing happened, so I click on the traymenu>Settings, and I always get this error msg.
Code:
Error: Failed attempt to launch program or document.
Action: <D:\unzipped\Radial menu v3.17\RM settings.ini>
Params: <>

Specifically: The system cannot find the file specified.
Line#
...
1320: Reload
1321: Return
1325: Run,%A_ScriptDir%\RM settings.ini ; <-----
1326: Return
...

_________________
Image
The quick onyx goblin jumps over the lazy dwarf


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2010, 3:19 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
Hello guys & girls, I'm online again!

Thanks for explanations/reports/suggestions/compliments + thanks Portable Paul for the nod in the iBin article.

Ok, I'll sort last issues out:
1. Working folder request
2. Transparency matrix
3. Disappearing icons
4. Tomoe_uehara's problem

I want that everyone who feels competent enough participate in solving issues 1. and 4.
RM user to RM user support is always more than a welcome!


1. Working folder request @All
Ok, I understand it perfectly now, but I must say that my experience on this issue is absolute 0. I don't have a problem with that working folder stuff
when launching my apps via RM... So I'll try to solve it blindfolded, guided only by your suggestions.
Do you want me to:
a. program RM in a way that when target has .exe extension, RM automatically launches it from its (.exe's) home folder?
b. add new WorkingFolder setting for every item?
c. add new setting in general section where you can specify that files with certain extension are automatically launched from its home folder?
d. add possibility to specify wd parameter (wd like working directory) in action key which means launch this file from its home folder? Example: Action= wd C:\Mydir\MyApp.exe
e. something else?

2. Transparency matrix
@Tic
If I just specify a transparency as the Matrix parameter, images that contain semi-transparent pixels are not displayed correctly - there is some
distortion in displaying pixels that are semi-transparent in original image. Try this test;
Code:
; Replace line 687 in Radial menu v3.17:
Gdip_DrawImage(G, pBitmapIcon, CurISX, CurISY, ButtonSize-CurISX*2, ButtonSize-CurISX*2, 0, 0, IconWidth, IconHeight, IconTransMatrix)

; with this one:
Gdip_DrawImage(G, pBitmapIcon, CurISX, CurISY, ButtonSize-CurISX*2, ButtonSize-CurISX*2, 0, 0, IconWidth, IconHeight, 111)

Is there something wrong with your Gdip.ahk concept or I'm understanding something wrong?

And one more thing about matrix, I was thinking to allow user to adjust hue/saturation/brightness/transparency graphical RM interface directly by RM.
So user will be able to adjust it like in some image editor, but without changing original image. Also maybe random automatic, "surprise me"
hue/saturation/brightness/transparency changes... But this idea is probably unnecessary - RM is not supposed to be layered image editor
(but this can be done, and isn't too hard to do this)

3. Disappearing icons @Xion
This happens because when you press XButton1 or XButton2 (or LButton in some setups), you are simply activating menu's background - window.
RM icons (correct term: buttons or items) and backgrounds are layered windows. That can be activated (brought to front) like any other window.
So, when you activate background - window it will be brought to front, above icon - windows, and that is the reason why icons virtually disappear.
I can change the RM code and order something like; if RM is shown and someone clicks on RM background, don't activate it,
but this may cause collision with other running programs/scripts, so it's better to leave it as is. So simply, don't click on RM background.

4. Tomoe_uehara's problem @All
I ran RM probably more than 1000 times, and never experienced something like this.
If "The system cannot find the file specified" and run parameter is "%A_ScriptDir%\RM settings.ini", maybe Radial menu v3.17.ahk and
RM settings.ini are not in the same directory... You must not change location of any file in RM package - everything is connected.
Radial menu v3.17.ahk is not independent script, it uses a plenty of files and accessory scripts located in RM package.

So try to unzip Radial menu v3.17.rar once again, and without moving any file in package, run Radial menu v3.17.ahk.
After you run RM successfully (and agree on licence) RM will create a shortcut to itself in %A_ScriptDir%. You may move this shortcut anywhere you wish.
Report is your problem solved.
Does anyone else have idea what else could cause Tomoe_uehara's problem?


Last edited by Learning one on February 4th, 2010, 12:16 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2010, 5:34 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Learning one wrote:

2. Transparency matrix
@Tic
If I just specify a transparency as the Matrix parameter, images that contain semi-transparent pixels are not displayed correctly - there is some
distortion in displaying pixels that are semi-transparent in original image. Try this test;
Code:
; Replace line 687 in Radial menu v3.17:
Gdip_DrawImage(G, pBitmapIcon, CurISX, CurISY, ButtonSize-CurISX*2, ButtonSize-CurISX*2, 0, 0, IconWidth, IconHeight, IconTransMatrix)

; with this one:
Gdip_DrawImage(G, pBitmapIcon, CurISX, CurISY, ButtonSize-CurISX*2, ButtonSize-CurISX*2, 0, 0, IconWidth, IconHeight, 111)

Is there something wrong with your Gdip.ahk concept or I'm understanding something wrong?

And one more thing about matrix, I was thinking to allow user to adjust hue/saturation/brightness/transparency graphical RM interface directly by RM.
So user will be able to adjust it like in some image editor, but without changing original image. Also maybe random automatic, "surprise me"
hue/saturation/brightness/transparency changes... But this idea is probably unnecessary - RM is not supposed to be layered image editor
(but this can be done, and isn't too hard to do this)


Aha :) you pass the transparency as a value between 0 and 1 as the matrix parameter if you only want to change the transparency, not 111 hehe


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2010, 6:33 pm 
Offline
User avatar

Joined: September 5th, 2009, 2:06 pm
Posts: 1713
Location: Somewhere near you
Well I have re-unrar the rar file to a folder and run the ahk. There's nothing shows, so I just right clicked the icon at bottom right (near the clock), and choose 'settings'. But the error message appeared again. Maybe Radial Menu have a limitation with my OS, maybe it just works for Win XP and above.

_________________
Image
The quick onyx goblin jumps over the lazy dwarf


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2010, 8:45 pm 
Offline
User avatar

Joined: April 4th, 2009, 8:19 pm
Posts: 1143
Location: Croatia
@Tic Oops, I get it. :oops: My fault. I'm used to values between 0-255 not 0-1. Anyway, I think I'll leave matrices, I sometimes enjoy playing with them - they are really cool stuff. 8)

@tomoe_uehara

Quote:
Maybe Radial Menu have a limitation with my OS, maybe it just works for Win XP and above.

Yes, maybe this is a problem. I'm running Radial menu on Win XP, and it works perfectly. Bebert reported that it works on Win 7 x64 too. What's your OS?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2010, 8:54 pm 
Offline
User avatar

Joined: September 5th, 2009, 2:06 pm
Posts: 1713
Location: Somewhere near you
I use Win ME.

_________________
Image
The quick onyx goblin jumps over the lazy dwarf


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 4th, 2010, 12:57 am 
Offline

Joined: June 28th, 2007, 1:08 am
Posts: 662
I think that option A (automatic working dir set for exes) would be best, but that is just in my experience. I have not tried to run anything other than an exe that generated that error.

For a reference, Try to launch Dwarf Fortress via RM. It will create a log file in the RM directory, ask if you want to run full screen or not, then throw an error about not finding its dependency files.

Note:
I am not associated with the DF site at all, Im just addicted to the game, and know that it is one example of an app that fails to launch via RM.

@ tomoe-chan:
I hate to say it, but you are in desperate need of an OS upgrade. Microsoft disowned that OS years ago. If nothing else, a switch to 2000 or XP would show worlds of improvement in usability and stability.

Other than that, since your OS is so old, according to tic's GDI+ thread you will need gdiplus.dll, as RM uses GDI+ to display the graphics.

As for the not finding the INI file, try changing it to:
Code:
Run, open %A_ScriptDir%\RM settings.ini


I may have an ME disk hiding around somewhere, Ill look when I get home tonight and if I have one Ill get a VM setup and try to duplicate the issue / find a solution.


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 ... 6, 7, 8, 9, 10, 11, 12 ... 53  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: MSN [Bot], notsoobvious and 7 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