Thread View: adobe.scripting.indesign
1 messages
1 total messages
Started by Dv1
Wed, 03 Feb 2010 22:13
Find object's unique ID
Author: Dv1
Date: Wed, 03 Feb 2010 22:13
Date: Wed, 03 Feb 2010 22:13
20 lines
1635 bytes
1635 bytes
VBscript-Indesign CS4
I am trying to display the ID of a selected object, but I don't know
what I'm doing, this is what i have:
Function main()
Set myInDesign = CreateObject("InDesign.Application.CS4")
myInDesign.Activate
If myInDesign.Documents.Count <> 0 Then
If myInDesign.Selection.Count <> 0 Then
Set ObjID = InDesign.Selection.Pageitems.ID
MsgBox (ObjID & "Test")
Else
MsgBox ("Please select an object and try again.")
End If
Else
MsgBox ("Please open a document, select an object, and try again.")
End If
End function
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