openwith to enqueue music on sandboxed Winamp
-
tiago
- Posts: 589
- Joined: 14 Feb 2011 21:41
openwith to enqueue music on sandboxed Winamp
I have a running sandboxed instance of Winamp and I'd like to enqueue music into it using XY's Open With (CTRL ALT enter). How do I do this?
Power-hungry user!!!
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: openwith to enqueue music on sandboxed Winamp
In terms of regular Winamp usage, the /ADD parameter will enqueue a music file like this:tiago wrote:I have a running sandboxed instance of Winamp and I'd like to enqueue music into it using XY's Open With (CTRL ALT enter). How do I do this?
Code: Select all
C:\Program Files\Winamp\winamp.exe /ADD C:\mp3\whatever.mp3Code: Select all
"Enqueue music file in Winamp|C:\Program Files\Winamp\winamp.exe" mp3;wav;flac>C:\Program Files\Winamp\winamp.exe /ADD-
tiago
- Posts: 589
- Joined: 14 Feb 2011 21:41
Re: openwith to enqueue music on sandboxed Winamp
Yes. If I do the regular way a non-sandboxed instance will pop in parallel and execute enqueued music.
Power-hungry user!!!
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: openwith to enqueue music on sandboxed Winamp
In that case the forum of your sandbox software might be a better bet than XYplorer's?tiago wrote:Yes. If I do the regular way a non-sandboxed instance will pop in parallel and execute enqueued music.
-
tiago
- Posts: 589
- Joined: 14 Feb 2011 21:41
Re: openwith to enqueue music on sandboxed Winamp
to whom it may concern:
run """c:\Programas\Sandboxie\start.exe"" ""D:\Programas\Portable\Winamp 5\winamp.exe"" /ADD ""<curitem>""";
run """c:\Programas\Sandboxie\start.exe"" ""D:\Programas\Portable\Winamp 5\winamp.exe"" /ADD ""<curitem>""";
Power-hungry user!!!
-
tiago
- Posts: 589
- Joined: 14 Feb 2011 21:41
Re: openwith to enqueue music on sandboxed Winamp
I had problems with this when trying to add several files at once so:
*use sc wait(), this seems to solve an instability on queuing files
*winamp itself seems to have a problem queuing +160. I successfully added 150 and 160 is still experimental. As the operation is slow I'm yet to discover whether "150" means total of files loaded (previous+queued), loads of files (so anything like 150+150+150 would be allowed) or a limited amount of characters for path names on winamp memory. For the gurus' meditation.
Obvious conclusion:
Run curitem sandboxed = no context menu required!
run """c:\Programas\Sandboxie\start.exe"" ""<curitem>""";
*use sc wait(), this seems to solve an instability on queuing files
*winamp itself seems to have a problem queuing +160. I successfully added 150 and 160 is still experimental. As the operation is slow I'm yet to discover whether "150" means total of files loaded (previous+queued), loads of files (so anything like 150+150+150 would be allowed) or a limited amount of characters for path names on winamp memory. For the gurus' meditation.
Code: Select all
end(getinfo("CountSelected") > 160), "No more than 160 files can be run this way!"; foreach ($t, get ("selecteditemspathnames"), "<crlf>") { run """c:\Programas\Sandboxie\start.exe"" ""D:\Programas\WinampPortable\winamp.exe"" /ADD ""$t"""; wait 300; }; status "ok!";Run curitem sandboxed = no context menu required!
run """c:\Programas\Sandboxie\start.exe"" ""<curitem>""";
Power-hungry user!!!
XYplorer Beta Club