5 Replies Latest reply on Jul 14, 2014 2:15 AM by Jump_Over

    Check the first object within text frame if another text frame or normal text with JaveScript


      Hi all,

      I need to write script that will check the first object within my selected text frame and tell me if that object is textFrame Object or text Object.

      For Example the next image shows that the first object in the main text frame is another text frame contains Table, in that case the script should return TRUE


      in the next case the main text frame contains normal text in beginning of the frame, in that case the script should return FALSE


      So how can i check for this cases,


      Any help i will be grateful,