Thread View: adobe.scripting.indesign
4 messages
4 total messages
Started by David_Pepper
Fri, 16 Jan 2009 01:47
Hyperlink Text Destination Problem VB CS4
Author: David_Pepper
Date: Fri, 16 Jan 2009 01:47
Date: Fri, 16 Jan 2009 01:47
1 lines
972 bytes
972 bytes
I have a script that iterates through a bunch of documents and creates HyperlinkTextDestinations. In one of the documents (only one), it works fine for half of it and then stops working. No errors appear. The only thing I can think of is that there is some kind of restriction on naming the HyperlinkTextDestination. Does anyone know of any naming restrictions for HyperlinkTextDestinations (like text legnth, characters, etc.)?
Re: Hyperlink Text Destination Problem VB CS4
Author: JerrodHill
Date: Fri, 16 Jan 2009 07:28
Date: Fri, 16 Jan 2009 07:28
1 lines
926 bytes
926 bytes
The author may have captured and hid the error. It could stop for other reasons, too many to name... and some more likely than a string issue. Edit the script with text pad and look for a 'try...catch...end try' exception handling lines. If it's there, you'll want to send the error to a message box. Otherwise you're just crashing, eh?
Re: Hyperlink Text Destination Problem VB CS4
Author: Steven_F._Bryant
Date: Fri, 16 Jan 2009 20:35
Date: Fri, 16 Jan 2009 20:35
1 lines
753 bytes
753 bytes
Yes There Are Alot Of Characters That Are Not To Be Used Especially The Hidden Characters For Index Or Other Hidden Characters
Re: Hyperlink Text Destination Problem VB CS4
Author: David_Pepper
Date: Sat, 17 Jan 2009 00:44
Date: Sat, 17 Jan 2009 00:44
1 lines
843 bytes
843 bytes
That must be it. I created a function that clips off any hidden characters (basically any characters that aren't found on the key board) from the ends of the strings I was generating for my HyperlinkTextDestination names and now the script works fine.
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