if you put this you normaly have the name with the extension
[lindex [split [value root.name] /] end]

and with that you will have without the extension
[lindex [split [lindex [split [value root.name] /] end] .] 0]


On Sun, Dec 18, 2011 at 5:34 PM, Peter Hartwig <[email protected]>wrote:

>  I cant do it off the top of my head, but isn't there an easy way to strip
> out the filename from that? in python there's a few ways of doing it using
> the 'os.' library as far as i remember
>
> pete
> www.freelunch.dk
>
>
>
> On 12/18/11 5:31 PM, Gary Jaeger wrote:
>
> Is there a way to return only the current script name? If I use [value
> root.name] it returns the entire file path including the file name.
> Thanks!
>
>  --
>   Gary Jaeger // Core Studio
> 249 Princeton Avenue
> Half Moon Bay, CA 94019
> 650 728 7060
> http://corestudio.com
>
>
>
> _______________________________________________
> Nuke-users mailing [email protected], 
> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>



-- 
Julien Chandelle
GSM : +32 (0) 494 277 542
julienchandelle.be <http://www.julienchandelle.be>
@jimbiscuit <https://twitter.com/#%21/jimbiscuit> ||
imdb<http://www.imdb.com/name/nm2844171/>
|| Nuke , AE & Fusion Compositor ||
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to