Right Click for Scripts -with buttons! (2008-09-07) [MM3]
-
- Posts: 374
- Joined: Sat Feb 02, 2008 1:09 pm
- Location: Texas
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Ok, tested the RC and Swap2Fields scripts on my laptop and they both worked. So of course I had to use my process of elimation on my desktop to find the script that was causing the conflict. It appears the SwitchOrCopy script is where the conflict is. Any suggestions because SOC is one of my critical scripts, the error is on line 187? You know this would be much easier if MM would tell you the script which is causing the problem.
Nyn
EDIT: Ok, I've uninstalled the Swap Two Fields script, it offers the same features as the SwitchorCopy script and that is the one that I use most. So we can close this error if you wish.
Nyn
EDIT: Ok, I've uninstalled the Swap Two Fields script, it offers the same features as the SwitchorCopy script and that is the one that I use most. So we can close this error if you wish.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
-
- Posts: 374
- Joined: Sat Feb 02, 2008 1:09 pm
- Location: Texas
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Just to make sure my 'puter is not doing wacky things again, can you install the Switch or Copy, Swap Two Fields and your script to see if you get the same error?onenonymous wrote:Thanks - I loaded SOC and it does work on my system (I did need to add the replace code for Script.ScriptPath piece in SOC. I'll give this a while for other comments, then update the code in my original post.
Anyone else having any errors?
Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
-
- Posts: 374
- Joined: Sat Feb 02, 2008 1:09 pm
- Location: Texas
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Don't know why they are not cooperating on my machine, but I'm not going to worry about it. I got the two ones I wanted working.
Nyn
Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
-
- Posts: 374
- Joined: Sat Feb 02, 2008 1:09 pm
- Location: Texas
Re: Right Click for Scripts (MM3)
I must be overlooking something. Which section is this? I don't see anything noted in the code.onenonymous wrote:Code: Select all
' 2) Save the section noted below in a separate file ' named PopMenuScriptsHelper.vbs, also in the Scripts\Auto directory
Those who simply follow your instructions will get incorrect operation. I think you mean to mark this as "an example" and give similar reference as you did in a message in this thread.onenonymous wrote: ' 4) If you receive the above error you will have to edit that other script to make it compatible with this one. To do so:
' a) Exit MM
' b) Open the other script in an editor such as notepad
' c) Add the lines below(without the ' mark) at the beginning of the scripts
' after "Option Explicit" (if it exists) but before the first Sub or Function
' d) Search for every instance of Script.ScriptPath and replace it with sPath
' e) Save the file, making sure it still has the .vbs extension.
'
' ###########################################
' Add the 2 lines below to other scripts that error when used under right-click
' Be sure to remove the ' at the beginning of the line
'###########################################
' Dim sPath
' sPath = sdb.ApplicationPath & "Scripts\Case.vbs"
'###########################################
' End of add code to other scripts
'###########################################
[/code]
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Right Click for Scripts (MM3)
Bob:bob61 wrote:I must be overlooking something. Which section is this? I don't see anything noted in the code.onenonymous wrote:Code: Select all
' 2) Save the section noted below in a separate file ' named PopMenuScriptsHelper.vbs, also in the Scripts\Auto directory
U beat me to it, I was just about to ask the same question.
One:
If you are referencing the help info, is it necessary to move it to another script? Although I already have my scripts sorted alphabetically via the scripts.ini file, how would I use the bubblesort option and where is it?
Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
-
- Posts: 374
- Joined: Sat Feb 02, 2008 1:09 pm
- Location: Texas
-
- Posts: 374
- Joined: Sat Feb 02, 2008 1:09 pm
- Location: Texas
Re: Right Click for Scripts (MM3)
Sorry about that - I was rushing to post before my wife called me for dinner and didn't proof well before submitting . Code is fixed now. It's essentially the same as the instructions we had earlier in the thread for fixing other scripts.
call BubbleSort(mnuCaption)
Bubblesort is a routine in my code - it's the last sub. It runs automically. If you'd rather not do the sort, then you could comment out the line:nynaevelan wrote:Although I already have my scripts sorted alphabetically via the scripts.ini file, how would I use the bubblesort option and where is it?
call BubbleSort(mnuCaption)
Update seems to be working fine here!
MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes
Okay, I edited the Case Checker script but now I get the following:
Perhaps it would just be better if you provided new copies of the default scripts (or get with the MM devs to include this stuff since updates will hammer the edits anyway).
Man, I wish MM had native right-click for scripts support.
Thanks for the help.
Perhaps it would just be better if you provided new copies of the default scripts (or get with the MM devs to include this stuff since updates will hammer the edits anyway).
Man, I wish MM had native right-click for scripts support.
Thanks for the help.
MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes
This means that on line 39 you are either missing a double quote (") character, possibly at the end of the line, or it could mean that you don't have an ampersand (&) between the "SDB.ApplicationPath" and the "Scripts\Case.vbs". Either way, try making it...
Code: Select all
sPath = SDB.ApplicationPath&Scripts\Case.vbs"
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Hmm... okay. Well, I just followed the instructions from this post and copied and pasted the little bit of code that pertained to the Case Checker script. I guess that bit is incorrect.trixmoto wrote:This means that on line 39 you are either missing a double quote (") character, possibly at the end of the line, or it could mean that you don't have an ampersand (&) between the "SDB.ApplicationPath" and the "Scripts\Case.vbs". Either way, try making it...Code: Select all
sPath = SDB.ApplicationPath&"Scripts\Case.vbs"
MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes