Skip to main content
Inspiring
November 12, 2014
Answered

Photoshop Script - Javascript: Returning value of input field?

  • November 12, 2014
  • 1 reply
  • 490 views

Hi there,

I've got the following input "edittext" field being rendered in a window. How can I return the value that has been input in it?

cal_char = cal.add('edittext', [25,40,135,60], '1');

I have tried cal_char.value, but it doesn't work.

Any help?

Thanks!

This topic has been closed for replies.
Correct answer xbytor2

Try cal_char.text,

-x

1 reply

xbytor2Correct answer
Inspiring
November 12, 2014

Try cal_char.text,

-x

gespinhaAuthor
Inspiring
November 13, 2014

That works Thanks!