Right Click for Scripts -with buttons! (2008-09-07) [MM3]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Right Click for Scripts -with buttons! (2008-09-07) [MM3]

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by crap_inhuman » Mon Sep 16, 2013 10:44 pm

Okay, i thought, i do something wrong when i submit the script. :wink:

I submit it soon again.
EDIT: I see it's now in the contributed list, so i don't submit it again. :wink:

No, i didn't ask onenonymous. I wrote him some month earlier the problem with Windows 7 and my solutiuon, so he can edit the script, but he didn't answer.
I write him again and ask for permission.

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by Peke » Mon Sep 16, 2013 10:22 pm

There was a bug when Server updated PHP 5.4 that I missed :(

I fixed it hopefully. THX for report

I Updated it for you you can edit it now.

EDIT: Have you asked onenonymous for publishing Permissions?

Also tell onenonymous to send me PM so if he agree I can give you rights to edit first post or even better you should open new Topic with updated Script Version pointing to happymonkeying.

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by crap_inhuman » Mon Sep 16, 2013 7:18 pm

i register at My Happy Monkeying and upload the script, but it doesn't appear in the list.

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by Peke » Sat Sep 14, 2013 6:52 pm

Feel Free to register on My Happy Monkeying and upload script it was really useful script fr many Users.

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by crap_inhuman » Sat Sep 14, 2013 5:49 pm

First a big thanks to onenonymous for the great script "Right click for Scripts" !

Like many other scripts RCfS have problems with Windows 7 (and Vista i think). After installing RCfS you see some scripts in the sub-menu and some others not.

I found the issue and post it here. maybe another have the same problem.

With Windows 7 the scripts.ini and mostly all new scripts will now stored in another folder ("C:\users\username\appdata\roaming\mediamonkey\Scripts").
Using SDB.ApplicationPath in the script points to the folder C:\Program (x86)\Mediamonkey

Solution:
Replace SDB.ApplicationPath with SDB.ScriptsPath in the script in the line 35, 40, 155, 252, 285, 335 and 820.

Old : SDB.ApplicationPath & "Scripts\Auto\

New : SDB.ScriptsPath & "Auto\

I build a patched version for easy install

Regards
crap_inhuman

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by nynaevelan » Sat Dec 03, 2011 10:27 am

Belgrath wrote:
nynaevelan wrote:Yes it works for me, but make sure you have it in the scripts folder in the mediamonkey directory not in the ...\roaming\... directory. This must be the same for all three right click scripts.

Nyn
Would you be able to expand on the absolute path Nyn?

I see that these three scripts are in my
"C:\Documents and Settings\<userid>\Application Data\MediaMonkey\Scripts\Auto" for XP. In MM4 I can't seem to see the scripts with right clicks...
If your program is installed in c:\program files\mediamonkey\ than you need to move the script to c:\program files\mediamonkey\scripts\auto\. For some reason that is the only place it works for me, it does not work in c:\program files (x86) or the ...\roaming\... directories.

Nyn

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by Belgrath » Wed Nov 30, 2011 10:38 am

nynaevelan wrote:Yes it works for me, but make sure you have it in the scripts folder in the mediamonkey directory not in the ...\roaming\... directory. This must be the same for all three right click scripts.

Nyn
Would you be able to expand on the absolute path Nyn?

I see that these three scripts are in my
"C:\Documents and Settings\<userid>\Application Data\MediaMonkey\Scripts\Auto" for XP. In MM4 I can't seem to see the scripts with right clicks...

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by tinana » Sun Jun 05, 2011 4:06 pm

Oooooooh, thanks Nyn, I'll try that. You're right, I've had trouble with this 'roaming' vs programfiles/mediamonkey thing before, thank-you very much.

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by nynaevelan » Sun Jun 05, 2011 3:59 pm

Yes it works for me, but make sure you have it in the scripts folder in the mediamonkey directory not in the ...\roaming\... directory. This must be the same for all three right click scripts.

Nyn

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3

by tinana » Sun Jun 05, 2011 3:12 pm

Does anyone know if this script will be compatible with MM4? I thought I had it working in earlier beta releases but l may be mistaken--in any case, in MM 4.0.0.1384 when I right click on a selection scripts are not visible as in MM3 :)

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3]

by nynaevelan » Thu Oct 15, 2009 6:50 pm

One:

Is it possible in the toolbar options sheet to have the ability to add a toolbar button within the list itself as it is to remove a toolbar button??

Nyn

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3]

by Devo7v » Tue Oct 13, 2009 8:46 am

I've been making a launcher to make MediaMonkey portable, but I am having a problem with your script. In MediaMonkey.ini there is a section for RCFS which uses Absolute paths, is there a way you can make these paths relative? Or is this a MediaMonkey issue?

Here's the code in question:

Code: Select all

[RightClickForScripts]
Logging=0
ButtonNum0=TB - StandardLyricatorLyricatorE:\Programs\Installed\Media\MediaMonkeyPortable\App\MediaMonkey\Scripts\Auto\Lyricator.vbs0000
ButtonNum1=
ButtonNum2=
ButtonNum3=
ButtonNum4=
ButtonNum5=
ButtonNum6=
ButtonNum7=
ButtonNum8=
ButtonNum9=
ButtonNum10=
ButtonNum11=
ButtonNum12=
ButtonNum13=
ButtonNum14=
ButtonNum15=
ButtonNum16=
ButtonNum17=
ButtonNum18=
ButtonNum19=
ButtonNum20=
ButtonNum21=
ButtonNum22=
ButtonNum23=
ButtonNum24=

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3]

by nynaevelan » Sat Aug 01, 2009 10:49 am

There were others I was having trouble with but I changed them so long ago that I forgot which ones they were. But since using RC4S I hardly ever use the Tools\Scripts option. I either use the Right Click menu or the Toolbar option and that is where I run into troubles.

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3]

by onenonymous » Sat Aug 01, 2009 10:31 am

nynaevelan wrote:One:

A question for you because I am having trouble with a few scripts due to the data RC4S adds to the vbs file. Why does the script add the (o) to the end of the sub section? I only ask because if the script has extra data in the sub name, the script will not run unless I change it . An example is the Export to iTunes script, the sub is sub ExportToItunes(Item) but it needs to be sub ExportToItunes for it to run along side RC4S. Is there changes I can make to RC4S for it not to add the (o) and will it break it if I do?

Nyn
The (o) indicates it needs to pass an object to the 2nd procedure and is needed in cases where the 2nd procedure needs the object. This was the missing piece way back when I was originally creating the script. The code that RCFS adds to the script won't interfere with the scripts normal functioning - ie if you run the other script off Tools/Scripts menu and it fails, then RCFS is not the cause of the failure.

In this case, I tried loading the Export to iTunes script and as scripted, it errors out when run off the Tools/Scripts menu. Change the line in the Export to iTunes script that you identified and it works fine off of Tools/Scripts. My guess is when he moved the script to the Auto folder AND made a Scripts.ini entry with Script Type 0 - that caused the problem. The Script Type 0 puts it into the Tools/Scripts menu, but if so, the main script then needs "sub ExportToItunes" as opposed to "sub ExportToItunes(Item)". If the scripter adds a menu item or button elsewhere to trigger the script - then it needs the "(item)" portion.

Are there other scripts you're having challenges with RCFS?

Re: Right Click for Scripts -with buttons! (2008-09-07) [MM3]

by nynaevelan » Fri Jul 31, 2009 10:31 pm

One:

A question for you because I am having trouble with a few scripts due to the data RC4S adds to the vbs file. Why does the script add the (o) to the end of the sub section? I only ask because if the script has extra data in the sub name, the script will not run unless I change it . An example is the Export to iTunes script, the sub is sub ExportToItunes(Item) but it needs to be sub ExportToItunes for it to run along side RC4S. Is there changes I can make to RC4S for it not to add the (o) and will it break it if I do?

Nyn

Top