Cross refence images In-Tools Scripts Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Cross refence images
04/27/2012
5:27 am
Avatar
freelance_pnh
New Member
Members
Forum Posts: 0
Member Since:
04/27/2012
sp_UserOfflineSmall Offline
Hi,

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?

04/27/2012
6:10 am
Avatar
Harbs
Admin
Forum Posts: 201
Member Since:
12/19/2010
sp_UserOfflineSmall Offline

Is the destination on the pasteboard?

08/19/2017
6:46 am
Avatar
ipelor
New Member
Members
Forum Posts: 2
Member Since:
08/14/2017
sp_UserOfflineSmall Offline

Thanks a lot for your help

http://london-escort.top/

Forum Timezone: America/New_York

Most Users Ever Online: 197

Currently Online: lesalenorth, chdichjody
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

niftyix: 10

Ulrich Bogun: 9

Adrian: 8

todaleha: 7

Jahrod: 6

Matt Brown: 6

Member Stats:

Guest Posters: 1

Members: 4617

Moderators: 0

Admins: 2

Forum Stats:

Groups: 3

Forums: 23

Topics: 209

Posts: 639

Newest Members: Daniel Fröhlich, technicalhelpforusa, Paper writing service, JackTaylor, acentriatech, Tran

Administrators: In-Tools: 11, Harbs: 201