- Сообщения
- 62
- Реакции
- 0
Пишу:
Set myInDesign = CreateObject("InDesign.Application.CS")
Set myPub = myInDesign.ActiveDocument
Set myLinks = myPub.Links
' перебор линков в публикации
For i = 1 To myLinks.Count
Set curLink = myLinks.Item(i)
Set curRect = curLink.Parent.Parent
If curLink.LinkType = "TIFF" Then
If curRect.StrokeColor = "None" Then
curRect.StrokeColor = "black"
curRect.StrokeWeight = 0.5
numStroke = numStroke + 1
End If
End If
Next i
Строка StrokeColor НЕ РАБОТАЕТ!!!!!
Set myInDesign = CreateObject("InDesign.Application.CS")
Set myPub = myInDesign.ActiveDocument
Set myLinks = myPub.Links
' перебор линков в публикации
For i = 1 To myLinks.Count
Set curLink = myLinks.Item(i)
Set curRect = curLink.Parent.Parent
If curLink.LinkType = "TIFF" Then
If curRect.StrokeColor = "None" Then
curRect.StrokeColor = "black"
curRect.StrokeWeight = 0.5
numStroke = numStroke + 1
End If
End If
Next i
Строка StrokeColor НЕ РАБОТАЕТ!!!!!