[SlimDevices: Plugins] Re: Need some help getting EXECUTE.PM to work.

2007-01-07 Thread erichabg
Hey! Good idea to use "slim -d_plugins"! If i start slimserver in this way it works well (it executes the script as expected) but if i start slimserver via "slimtray.exe" (the normal way with WinXP) it doesn't work! Why that? BTW i think i have found an error in execute.pm: in the sub commandCal

[SlimDevices: Plugins] Re: Need some help getting EXECUTE.PM to work.

2007-01-07 Thread erichabg
Hello All! I have exactly the same problem as waffles! And nearly the same configuration (Windows SP2) The box reports that the script is running but nothing happens! I also try to create a file but nothing happens. When i start the Batch with a doubleclick in the explorer all works fine. Any i

[SlimDevices: Plugins] Re: Need some help getting EXECUTE.PM to work.

2006-12-30 Thread waffles
Peter; Thanks again for your continuous help. Unfortunately, your suggestion is way over my head. I just started using Slimserver, let alone doing any programming….. Could you break it down a bit further so a dummy like me can understand it better? What puzzles me a bit is that since the OS I use

[SlimDevices: Plugins] Re: Need some help getting EXECUTE.PM to work.

2006-12-29 Thread peterw
I'd start hacking the module. First thing I'd do is edit the msg() call in the block that's trying to execute your script so that it will show you not only the script name but also the value of $scriptPath. If $scriptPath uses backslashes, you may well have to make several changes to Execute.pm so

[SlimDevices: Plugins] Re: Need some help getting EXECUTE.PM to work.

2006-12-28 Thread waffles
Peter; Thanks for your reply. Based on your suggestion I make a small cmd file to create a new folder. Unfortunately, the result is the same: it executes fine when I double click on the cmd file. However, when I run the script from Softsqueeze the OSD only tells me “running script….. test.cmd”, b

[SlimDevices: Plugins] Re: Need some help getting EXECUTE.PM to work.

2006-12-28 Thread peterw
Trying to spawn a command shell window doesn't sound like the best test to me -- too many odd dependencies, Windows security settings, etc. One thing to do is check the access timestamp on test.bat and see if it is updated when Execute.pm says it's running the command. With Cygwin or Services For