Thread View: adobe.scripting.indesign
5 messages
5 total messages
Started by hm24_arul
Mon, 05 Jan 2009 05:52
Find whats the Next Frame
Author: hm24_arul
Date: Mon, 05 Jan 2009 05:52
Date: Mon, 05 Jan 2009 05:52
19 lines
904 bytes
904 bytes
Hi scripters Here I am trying to find the next frame. Here is my script. var myf = app.selection[0]; alert(myf); var b = myframe.nextTextFrame; The script error Error Number: 55 Error string: Object does not support the property or method 'nextTextFrame' Please advice me where I am mistaken thanks in advance regards a r u l vpublish.net
Re: Find whats the Next Frame
Author: Kasyan Servetsky
Date: Mon, 05 Jan 2009 07:23
Date: Mon, 05 Jan 2009 07:23
3 lines
682 bytes
682 bytes
There is a typo in your code. The 3rd should be: var b = myf.nextTextFrame;
Re: Find whats the Next Frame
Author: hm24_arul
Date: Mon, 05 Jan 2009 09:42
Date: Mon, 05 Jan 2009 09:42
17 lines
860 bytes
860 bytes
Hi Kasyan Thanks for your reply. I am sorry for my typo mistake I have corrected now the script is like this var myf = app.selection[0]; alert(myf); var b = myf.nextTextFrame; but the same error thrown by the scrip! please advice thanks regards a r u l vpublish.net
Re: Find whats the Next Frame
Author: Kasyan Servetsky
Date: Mon, 05 Jan 2009 10:04
Date: Mon, 05 Jan 2009 10:04
5 lines
857 bytes
857 bytes
Arul, This code works for me, when I have a text frame selected and if this text frame is linked to the following frame in the thread. In this case you’ll successfully get a reference to the next text frame in the chain. Kasyan
Re: Find whats the Next Frame
Author: hm24_arul
Date: Mon, 05 Jan 2009 11:01
Date: Mon, 05 Jan 2009 11:01
4 lines
644 bytes
644 bytes
Hi Kasyan thanks a lot for u r help regards a r u l
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads