AE ENHANCERS

Expressions/Scripts/Presets
It is currently Fri Aug 01, 2014 11:32 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Script to mix slider (numbers) data with letters
PostPosted: Tue Nov 13, 2007 4:52 pm 
Offline

Joined: Mon Nov 05, 2007 1:03 pm
Posts: 2
That's it, I'm looking for an string to mix numeric data (from an slider) with letters (messuarement), in this way:

thisComp.layer("Null 2").effect("Slider Control")("Slider") + mm

to get:

## mm

I'm getting error puting the above string, and I think is because I'm mixing numeric data with letters, is it possible for after effects, to recognize numeric data as letters and puting together with a + ?

tks to all.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 1:05 am 
Offline

Joined: Sat Jun 05, 2004 7:59 am
Posts: 695
Location: London, UK
Presumably you're applying this expression to the Source Text property of a text layer? Try this:

thisComp.layer("Null 2").effect("Slider Control")("Slider").value + "mm";


Top
 Profile  
 
 Post subject: tks, dude
PostPosted: Wed Nov 14, 2007 1:40 pm 
Offline

Joined: Mon Nov 05, 2007 1:03 pm
Posts: 2
Paul Tuersley wrote:
Presumably you're applying this expression to the Source Text property of a text layer? Try this:

thisComp.layer("Null 2").effect("Slider Control")("Slider").value + "mm";


It works completly, I put an string linked to a slider on the source text parameter on a text layer.

tks.


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 3 guests


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