Hi Uwe I did get the answer a few years back. I wrote the below myself before seeing Dirks version (not nicked). From what I remember my version has some plus points, I think that Dirk's breaks if the Enum was removed from InDesign and my one doesn't but I really don't remember well. Thanks either way Trevor // script to show most of the selection properties by Trevor // Creative-Scripts.Com (Still not ready!) available (sometimes) for custom scripts $$$ // scripts {at} Creative-Scripts [dot] Com $.level = 0; // set debug mode to allow try catch (not read only as stated in manual); var e; $.writeln(getEnum(app.wordRTFImportPreferences.resolveCharacterStyleClash)); function getEnum(prop) { var p, n, c, i; getEnum.enums = getEnum.enums || { AcrobatCompatibility: true, AddPageOptions: true, AdornmentOverprint: true, AlignDistributeBounds: true, AlignOptions: true, AlignmentStyleOptions: true, AlternateGlyphForms: true, AlternatingFillsTypes: true, AnchorPoint: true, AnchorPosition: true, AnchoredRelativeTo: true, AnimationEaseOptions: true, AnimationPlayOperations: true, AntiAliasType: true, ArrangeBy: true, ArrowHead: true, AssetType: true, AssignmentExportOptions: true, AssignmentStatus: true, AutoEnum: true, AutoSizingReferenceEnum: true, AutoSizingTypeEnum: true, BalanceLinesStyle: true, BaselineFrameGridRelativeOption: true, BaselineGridRelativeOption: true, BehaviorEvents: true, BevelAndEmbossDirection: true, BevelAndEmbossStyle: true, BevelAndEmbossTechnique: true, BindingOptions: true, BitmapCompression: true, BlendMode: true, BlendingSpace: true, BookContentStatus: true, BookletTypeOptions: true, BoundingBoxLimits: true, BuildingBlockTypes: true, BulletCharacterType: true, BulletListExportOption: true, Capitalization: true, ChangeBackgroundColorChoices: true, ChangeCaseOptions: true, ChangeConditionsModes: true, ChangeMarkings: true, ChangeTextColorChoices: true, ChangeTypes: true, ChangebarLocations: true, ChangecaseMode: true, ChapterNumberSources: true, CharacterAlignment: true, CharacterCountLocation: true, CharacterDirectionOptions: true, ClippingPathType: true, ColorModel: true, ColorOutputModes: true, ColorRenderingDictionary: true, ColorSettingsPolicy: true, ColorSpace: true, ComposeUsing: true, CompressionQuality: true, ConditionIndicatorMethod: true, ConditionIndicatorMode: true, ConditionUnderlineIndicatorAppearance: true, ContainerType: true, ContentType: true, ContourOptionsTypes: true, ConvertPageBreaks: true, ConvertShapeOptions: true, ConvertTablesOptions: true, CoordinateSpaces: true, CopyrightStatus: true, CornerOptions: true, CreateProxy: true, CrossReferenceType: true, CursorTypes: true, CustomLayoutTypeEnum: true, DataFormat: true, DefaultRenderingIntent: true, DesignOptions: true, DiacriticPositionOptions: true, DigitsTypeOptions: true, DimensionsConstraints: true, DisplayOrderOptions: true, DisplaySettingOptions: true, DistributeOptions: true, DocumentIntentOptions: true, DocumentPrintUiOptions: true, DynamicDocumentsJPEGQualityOptions: true, DynamicDocumentsTextExportPolicy: true, DynamicMediaHandlingOptions: true, DynamicTriggerEvents: true, EPSColorSpace: true, EPSImageData: true, EditingState: true, EmptyFrameFittingOptions: true, EndCap: true, EndJoin: true, EpubCover: true, EpubVersion: true, EventPhases: true, ExportFormat: true, ExportLayerOptions: true, ExportOrder: true, ExportPresetFormat: true, ExportRangeOrAllPages: true, FeatherCornerType: true, FeatherMode: true, FeatureSetOptions: true, FindChangeTransliterateCharacterTypes: true, FirstBaseline: true, FitDimension: true, FitMethodSettings: true, FitOptions: true, Fitting: true, FlattenerLevel: true, Flip: true, FlipValues: true, FloatingWindowPosition: true, FloatingWindowSize: true, FollowShapeModeOptions: true, FontDownloading: true, FontEmbedding: true, FontStatus: true, FontTypes: true, FootnoteFirstBaseline: true, FootnoteMarkerPositioning: true, FootnoteNumberingStyle: true, FootnotePrefixSuffix: true, FootnoteRestarting: true, GIFOptionsPalette: true, GlobalClashResolutionStrategy: true, GlobalClashResolutionStrategyForMasterPage: true, GlowTechnique: true, GoToZoomOptions: true, GradientType: true, GridAlignment: true, GridViewSettings: true, GuideTypeOptions: true, HeaderFooterBreakTypes: true, HeaderTypes: true, HorizontalAlignment: true, HorizontalOrVertical: true, HyperlinkAppearanceHighlight: true, HyperlinkAppearanceStyle: true, HyperlinkAppearanceWidth: true, HyperlinkDestinationPageSetting: true, ICCProfiles: true, IconSizes: true, ImageAlignmentType: true, ImageConversion: true, ImageDataTypes: true, ImageExportOption: true, ImageFormat: true, ImagePageBreakType: true, ImageResolution: true, ImageSizeOption: true, ImportFormat: true, ImportPlatform: true, ImportedPageCropOptions: true, InCopyUIColors: true, IndexCapitalizationOptions: true, IndexFormat: true, InkTypes: true, InnerGlowSource: true, InteractiveElementsOptions: true, InteractivePDFInteractiveElementsOptions: true, JPEGOptionsFormat: true, JPEGOptionsQuality: true, JoinOptions: true, JpegColorSpaceEnum: true, Justification: true, KashidasOptions: true, KentenAlignment: true, KentenCharacter: true, KentenCharacterSet: true, KinsokuHangTypes: true, KinsokuSet: true, KinsokuType: true, LanguageAndRegion: true, LayoutRuleOptions: true, Leading: true, LeadingModel: true, LibraryPanelViews: true, LineAlignment: true, LineSpacingType: true, LinkStatus: true, ListAlignment: true, ListType: true, LiveDrawingOptions: true, Locale: true, LocationOptions: true, LockStateValues: true, MapType: true, MarkLineWeight: true, MarkTypes: true, MatrixContent: true, MeasurementUnits: true, MojikumiTableDefaults: true, MonoBitmapCompression: true, MoviePlayOperations: true, MoviePosterTypes: true, NestedStyleDelimiters: true, NoteBackgrounds: true, NoteColorChoices: true, NothingEnum: true, NumberedListExportOption: true, NumberedParagraphsOptions: true, NumberingStyle: true, OTFFigureStyle: true, ObjectTypes: true, OpenOptions: true, OpenTypeFeature: true, OutlineJoin: true, OverrideType: true, PDFColorSpace: true, PDFCompressionType: true, PDFCrop: true, PDFJPEGQualityOptions: true, PDFMarkWeight: true, PDFProfileSelector: true, PDFRasterCompressionOptions: true, PDFXStandards: true, PNGColorSpaceEnum: true, PNGExportRangeEnum: true, PNGQualityEnum: true, PPDValues: true, PageBindingOptions: true, PageColorOptions: true, PageLayoutOptions: true, PageNumberPosition: true, PageNumberStyle: true, PageNumberingOptions: true, PageOrientation: true, PagePositions: true, PageRange: true, PageReferenceType: true, PageSideOptions: true, PageTransitionDirectionOptions: true, PageTransitionDurationOptions: true, PageTransitionOverrideOptions: true, PageTransitionTypeOptions: true, PageViewOptions: true, PaginationOption: true, PanelLayoutResize: true, PanningTypes: true, PaperSize: true, PaperSizes: true, ParagraphDirectionOptions: true, ParagraphJustificationOptions: true, PathType: true, PathTypeAlignments: true, PdfMagnificationOptions: true, PerformanceMetricOptions: true, PlacedVectorProfilePolicy: true, PlayOperations: true, PointType: true, Position: true, PositionalForms: true, PostScriptLevels: true, PreflightLayerOptions: true, PreflightProfileOptions: true, PreflightRuleFlag: true, PreflightScopeOptions: true, PreviewPagesOptions: true, PreviewSizeOptions: true, PreviewTypes: true, PrintLayerOptions: true, PrintPageOrientation: true, Printer: true, PrinterPresetTypes: true, Profile: true, ProofingType: true, RangeSortOrder: true, RasterCompressionOptions: true, RasterResolutionOptions: true, RecordSelection: true, RecordsPerPage: true, RenderingIntent: true, RepaginateOption: true, ResizeConstraints: true, ResizeMethods: true, ResolveStyleClash: true, RestartPolicy: true, RotationDirection: true, RowTypes: true, RubyAlignments: true, RubyKentenPosition: true, RubyOverhang: true, RubyParentSpacing: true, RubyTypes: true, RuleDataType: true, RuleWidth: true, RulerOrigin: true, SWFBackgroundOptions: true, SWFCurveQualityValue: true, Sampling: true, SaveOptions: true, ScaleModes: true, Screeening: true, ScreenModeOptions: true, ScriptLanguage: true, SearchModes: true, SearchStrategies: true, SelectAll: true, SelectionOptions: true, Sequences: true, ShadowMode: true, SignatureSizeOptions: true, SingleWordJustification: true, SmartMatchOptions: true, SnapshotBlendingModes: true, SortAssets: true, SoundPosterTypes: true, SourceFieldType: true, SourceSpaces: true, SourceType: true, SpanColumnCountOptions: true, SpanColumnTypeOptions: true, SpecialCharacters: true, SpreadFlattenerLevel: true, StartParagraph: true, StateTypes: true, StaticAlignmentOptions: true, StoryDirectionOptions: true, StoryHorizontalOrVertical: true, StoryTypes: true, StrokeAlignment: true, StrokeCornerAdjustment: true, StrokeFillProxyOptions: true, StrokeFillTargetOptions: true, StrokeOrderTypes: true, StyleConflict: true, StyleSheetExportOption: true, SyncConflictResolution: true, TabStopAlignment: true, TableDirectionOptions: true, TableFormattingOptions: true, TagRaster: true, TagTextExportCharacterSet: true, TagTextForm: true, TagTransparency: true, TagType: true, TagVector: true, TaggedPDFStructureOrderOptions: true, TaskAlertType: true, TaskState: true, TextExportCharacterSet: true, TextFrameContents: true, TextImportCharacterSet: true, TextPathEffects: true, TextStrokeAlign: true, TextTypeAlignments: true, TextWrapModes: true, TextWrapSideOptions: true, ThumbsPerPage: true, TilingTypes: true, ToolTipOptions: true, ToolsPanelOptions: true, TrapEndTypes: true, TrapImagePlacementTypes: true, Trapping: true, UIColors: true, UITools: true, UndoModes: true, UpdateLinkOptions: true, UserInteractionLevels: true, VariableNumberingStyles: true, VariableScopes: true, VariableTypes: true, VersionCueSyncStatus: true, VersionState: true, VerticalAlignment: true, VerticalJustification: true, VerticallyRelativeTo: true, ViewDisplaySettings: true, ViewZoomStyle: true, WarichuAlignment: true, WatermarkHorizontalPositionEnum: true, WatermarkVerticalPositionEnum: true, WhenScalingOptions: true, XFLRasterizeFormatOptions: true, XMLElementLocation: true, XMLElementPosition: true, XMLExportUntaggedTablesFormat: true, XMLFileEncoding: true, XMLImportStyles: true, XMLTransformFile: true, ZoomOptions: true, }; getEnum.nnums = getEnum.nnums || {}; if (getEnum.nnums[+prop] !== undefined) return getEnum.nnums[+prop]; for (n in getEnum.enums) { try { if ((p = $.global ) && p.constructor.name === "Enumeration") { for (i in p) { c = +p; getEnum.nnums = n + "." + i; } } } catch (e) {} } if (getEnum.nnums[+prop] !== undefined) return getEnum.nnums[+prop]; return "Enumerator UNKNOWN"; }
... View more