Hey!! you did not add "gettoken" right now because it already works in v7.80.0020. So how many more functions are you hiding from us?admin wrote:hehe! I should have told you...calude wrote:yes I saw the new feature
but I will let serendipity change his script
I' am impressed at the speed you are writing all those changes I really should have taken the lifetime licence
Actually, I just added a nice little function called gettoken(). With this your task will be a 2-liner (easily converted into a one-liner, of course). You don't need a XYS file but can pack it directly into your PFA:hey serendipity, mine is shorter!Code: Select all
$name=gettoken(<curbase>,1,"-"); goto "I:\WAV COURS All\;G:\MUSIC PDF\tunes\?$name";
music teacher need a hand
-
- Posts: 3358
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: music teacher need a hand
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: music teacher need a hand
You're kidding, no! I don't hide nothing from you!serendipity wrote:Hey!! you did not add "gettoken" right now because it already works in v7.80.0020. So how many more functions are you hiding from us?
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: music teacher need a hand
Okay, this is the PFA item (one line!) that should do the whole job for you, music teacher:
(needs version v7.80.0021!)
Should show command "Clapton" (rename as you like) in the Portable OpenWith Menu (POM) of MP3 and PDF files; when you select the "Clapton" command it will search the 2 folders for the extracted name part of the current file, and finally sort the search results by name ascending.
(needs version v7.80.0021!)
Code: Select all
|"Clapton" mp3;pdf>::$name=gettoken(<curbase>,,"-"); goto "I:\WAV COURS All\;G:\MUSIC PDF\tunes\?$name"; sortby "n";
FAQ | XY News RSS | XY Twitter
Re: music teacher need a hand
Works fine
absolutely brilliant
Don, Serendipity,
thanks a lot for the help
Calude
absolutely brilliant
Don, Serendipity,
thanks a lot for the help
Calude
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: music teacher need a hand
Great!calude wrote:Works fine
absolutely brilliant
Don, Serendipity,
thanks a lot for the help
Calude
Actually, being a guitar player myself, I might come back to you some day. But for the time being, if you feel the urge to return something, you might consider writing a review! This is a great way to promote XYplorer and make me happy!
Here are some places for reviews:
http://www.xyplorer.com/promote.htm
Thanks,
Don
FAQ | XY News RSS | XY Twitter
Re: music teacher need a hand
will do
and just a detail about the script how would you assign a keyb shortcut to this search
or better that this PFA only works in those 2 folders.
I am currently trying but to no avail
this doesnt work
Calude
and just a detail about the script how would you assign a keyb shortcut to this search
or better that this PFA only works in those 2 folders.
I am currently trying but to no avail
this doesnt work
Code: Select all
"Find Artist" G:\MUSIC PDF\tunes\pdf; I:\WAV COURS All\mp3 wma m4a>::$name=gettoken(<curbase>,,"-"); goto "I:\WAV COURS All\;G:\MUSIC PDF\tunes\?$name"; sortby "n";
Calude
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: music teacher need a hand
You have to state the full path pattern for each case:calude wrote:will do
and just a detail about the script how would you assign a keyb shortcut to this search
or better that this PFA only works in those 2 folders.
I am currently trying but to no avail
this doesnt work
Code: Select all
"Find Artist" G:\MUSIC PDF\tunes\pdf; I:\WAV COURS All\mp3 wma m4a>::$name=gettoken(<curbase>,,"-"); goto "I:\WAV COURS All\;G:\MUSIC PDF\tunes\?$name"; sortby "n";
Code: Select all
... I:\WAV COURS All\*.mp3;G:\MUSIC PDF\tunes\*.pdf>...
FAQ | XY News RSS | XY Twitter
-
- Posts: 3358
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: music teacher need a hand
For the second, maybe try this:calude wrote:will do
and just a detail about the script how would you assign a keyb shortcut to this search
or better that this PFA only works in those 2 folders.
I am currently trying but to no avail
this doesnt work
Code: Select all
"Find Artist" G:\MUSIC PDF\tunes\pdf; I:\WAV COURS All\mp3 wma m4a>::$name=gettoken(<curbase>,,"-"); goto "I:\WAV COURS All\;G:\MUSIC PDF\tunes\?$name"; sortby "n";
Calude
Code: Select all
"Find Artist" G:\MUSIC PDF\tunes\*.pdf;I:\WAV COURS All\*.mp3;wma;m4a>::$name=gettoken(<curbase>,,"-"); goto "I:\WAV COURS All\;G:\MUSIC PDF\tunes\?$name"; sortby "n";