Edittext .characters property in CS2


does .characters property work in cs2?

 

dlg.add ("statictext", undefined, "search: "); var someedittext = dlg.add ("edittext", undefined, ""); someedittext.characters = 50; 

 

the third line doesn't seem change width expected.

is there better way around rather adding spaces empty string of edittext pad out bit?

this should work...

 

someedittext.preferredsize = [50, 20]; 


More discussions in Photoshop Scripting


adobe

Comments