AE ENHANCERS

Expressions/Scripts/Presets
It is currently Fri May 24, 2013 12:31 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: !!!! strange result !!!
PostPosted: Sat Apr 07, 2012 3:32 am 
Offline

Joined: Sun Jan 09, 2011 9:45 am
Posts: 5
my ae project named "the project"

and run script :

app.project.file.name

the result is :

the%20project

now how can I fix this issue that result :

the project

?

April 10th update:

below is the part of render and email.jsx:

Code:
var projectName = "Unsaved Project";
         if (app.project.file) {
            projectName = File.decode(app.project.file.name);
         }
         // Can't have bare LF in email, Always put \r before \n or some servers will die.
         var myMessage = "Rendering of " + "<"+ projectName + ">"+ " is complete.\r\n\r\n";


and email content is :

Rendering of <`}.aep> is complete.

what is problem cause?


Last edited by msongz on Tue Apr 10, 2012 6:47 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: !!!! strange result !!!
PostPosted: Sat Apr 07, 2012 10:48 pm 
Offline

Joined: Sun Jan 09, 2011 9:45 am
Posts: 5
somebody help?


Top
 Profile  
 
 Post subject: Re: !!!! strange result !!!
PostPosted: Sun Apr 08, 2012 8:55 am 
Offline

Joined: Sat Jun 05, 2004 7:59 am
Posts: 646
Location: London, UK
This will fix it:

File.decode(app.project.file.name)


Top
 Profile  
 
 Post subject: Re: !!!! strange result !!!
PostPosted: Mon Apr 09, 2012 9:58 pm 
Offline

Joined: Sun Jan 09, 2011 9:45 am
Posts: 5
Paul Tuersley wrote:
This will fix it:

File.decode(app.project.file.name)



wow!that work!

and it also work in Chinese project name!!

thanks!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group