Cross refence images In-Tools Scripts Forum
![sp_Feed](http://in-tools.com/cms/wp-content/sp-resources/forum-themes/default/images/sp_Feed.png)
![sp_TopicIcon](http://in-tools.com/cms/wp-content/sp-resources/forum-themes/default/images/sp_TopicIcon.png)
I have tried this script in Indesign CS5:
var name = prompt("Pick a name","","Create anchor in graphic frame"); if(name){ makeObjectAnchor(app.selection[0],name); } function makeObjectAnchor(object,destinationName){ var tf = object.textFrames.add(); app.documents[0].hyperlinkTextDestinations.add(tf.parentStory.insertionPoints[0],{name:destinationName}); }
The thing is that I end up with <PB> instead of the real page number in the source text...
In the cross-references panel, I have PB written in red and it says "Invalid destination: on the pasteboard"
Can someone help please?
6:46 am
![Avatar](http://in-tools.com/cms/wp-content/forum-avatars/userdefault.png)
08/14/2017
![sp_UserOfflineSmall](http://in-tools.com/cms/wp-content/sp-resources/forum-themes/default/images/sp_UserOfflineSmall.png)
Thanks a lot for your help
Thanks for sharing such wonderful information. Împrumut online
Most Users Ever Online: 197
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
jacksonlame: 18
niftyix: 10
Ulrich Bogun: 9
jackferthomas: 8
Adrian: 8
Soyablack123: 7
Member Stats:
Guest Posters: 1
Members: 6013
Moderators: 0
Admins: 2
Forum Stats:
Groups: 3
Forums: 23
Topics: 279
Posts: 705
Newest Members: WiBjlnqboALz, NqmAUlOzLTYdRE, pyseed, QhuwMYagqvi, MWillustration, Our Daily Bread Ministries
Administrators: In-Tools: 11, Harbs: 201