Help - Search - Members - Calendar
Full Version: foo_run
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
bonduel
I wrote a little plug that able you to run a external program with the foobar syntax.

I do not know if it's clear but it looks like foo_web but with any command you can type in the "run dialog box"

It is my first plug for foobar and for now it is just a alpha, so plz be indulgent tongue.gif

hope someone will find it cool.

link to foo_run.dll V 0.1
link to foo_run.dll V 0.2
Squeller
Do you have an example why you wrote and use it?
bonduel
QUOTE(Squeller @ Aug 18 2004, 08:51 AM)
Do you have an example why you wrote and use it?
*



At first I wanted to be able to link a guitar tablature to a music file. So I put the link in a tag and then add a menu to run it.

You can use to edit the tag of a file with a external tagger, edit the file with a sound editor, search for the artist with google, delete the file with cmd /c del %_path% ....

Soon, i think i will add the possibility to run a program from more than just one element from the playlist.

I hope the purpose is now more clear smile.gif
anza
I like it smile.gif
At first I was using foo_openwith (not 100% sure if that was the name), but this plugin quickly replaced it smile.gif
bonduel
Very happy to know you like it smile.gif

I updated the plug in to use it on many entry of the play list. It is just experimental. Don't try this, on huge play list!!

Link to foo_run.dll V 0.2
nausea
QUOTE
At first I was using foo_openwith (not 100% sure if that was the name), but this plugin quickly replaced it smile.gif


I won't cry...

crying.gif
R2D2
Thanks. I find it usable for example for a lyrics plugin. Execute firefox + a option for opening %_path% minus extention + htmll

Thanks. Will check out firefox' commandline options later.
ludox
Thanks you Bonduel,
I use it to open an archive (RAR and ZIP)
CODE
$substr(%_path%,0,$add(3,
$if3($strstr(%_path%,.rar),
$strstr(%_path%,.zip),
$sub($strrchr(%_path%,'\'),3)
)))

Merci.
CarlosTheTackle
Neat little plugin, but unfortunately it's only context-menu based. I'd like to be able to add 'Run...' items to other menus, but I can't at the moment. Most of them are simple and don't even require parameters.
davvid
nice plugin biggrin.gif

[request]
Can you add an option to wait until the process is finished before the next one starts???
(when using simultaneous execution)

davvid
Neil K
OK, firstly I love the concept of this plugin in. Now I want to use it to open Powertab files, and so I have tested it out by setting the 'LINK' tag of a file to its powertab (.ptb) destination, and it works perfectly fine when I right-click and go to Run>Follow C:/(etc). What I want to do though, is add LINK tags to all the files which I have powertabs for. My powertabs are very organised, they are all in one folder, and named Artist - Title.ptb. Is there anyway I could get masstagger to add LINK tags to all of the music files which I have powertabs for, but not those which I don't have tabs for, if you understand me.

Secondly, is there any better way of altering the Context-menu item, so it justs says 'Open Powertab', instead of 'Follow C:\...' I havent found anyway to do it in the main configuration.

Thanks very much.
Neil K
Ok, now after exploring this components options (didn't think of that before lol), I have it so that I can right click and open it in powertab, but if there is no powertab available, it doesnt indicate this and comes up with an error when I right click.

The label is:
Run/$if(C:\Documents and Settings\Chris\My Documents\Tabs\%artist% - %title%.ptb,Open in Powertab,No Powertab available)

and the Service Path is:
"C:\Documents and Settings\Chris\My Documents\Tabs\%artist% - %title%.ptb"

Can anyone help?
effexor
nice replacement for foo_openwith. however, i'd like to be able to send more than one parameter in one instance. like so:

"C:\Program Files\Red Chair Software\Anapod Explorer\sendtopw.exe" "%_path%"

where %_path% is the path to all selected playlist items. this is nice when sending files from one place to another in sequence instead of all at once, as its done now.
foosion
QUOTE(Neil K @ May 21 2005, 16:16) *
The label is:
Run/$if(C:\Documents and Settings\Chris\My Documents\Tabs\%artist% - %title%.ptb,Open in Powertab,No Powertab available)
The $if construct only tests, if at least one of the title or artist fields exist, it does not check for the existence of a file.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.