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
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: music teacher need a hand
-
admin
- Site Admin
- Posts: 65161
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
admin
- Site Admin
- Posts: 65161
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
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
-
admin
- Site Admin
- Posts: 65161
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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.
Here are some places for reviews:
http://www.xyplorer.com/promote.htm
Thanks,
Don
FAQ | XY News RSS | XY X
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
-
admin
- Site Admin
- Posts: 65161
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
serendipity
- Posts: 3360
- 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";
XYplorer Beta Club