Access violation when using removenode Node_Location
Access violation when using removenode Node_Location
Hi
I get an access violation error message when using this line in my auto script:
SDB.MainTree.RemoveNode(SDB.MainTree.Node_Location)
Except for the error message, the script works as it's supposed to: The node 'Location' disappears from the tree. When I remove the line from my script, the error message disappears. Is there a better way to remove the node 'Location' without getting the access violation error message? Can anyone help? Thanks in advance.
hkleppe
I get an access violation error message when using this line in my auto script:
SDB.MainTree.RemoveNode(SDB.MainTree.Node_Location)
Except for the error message, the script works as it's supposed to: The node 'Location' disappears from the tree. When I remove the line from my script, the error message disappears. Is there a better way to remove the node 'Location' without getting the access violation error message? Can anyone help? Thanks in advance.
hkleppe
Re: Access violation when using removenode Node_Location
*BUMP*
hkleppe
Can anyone help me on this?hkleppe wrote:Hi
I get an access violation error message when using this line in my auto script:
SDB.MainTree.RemoveNode(SDB.MainTree.Node_Location)
Except for the error message, the script works as it's supposed to: The node 'Location' disappears from the tree. When I remove the line from my script, the error message disappears. Is there a better way to remove the node 'Location' without getting the access violation error message?
hkleppe
And the others?
Hi, I've tried to hide it and it works.
But how do you hide Virutal CD?
I've tried "virtual cd" and "virtual_cd" (without the ") but that doesn't work. Also "ratings" won't hide
Anyone have a line for those?
But how do you hide Virutal CD?
I've tried "virtual cd" and "virtual_cd" (without the ") but that doesn't work. Also "ratings" won't hide
Anyone have a line for those?
You need:
Node_VirtualCD
Node_Rating
So this would become:
BTW: This info can be found in the Scripting Reference help file (under the developers page: http://www.mediamonkey.com/developers.htm (downloadable help file))
Cheers
Steegy
Node_VirtualCD
Node_Rating
So this would become:
Code: Select all
SDB.MainTree.Node_VirtualCD.Visible = False
SDB.MainTree.Node_Rating.Visible = False
Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
This is because Windows disables this "possibly dangerous" contents, and you only see "page not found" pages.
Of course it's safe in this case so you can tell Windows to stop it blokking the file. For that, open the file's file properties and push the "cancel blocking" a-like button.
Of course it's safe in this case so you can tell Windows to stop it blokking the file. For that, open the file's file properties and push the "cancel blocking" a-like button.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
I'd really like to hide some nodes but I can't seem to use the above code to hide any nodes. I've tried to put them in their own script and in some other Auto scripts but I get various errors, probably because I don't really know what I'm doing.
Is there an example of a script that does this which I could edit to hide various nodes?
Is there an example of a script that does this which I could edit to hide various nodes?
tweakmonkey lets you select which nodes are visibile and expanded, among other options.
check my sig.
check my sig.
New script: Last.FM Node Now with DJ Mode!
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page