This content has been marked as final. Show 4 replies
Where the heck did you come up with "editContents"?
var amit = myDlg.msgPnl1.titleEt.editContents;
"editContents" is not, and never has been a part of the object model for scriptUI. Are you using the docs, theOMV, or are you just guessing at what the properties might be?
To get the contents of a scriptUI edittext box:
var amit = myDlg.msgPnl1.titleEt.text;
PLEASE - use either the docs or the OMV to at least try to come up with an answer on your own. None of us here mind helping. Please respect us and our experience by at least attempting to figure it out on your own.
A question like this tells me that you haven't tried using the OMV for scriptUI.
Believe it or not, all of us learned how to do this the hard way. We fought through PDF documents for hours on end trying to figure out how to make things work. We don't mind showing people the way. We do object to writing a script for someone, one problem at a time.
I respect you and your experience. I am giving an assurances that i will never come up with such easy stuff. I will try by my self first and if it is impossible to make it out. I will come up on forum.
Can you give me any link where i can get how to use OMV and some good sample script. By using this tool i can solve my problem.
In the ESTK, look under the "Help" menu.
You will see menus:
Adobe Bridge CS3 Object Model
Adobe Illustrator CS3 Type Library
Adobe InDesign CS3 Object Model
Adobe Photoshop CS3 Object Library
ExtendScript ToolKit ReadMe
SDK -> Adobe Intro to Scripting
The top 6 menu items open the OMV with the corresponding object model. The SDK menu gives access to a couple of handy pdf's.
Bob Stucky wrote:
> Where the heck did you come up with "editContents"?
"editContents" would have been correct if he were using regular (non
script UI) dialogs...