Code: Select all
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=5777&p=54297#p54297Code: Select all
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=5777&p=54297#p54297Code: Select all
$a = "<curbase>"; msg $a;zer0 wrote:It's not. Select any file and run this scriptYou will get the base name of that selected file.Code: Select all
$a = "<curbase>"; msg $a;
Code: Select all
Selfilter "*.txt", f; $a = "<curbase>"; msg $a;Code: Select all
Selfilter "*.txt", f; $a = "<curbase>"; msg $a;Code: Select all
Selfilter "*.txt", f; $a = "<curpath>"; msg $a;Thats because <curpath> is the same for all items in the list so it does not matter if you select an item or not, while <curbase> differs from item to item, thats why XY needs to know which item you are requesting <curbase> info for.xyka wrote:BUT
Changing "<curbase>" to "<curpath>"
is working in both cases.Code: Select all
Selfilter "*.txt", f; $a = "<curpath>"; msg $a;