how can get selected first item basename?

Discuss and share scripts and script files...
Post Reply
drjs5x
Posts: 153
Joined: 18 Nov 2015 18:12
Location: Turkey

how can get selected first item basename?

Post by drjs5x »

hi
how can get selected first item basename?
please help me
newbie or not...........

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how can get selected first item basename?

Post by highend »

There is <selitem> and getpathcomponent()?
One of my scripts helped you out? Please donate via Paypal

drjs5x
Posts: 153
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how can get selected first item basename?

Post by drjs5x »

result: "S:\Films\test.mp4"
how can only "test"
?
thank you dear admin for helping.
Sincerely
newbie or not...........

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how can get selected first item basename?

Post by highend »

The answer is in my previous post, read the help file entries...
One of my scripts helped you out? Please donate via Paypal

drjs5x
Posts: 153
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how can get selected first item basename?

Post by drjs5x »

$base = gpc(<selitem>, "file");

thank you very much dear admin
newbie or not...........

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how can get selected first item basename?

Post by highend »

"file" is not "base"...
One of my scripts helped you out? Please donate via Paypal

Post Reply