Skip to main content
Robert at ID-Tasker
Legend
December 19, 2024
Question

Error when getting list of panels

  • December 19, 2024
  • 1 reply
  • 156 views

Here is a list of Panels:

 

2024 2025
1 # Tools 1 # Tools
2 # Pages 2 # Pages
3 # Character Styles 3 # Character Styles
4 # Paragraph Styles 4 # Paragraph Styles
5 # Stroke 5 # Stroke
6 # Attributes 6 # Attributes
7 # Text Wrap 7 # Text Wrap
8 # Swatches 8 # Swatches
9 # Layers 9 # Layers
10 # Story 10 # Story
11 # Gradient 11 # Gradient
12 # Align 12 # Align
13 # Character 13 # Character
14 # Paragraph 14 # Paragraph
15 # Colour 15 # Colour
16 # Transform 16 # Transform
  17 # Maths Expressions
17 # Track Changes 18 # Track Changes
18 # Notes 19 # Notes
19 # Scripts 20 # Scripts
20 # Glyphs 21 # Glyphs
21 # Table 22 # Table
22 # Effects 23 # Effects
23 # Trap Presets 24 # Trap Presets
24 # Control 25 # Control
25 #  ERROR 26 # ERROR
26 # Separations Preview 27 # Separations Preview
27 # Flattener Preview 28 # Flattener Preview
28 # Index 29 # Index
29 # Tags 30 # Tags
30 # Script Label 31 # Script Label
31 # Hyperlinks 32 # Hyperlinks
32 # Cross-References 33 # Cross-References
33 # Buttons and Forms 34 # Buttons and Forms
34 # Object States 35 # Object States
35 # Info 36 # Info
36 # Background Tasks 37 # Background Tasks
37 # Bookmarks 38 # Bookmarks
38 # Pathfinder 39 # Pathfinder
39 # Assignments 40 # Assignments
40 # Data Merge 41 # Data Merge
41 # Object Styles 42 # Object Styles
42 # Table Styles 43 # Table Styles
43 # Cell Styles 44 # Cell Styles
44 # Links 45 # Links
45 # Conditional Text 46 # Conditional Text
46 # Preflight 47 # Preflight
47 # Page Transitions 48 # Page Transitions
48 # Animation 49 # Animation
49 # Timing 50 # Timing
50 # Liquid Layout 51 # Liquid Layout
51 # Media 52 # Media
52 # EPUB Interactivity Preview 53 # EPUB Interactivity Preview
53 # PDF Comments 54 # PDF Comments
54 # GIFStudio TRIAL 55 # GIFStudio TRIAL
56 # Learn 57 # Learn
57 # Tool Hints 58 # Tool Hints
60 # CC Libraries 61 # CC Libraries
61 # Style Packs 62 # Style Packs
62 # Plugins Panel 63 # Plugins Panel
63 # Review 64 # Review
  65 # Content Editing
64 # Text to Image (Beta) 66 # Text to Image
65 # Version History 67 # Version History
66 # Articles 68 # Articles
67 # Overlays 69 # Overlays
68 # History 70 # History

 

When I'm trying to get this list - I can ignore error for this 25th / 26th Panel - but it "crashes" InDesign - no panel can be opened in the UI - they blink and close instantly like "enter" is pressed automatically.

 

 

If I add exception and skip those indexes - everything is fine.

 

Anyone knows which Panel is it?

 

This topic has been closed for replies.

1 reply

Participating Frequently
December 19, 2024

If I ask ID in AppleScript:

 

  tell application id "com.adobe.InDesign"

    every panel

  end tell

 

it's listed as "property list item "Properties" and it shows no properties of its own . . . . 

 

 

 

Robert at ID-Tasker
Legend
December 19, 2024

In VB - if I open Object Inspector - the collection is empty - but it can still be iterated. 

 

But for those two - I get an error that I can ignore - but it "crashes" InDesign. 

 

So the only solution for me is to skip them and don't raise the error.