mvordeme;434004 Wrote: > There is one little problem with the settings dialog, though, which is > probably due to the way Perl handles string variables. I was thinking > about a way to avoid having to tell people to copy my VB script to the > system32 directory and ended up trying to use the %USERPROFILE% > environment variable which points to the user's settings directory. In > order to pass the variable to the cmd executable unharmed, it has to be > enclosed in double quotes. The actions I am currently using all look > like this:> Code: -------------------- > > cmd /C cscript "%USERPROFILE%\ConfigureLO.vbs" /Action:busy /Log:true -------------------- > > This setting is not properly loaded back into your settings dialog but > cut off at the quotes:> Code: -------------------- > > cmd /C cscript -------------------- > > So the next time I save the settings, the actions will be broken. > The only work-around that I can think of would be to have the user input something other than a double-quote as a delimiter character, say a `, and I'd have to translate those into double quotes at run time. Too much of a kludge for something that is really a SqueezeCenter bug, IMHO.
I've filed a bug report on this: http://bugs.slimdevices.com/show_bug.cgi?id=12477 As they say in Chicago, "Vote early and often." -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
