Calling pulldown values

What type of scripts do you need?

Moderator: byronnash

Post Reply
scribling
Posts: 143
Joined: May 1st, 2005, 1:52 pm
Contact:

December 1st, 2011, 12:21 pm

How do I call a specific pulldown value?

I'm currently using

Code: Select all

ColorProfileConverter.property("Output Profile").setValue(12);
but what I'd really like to do is this:

Code: Select all

ColorProfileConverter.property("Output Profile").setValue("Fujifilm ETERNA 500 Printing Density (by Adobe)");
So that if that value doesn't happen to be #12 on another box it'll still use the correct value.

Thanks.
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

December 2nd, 2011, 5:32 pm

You have to loop through them and check the name of each one. If it matches what you are looking for then you've got your index.

-Lloyd
scribling
Posts: 143
Joined: May 1st, 2005, 1:52 pm
Contact:

December 2nd, 2011, 8:28 pm

Are you saying there's no way to call a specific setting by name? Does it have to be a number?

The problem with that is each machine may be different.
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

December 3rd, 2011, 7:47 am

Yes, I am saying there is no way to directly call it by name but looping is very fast so it should not be a big deal. And it doesn't matter that each machine is different since you would loop everytime to get the name.

-Lloyd
scribling
Posts: 143
Joined: May 1st, 2005, 1:52 pm
Contact:

December 4th, 2011, 9:53 pm

I'm sorry but I don't understand "loop."
Can you explain quickly or post an example.
I'd really appreciate it if you could.

Thanks
Alan Eddie
Posts: 28
Joined: January 12th, 2012, 1:36 am
Location: Ireland
Contact:

January 20th, 2012, 11:31 am

Alan Eddie
_______________________
www.alaneddie.com
3d Animation and VFX
RTE
Dublin
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

January 21st, 2012, 8:28 am

Thanks Eddie :-)
Post Reply