Auto-tag from Web

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: Auto-tag from Web

Re: Auto-tag from Web

by Bex » Wed Jan 06, 2010 6:12 pm

Yes, "Script.Reload" is the method that should do this. (Don't know what I was thinking.) But if that doesn't work and a restart doesn't work either then I really don't know. My guess is that MM has this value in it's internal memory and that's what is used within MM and written back to the INI file on flush or exit. I.e. it isn't possible to force MM to read this value if it is changed in the INI file directly. I guess we need a new method for this?

Re: Auto-tag from Web

by trixmoto » Wed Jan 06, 2010 5:55 pm

Nope, restart doesn't help either. I've tried "SDB.IniFile.Flush" but that doesn't help either.

"SDB.RefreshScriptItems" is for the Scripts.ini file, isn't it? And "Script.Reload" loads my script, which isn't really what I want, especially as it's during the installation package not whilst the script itself is running.

Re: Auto-tag from Web

by Bex » Wed Jan 06, 2010 5:48 pm

Does it work after a restart? Then perhaps you only need to call SDB.RefreshScriptItems or even Script.Reload("FullPath")?

Auto-tag from Web

by trixmoto » Wed Jan 06, 2010 3:31 pm

During the installation of an "Auto-tag from Web" script I am trying to update the INI file so that the new script is the source. I can't get it to behave though, I've updated the INI file and the source does not change.

Code: Select all

[AlbumBrowser]
RunningScriptName=MIPT\MusicIPTagger.vbs
Anyone got any ideas what I'm doing wrong?

Top