Problem with forced wmplayer.exe and mp3

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
Guest

Problem with forced wmplayer.exe and mp3

Post by Guest » Sat Jul 28, 2007 4:28 pm

Setting wmplayer.exe as forced process works perfect. But if a mp3 is opened, wmplayer opens sandboxed, but does not begin to play the file. wmplayer only plays if I run the mp3 sandboxed (with rightclick "run sandboxed")
How can I fix that it starts with double click on the file sandboxed an begins to play?

Thanks for help.

Paul_K
Posts: 477
Joined: Sun Mar 18, 2007 3:35 pm

Post by Paul_K » Sat Jul 28, 2007 6:35 pm

I see what you mean. It's missing the command line parameter. I tried this, and it worked for me:
wmplayer.exe "%1"

(There's one space after the .exe, in the above line) :wink:

Be forewarned that I haven't done any other testing to see if this screws-up something else. Also, I assume that the double-quotes are needed, but they may not be. Good luck
XP Pro SP3

Guest

Post by Guest » Sun Jul 29, 2007 7:50 am

The default action of MediaPlayer is "Play". I looked in regedit. In play is written

Code: Select all

"C:\Programme\Windows Media Player\wmplayer.exe" /prefetch:6 /Play "%L"
. Where should I add "%1"?

Code: Select all

"C:\Programme\Windows Media Player\wmplayer.exe" "%1" /prefetch:6 /Play "%L"
Does not work.
Thanks for help.

Paul_K
Posts: 477
Joined: Sun Mar 18, 2007 3:35 pm

Post by Paul_K » Sun Jul 29, 2007 12:41 pm

OK, this opens WMP sandboxed, and plays the .mp3 for me. As I said, I haven't done much testing since I don't normally specify any programs to run forced. If you want to try it - these are the steps:
Double-click Sandboxie's tray icon. Use View > Switch to Sandbox and choose which sandbox you want to use for the forced Windows Media Player.
Then click Configuration > Sandbox settings > Set Forced Programs.

In the box on the left side of the window type this:
wmplayer.exe %1

(There is one space after the .exe)
Modifying the line that I posted in the previous message, a test has shown me that, as I suspected, the double quotes (" ") are not needed in this line (at least for me).
Click OK.
Click Configuration > Reload Configuration to put this change into effect.

Double-clicking an .mp3 file should run Windows Media Player sandboxed, and play the .mp3 file immediately.
XP Pro SP3

Guest

Post by Guest » Mon Jul 30, 2007 3:09 pm

Thank you very much. It works now.

Guest

Post by Guest » Tue Jul 31, 2007 9:58 am

My post was too early. After adding %1 in the forced programm options, wmplayer is launched unsandboxed.

Paul_K
Posts: 477
Joined: Sun Mar 18, 2007 3:35 pm

Post by Paul_K » Tue Jul 31, 2007 4:09 pm

Oops, you're right.

The %1 is certainly not working as a parameter, as I thought it would.
I guess right-click and Run Sandboxed is the only way to go.
XP Pro SP3

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest