Re: Change the case of file names
Re: Change the case of file names
- Subject: Re: Change the case of file names
- From: Emile SCHWARZ <email@hidden>
- Date: Wed, 31 Dec 2008 08:28:43 +0100 (CET)
Thanks Yvan and Happy New Year.
Emile
> --[SCRIPT]
> set leNom to my convert("THIS IS AN UPPERCASE FILE NAME.png", "lower")
> on convert(n, choix)
> --choix = "lower"
> --set choix = "upper"
> --set choix = "title"
> return (do shell script "/usr/bin/python -c \"import sys; print
> unicode(sys.argv[1], 'utf8')." & choix & "().encode('utf8')\" " &
> quoted form of n)
> end convert
> --[/SCRIPT]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden