Applying styles to  t:panelTab and t:panelTabbedPane

I am trying to apply custom styleClasses to the t:panelTab and t:panelTabbedPane components. it seems it is not getting reflected. If some body knows a solution please help me.

Search the forums
If that fails, then search Google

Similar Messages

  • Find a specific paragraph style within a table and apply a specific cell style?

    I'm a total beginner when it comes to scripting, but I would like to create a script that finds the paragraph style "resultsUL" within a large table and applies the cell style "female". Sure wish the find/replace was able to account for cell styles as well as paragraph and character styles. Is anyone willing to help me with this? Thank you!

    Hi,
    I do it quickly defining a simple research on the "resultsUL" para style and using a loop with QuicKeys as:
    Cmd-0 is a shortcut associated to the "female" cell style.
    So, What I do: search the para style (Cmd-option-F) and apply the cell style, then search again…
    As easy to do with QuicKeys, I think that can be easily done with a [JS] (faster process!).

  • Create/find tables and apply style

    Hello,
    I'm very new to scripting. I want to learn the basics like creating a table, creating anchored frames, textframes, etc.
    Now, I want to create/find tables in a document and I would like to apply styles. I saw a script to do this. When I paste the script in Extendscript CS4, than the program crash.
    The program crash in part 1. When I create another script with only part 2 (see //part 2) then there is no problem.
    What do i wrong? And can anyone tell me what part 1 of the script do?
    Thanks,
    // part 1
    // using your version; I'd prefer to return 0 if table not found
    function findTable(obj) {
             while (obj.constructor.name != "Table") {
            obj = obj.parent;
            if (obj.constructor.name == "Application") {
                throw "Can't find table"
        return obj
    // part 2
    var myTable = 0;
    if (app.documents.length > 0 && app.selection.length > 0)
        myTable = findTable(app.selection[0]);
    // check for at least enough rows for 1 top row, 1 body row, 1 bottom row
    if (myTable != 0 && myTable.rows.length >= 3) {
        // delete all rules; set insets to 0
        myTable.cells.everyItem().appliedCellStyle = "[None]";
        // format bottom row
        // (remember rows uses 0-based count)
        a = myTable.rows.length - 1;
        myTable.rows[a].cells.everyItem().appliedCellStyle = "4.cell_body_last";
        // format middle rows
        first = 1;
         last = myTable.rows.length - 2;
        for (a = first; a <= last; ++a)
            myTable.rows[a].cells.everyItem().appliedCellStyle = "3.cell_body";
        // format top row
        a = 0;
        myTable.rows[a].cells.everyItem().appliedCellStyle = "2.cell_header";

    Part 1 expects the text cursor to be anywhere inside a table -- either in the regular text, or with a cell, row, column, or the entire table selected.
    It walks "up" using its parent until it arrives at the table object itself.
    This will only work if the text cursor actually is anywhere inside a table. It does nothing when you are somewhere else, and it only works with the "current" table.

  • InDesign CC is bringing in style sheets from Word and other places that I copy type from, like email, Acrobat. In InDesign CS4, whenever I brought in text from outside it assumed the paragraph style applied to the waiting text box. The loss of this functi

    I used to be able to get text from a Word doc (copy it), and then go into my CS4 InDesign file and paste it into a waiting box that had a paragraph style assigned to it and boom, it would take on the assigned paragraph style of that text box. Now it brings in the style from wherever the text came from. If the font looks similar to what was there it can be too hard to tell that it's different. When you are working on a book with 200 pages and copying text from Word docs and dropping it in here and there in InDesign, it causes alot of extra work and problems.
    In fact I have lost alot of security functions I used to have in CS4 in CC2014 in InDesign, Photoshop, Illustrator and Acrobat and it is making me want to go back to CS4 in a hurry.

    I actually FINALLY found the answer!!!! In the preferences area you choose Clipboard Handling and then you choose "Text Only" under When Pasting Text and Tables from Other Applications (see photo).

  • Clicking a Paragraph Style Does Not Apply Style to Text

    I just switched from a PC to a brand new MacBook Pro (OSX Lion 10.7), and I bought InDesign CS5.5. I have been using CS4 on a PC for a couple of years and had no issues. For some reason, I cannot apply Paragraph Styles by placing my cursor in the text and clicking the Paragraph style. It highlights the clicked style for a moment, and then de-highlights all the styles, but does not apply any changes. The only way I can apply a Paragraph Style right now is by right clicking the style and selecting "Apply..." from the drop down menu. It's very puzzling. I was wondering if anyone had any experience with this. I also have Microsoft Office: Mac 2011 installed on the laptop if that makes a difference to anyone. Any help would be greatly appreciated, since I typeset and edit for my living, and this problem is slowing me down a bit.

    Neither. Let's say I click into a paragraph. The current style will be highlighted. If I click on another style (or even attempt to re-apply the same style by clicking on it in the styles pane), it momentarily highlights the new style, then flashes a little bar underneath (like the one that shows up if I were to try to re-organize the styles list by dragging a style to a different pace in the styles list), then all the styles become unselected, but no changes have been applied to the paragraph in question. Very definitely not normal. It is almost as if the pane assumes that I am attempting to drag the style even when I am merely clicking on it. Very weird.

  • How to apply style sheet (.css) in Weblogic directory listing

    Hi,
    We are migrating a directory listing application from Apache to Weblogic.
    Earlier we did this by Apache httpd.conf entry like below :
    <Directory "/opt/apache/httpd-2.1.9/htdocs/Myreportfolder">
    IndexOptions FancyIndexing FoldersFirst NameWidth=* XHTML
    IndexOrderDefault Descending Date
    IndexStyleSheet "/css/style.css"
    </Directory>
    /opt/apache/httpd-2.1.9/htdocs folder has all it's usual resource files.
    We were able to see documents in "Myreportfolder".
    Now we have moved to Weblogic and using virtual directory mapping as below and we are trying to achieve the same thing:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
    - <wls:container-descriptor>
    <wls:index-directory-enabled>true</wls:index-directory-enabled>
    <wls:index-directory-sort-by>LAST_MODIFIED</wls:index-directory-sort-by>
    </wls:container-descriptor>
    - <wls:virtual-directory-mapping>
    <wls:local-path>/Myreportfolder</wls:local-path>
    <wls:url-pattern>/*</wls:url-pattern>
    </wls:virtual-directory-mapping>
    <wls:context-root>/getreports</wls:context-root>
    </wls:weblogic-web-app>
    We are able to view the reports but we do not get look-and-feel of Apache like directory listing.
    but we encounter below issues:
    1) File/Folder icons are not visible - we want to use style sheets in http header from the response that is returned from weblogic server
    2) Filename is limited to 29 characters when it is showing
    3) Files are not sortable as Descending order - we sorted using tag <wls:index-directory-sort-by>LAST_MODIFIED</wls:index-directory-sort-by> but the latest file is shown at the last
    We are thinking that Weblogic must be having some configuration like Apache httpd.conf where we can apply style sheets (css ).
    We would appreciate af anyone can provide better insight into the issue.
    or is it possible to extend weblogic.servlet.fileservlet class to serve this purpose.
    Thanks & regards,
    Rabi

    Hi Vikash,
    Check the below links which will you idea on the same.
    Stylesheet for WDA without integrating in SAP Portal
    Apply custom css to WebDynpro application
    Thanks
    KH

  • Shortcut to: Apply (style), Clear Overrides  ?

    Hi there,
    I'm working on a approx 100pg price list that I've set up a tables for, and the design of it has changed slightly (sigh). It looks like a basic excel spreadsheet and I have imported the text already. Basically, I'm going through and applying a cell style to various rows, not equidistant from each other -- some 3 rows apart, some 15. I need to, and have been, highlighting the row, right-clicking the particular cell style, and doing the "Apply (style), Clear Overrides" to get the desired result. So, what I was wondering, Is there ANY way to create a shortcut to do this? I know how to apply the style with a shortcut, but not the overrides option.
    Even better, if anyone knows how to select multiple rows at once and apply, that would be fantastic.
    Love this forum and thanks in advance!

    I was just thinking about that cost/benefit analysis on my way to work this morning. If it takes me a whole hour to gin up that script, then how many months before I make those hours back in time saved? My parastyles always have numpad shortcuts (e.g. Control + numpad 8), and my "Clear All Overrides" shortcut is Control + Shift + numpad Enter, so it might be a long, long time before the saved fraction of a second from using a single script instead of two keyboard shortcuts that are right next to one another adds up to the hour of Javascript fumbling.
    (Then again, if I cared that much about saving milliseconds, I wouldn't be posting this. )

  • Applying style sheets to Jato

    Is there an example of this somewhere or some documentation? I'm using Jato
    1.2.
    Also, in the emails that fly back and forth I have seen a date sample
    mentioned.
    Where is this? I have got the JatoSamples.war deployed and I don't see a date
    example. I just wonder if I'm missing some other Jato examples.
    Thanks.
    Belinda

    There is some confusion here. The JatoSample project that shipped with the
    Developer CD does not include the Components samples (which includes the Date
    example). The "live" sample that is viewable on the intenal web site
    http://ias.red.iplanet.com/jato/ does include the Component samples.
    We intentionally disabled the Component samples in the Developer CD version
    because at the time that it shipped we had an unresolved issue with running the
    Component samples on certain servlet containers. That issue has been favorably
    resolved.
    The downloadable version of Jato 1.2 should contain a version of the JatoSample
    which does have the Component sample enabled.
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, November 29, 2001 8:39 AM
    Subject: RE: [iPlanet-JATO] applying style sheets to Jato
    Belinda,
    Sorry for the delay. JATO is now available on http://developer.iplanet.com
    and the JATO Sample WAR file is available separately for download - so make
    sure you have this latest example. The sample is available LIVE on internal
    sites which I will send you offline. We are working to have this and other
    samples running live on the public web site shortly.
    For the Date component example please check out the Components section in
    the Index of the running application and the following in the WAR file
    WEB-INF/classes/jatosample/module1/E0130Viewbean.java
    WEB-INF/jatoSample.tld
    WEB-INF/classes/jatosample/components
    Could you please elaborate on your requirements for style sheets. Other
    than using style sheets normally as you would with JSPs, what are you trying
    to do? We would like to be focused in our answers.
    matt
    -----Original Message-----
    From: Belinda Garcia [mailto:<a href="/group/SunONE-JATO/post?protectID=014056235009078154169082148140172241239144044214017123152006048067">belinda.garcia@s...</a>]
    Sent: Tuesday, November 27, 2001 5:08 PM
    Subject: [iPlanet-JATO] applying style sheets to Jato
    Is there an example of this somewhere or some documentation? I'm using Jato
    1.2.
    Also, in the emails that fly back and forth I have seen a date sample
    mentioned.
    Where is this? I have got the JatoSamples.war deployed and I don't see a
    date
    example. I just wonder if I'm missing some other Jato examples.
    Thanks.
    Belinda
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    [Non-text portions of this message have been removed]

  • Get Text with Applied Style

    Hi all,
    I am using InDesign CS3 on OS 10.5. I'm trying to write something in Applescript that can look at a document and give me the text that has a certain applied style.
    For example, if a document contained the text "Hello, world" and had an applied paragraph style called "Greeting," then what I want is to use my script to tell that document something like this:
    tell application "Adobe Indesign CS3"
    set theDoc to document 1
    set theText to get every paragraph of theDoc whose applied paragraph style is "Greeting"
    end tell
    theText
    -->should return: "Hello, world"
    Obviously, I tried that script, but it doesn't work. I get the error "Adobe InDesign CS3 got an error: Cant get every paragraph of document "MyDocument.indd" whose applied paragraph style = "Greeting"."
    I'm not sure if I am just using the wrong commands or what. Any help is greatly appreciated!

    Hi Hayden,
    The trouble is, theDoc doesn't have paragraphs. If you open the InDesign dictionary and look at the document object, you'll see text frames, and you'll see stories, but no paragraphs. To get all of the paragraphs, you'd use something like this:
    set theText to every paragraph of every story
    But getting every paragraph of every story whose applied paragraph style is a specific style is harder to do using a filter ("whose") clause, because it has multiple conditions. Shane can probably do it, but I'm not having much luck. All the same, why bother? InDesign has a perfectly good find text method that will do what you want. Something like this:
    tell application "Adobe InDesign CS3"
    --Clear the find text preferences
    set find text preferences to nothing
    set applied paragraph style of find text preferences to paragraph style "Greeting" of document 1
    tell document 1
    set myFoundItems to find text
    end tell
    end tell
    Thanks,
    Ole

  • Apply styles to subpictures

    Can I somehow apply styles to subpictures in Encore? Basically, I want to customize the look of text-buttons in three states: normal, selected and activated using styles (eg to make them glow,change stroke color etc) rather then simply change the color of the text.
    I also tried to find an option to make a text as text or as button transperent (with a colour stroke style applied so you can actually read it) but couldn't :( Is it at all possible?
    Thanks for any advice

    In a word, no.
    You may be able to apply styles, but they will be ignored when you preview the menu or build the DVD.
    In the DVD-Video format, a subpicture is defined as a 2-bit RLE graphic overlay - one color value, and one opacity value. That means no drop shadows, glows, gradients, etc can be rendered by DVD players for subpicture information.
    A color table is used for the subpicture layer that allows you to combine up to three of these 2 bit graphics. Using this color table, you can get a little tricky and use up to three different 2-bit graphics to make the subpicture look a bit more impressive. There's a tutorial on this site that shows how to do that.
    But even using this trick, DVD-Video subpictures will never even get close to looking like Photoshop styles on a 32 bit monitor. :)
    I don't understand the second part of your post. Can you clarify what it is you are trying to do there? (it seems separate from the styles question)

  • Applying Style Effects with vba script

    Hello,
    I've been doing a lot of scripting with VBA to create data driven graphics with good results so far.
    Now I want to try and fancy things up a bit. For example I'm trying to add an Effect to an object.
    As example, I create a simple filled rectangle with the following:
    Set objRectangle = docRef.PathItems.Rectangle(x, y, w, h)
    objRectangle.FillColor = rgbColorRef
    objRectangle.Stroked = False
    objRectangle.Filled = True
    After I want to apply an effect equivalent to selecting Effect > Stylize > Scribble... from the menus in Illustrator.
    I found PathItem.ApplyEffect (LiveEffectXML As String) but not sure this is correct approach. Can't find any documentation or examples on this or reference for the LiveEffectXML string.
    Sure would appreciate some help if anyone has done this.
    Thanks
    Paul
    PS I'm using CS6

    Thank you Kasyan, but it doesn't work as I expected it to. The InDesign style are somtimes overridden, sometimes not. It seems to have something to do with wether the Word-style is based on another Word-style or not. In addition I have my InDesign styles grouped, and when InDesign upon placing a text doesn't find the style on the top level, it imports the Word-style.
    My solution:
    Change Word-styles so they are not based upon another style
    Running the VBA-code in Word
    Placing the text using "Use InDesign style definition" for paragraph and character styles conflicts.
    Editing the imported InDesign styles so that they are based upon and equals the original InDesign style in the respective group

  • How to get certain applied styles using script?

    Hi All,
    I need to know how to get certain applied styles using ID Scripting. I don't have much experience in InDesign so need some help.
    Here is a screenshot with a sample text with the said styles applied and highlighted.
    I need to know what texts in my document have these styles applied like All Caps, Strikethrough, Underline, Subscript and Superscript etc.
    Please help.
    Thanks!

    Hi Poortip87
    The first thing you have to understand is how to refer to "where" you want to apply the style.
    If you want the script to apply the style to the selected text then you would use for example app.selection[0].strikeThru = true;
    If you for example want to underline the last word of the first paragraph of the first story you would use app.activeDocument.stories[0].paragraphs[0].words[-1].underline = true;
    If you just wanted the first letter of that word underlined then you would add .characters[0] after the words[-1]
    To for example apply All Caps to all the text in all the stories you would use
    app.activeDocument.stories.everyItem().texts[0].capitalization = Capitalization.ALL_CAPS;
    The easiest way to find how to set properties to a selections is to set them manually and make the selection and then run the script below.
    You should be able to find all the properties you want very easily after running the script.
    Or you can use Jongwares excellent reference guide. Indesign JavaScript Help
    HTH
    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);
    if (!app.selection.length) exit();
    var c = 0, s = app.selection[0], p,
          a = [], n, er;
    for (n in s) {
        try {
            p = s[n];
            if (p && p.constructor.name === "Enumerator") p = getEnum(p ,n);
            a[c++] = n + ": " + p;
        } catch (er) {a[c++] = n + ": ???"}
    var f = new File (Folder.temp + +(new Date) + ".txt");
    f.open('r');
    f.encoding = "UTF-8";
    f.lineFeed = ($.os[0]=="M") ? "Macintosh" :" Windows";
    f.open('w');
    f.write("\uFEFF" + a.join("\r"));
    f.close();
    $.sleep(300);
    f.execute(true);
    function getEnum (q, n) {
        var enums = ["AcrobatCompatibility",
        "AddPageOptions",
        "AdornmentOverprint",
        "AlignDistributeBounds",
        "AlignOptions",
        "AlignmentStyleOptions",
        "AlternateGlyphForms",
        "AlternatingFillsTypes",
        "AnchorPoint",
        "AnchorPosition",
        "AnchoredRelativeTo",
        "AnimationEaseOptions",
        "AnimationPlayOperations",
        "AntiAliasType",
        "ArrangeBy",
        "ArrowHead",
        "AssetType",
        "AssignmentExportOptions",
        "AssignmentStatus",
        "AutoEnum",
        "AutoSizingReferenceEnum",
        "AutoSizingTypeEnum",
        "BalanceLinesStyle",
        "BaselineFrameGridRelativeOption",
        "BaselineGridRelativeOption",
        "BehaviorEvents",
        "BevelAndEmbossDirection",
        "BevelAndEmbossStyle",
        "BevelAndEmbossTechnique",
        "BindingOptions",
        "BitmapCompression",
        "BlendMode",
        "BlendingSpace",
        "BookContentStatus",
        "BookletTypeOptions",
        "BoundingBoxLimits",
        "BuildingBlockTypes",
        "BulletCharacterType",
        "BulletListExportOption",
        "Capitalization",
        "ChangeBackgroundColorChoices",
        "ChangeCaseOptions",
        "ChangeConditionsModes",
        "ChangeMarkings",
        "ChangeTextColorChoices",
        "ChangeTypes",
        "ChangebarLocations",
        "ChangecaseMode",
        "ChapterNumberSources",
        "CharacterAlignment",
        "CharacterCountLocation",
        "CharacterDirectionOptions",
        "ClippingPathType",
        "ColorModel",
        "ColorOutputModes",
        "ColorRenderingDictionary",
        "ColorSettingsPolicy",
        "ColorSpace",
        "ComposeUsing",
        "CompressionQuality",
        "ConditionIndicatorMethod",
        "ConditionIndicatorMode",
        "ConditionUnderlineIndicatorAppearance",
        "ContainerType",
        "ContentType",
        "ContourOptionsTypes",
        "ConvertPageBreaks",
        "ConvertShapeOptions",
        "ConvertTablesOptions",
        "CoordinateSpaces",
        "CopyrightStatus",
        "CornerOptions",
        "CreateProxy",
        "CrossReferenceType",
        "CursorTypes",
        "CustomLayoutTypeEnum",
        "DataFormat",
        "DefaultRenderingIntent",
        "DesignOptions",
        "DiacriticPositionOptions",
        "DigitsTypeOptions",
        "DimensionsConstraints",
        "DisplayOrderOptions",
        "DisplaySettingOptions",
        "DistributeOptions",
        "DocumentIntentOptions",
        "DocumentPrintUiOptions",
        "DynamicDocumentsJPEGQualityOptions",
        "DynamicDocumentsTextExportPolicy",
        "DynamicMediaHandlingOptions",
        "DynamicTriggerEvents",
        "EPSColorSpace",
        "EPSImageData",
        "EditingState",
        "EmptyFrameFittingOptions",
        "EndCap",
        "EndJoin",
        "EpubCover",
        "EpubVersion",
        "EventPhases",
        "ExportFormat",
        "ExportLayerOptions",
        "ExportOrder",
        "ExportPresetFormat",
        "ExportRangeOrAllPages",
        "FeatherCornerType",
        "FeatherMode",
        "FeatureSetOptions",
        "FindChangeTransliterateCharacterTypes",
        "FirstBaseline",
        "FitDimension",
        "FitMethodSettings",
        "FitOptions",
        "Fitting",
        "FlattenerLevel",
        "Flip",
        "FlipValues",
        "FloatingWindowPosition",
        "FloatingWindowSize",
        "FollowShapeModeOptions",
        "FontDownloading",
        "FontEmbedding",
        "FontStatus",
        "FontTypes",
        "FootnoteFirstBaseline",
        "FootnoteMarkerPositioning",
        "FootnoteNumberingStyle",
        "FootnotePrefixSuffix",
        "FootnoteRestarting",
        "GIFOptionsPalette",
        "GlobalClashResolutionStrategy",
        "GlobalClashResolutionStrategyForMasterPage",
        "GlowTechnique",
        "GoToZoomOptions",
        "GradientType",
        "GridAlignment",
        "GridViewSettings",
        "GuideTypeOptions",
        "HeaderFooterBreakTypes",
        "HeaderTypes",
        "HorizontalAlignment",
        "HorizontalOrVertical",
        "HyperlinkAppearanceHighlight",
        "HyperlinkAppearanceStyle",
        "HyperlinkAppearanceWidth",
        "HyperlinkDestinationPageSetting",
        "ICCProfiles",
        "IconSizes",
        "ImageAlignmentType",
        "ImageConversion",
        "ImageDataTypes",
        "ImageExportOption",
        "ImageFormat",
        "ImagePageBreakType",
        "ImageResolution",
        "ImageSizeOption",
        "ImportFormat",
        "ImportPlatform",
        "ImportedPageCropOptions",
        "InCopyUIColors",
        "IndexCapitalizationOptions",
        "IndexFormat",
        "InkTypes",
        "InnerGlowSource",
        "InteractiveElementsOptions",
        "InteractivePDFInteractiveElementsOptions",
        "JPEGOptionsFormat",
        "JPEGOptionsQuality",
        "JoinOptions",
        "JpegColorSpaceEnum",
        "Justification",
        "KashidasOptions",
        "KentenAlignment",
        "KentenCharacter",
        "KentenCharacterSet",
        "KinsokuHangTypes",
        "KinsokuSet",
        "KinsokuType",
        "LanguageAndRegion",
        "LayoutRuleOptions",
        "Leading",
        "LeadingModel",
        "LibraryPanelViews",
        "LineAlignment",
        "LineSpacingType",
        "LinkStatus",
        "ListAlignment",
        "ListType",
        "LiveDrawingOptions",
        "Locale",
        "LocationOptions",
        "LockStateValues",
        "MapType",
        "MarkLineWeight",
        "MarkTypes",
        "MatrixContent",
        "MeasurementUnits",
        "MojikumiTableDefaults",
        "MonoBitmapCompression",
        "MoviePlayOperations",
        "MoviePosterTypes",
        "NestedStyleDelimiters",
        "NoteBackgrounds",
        "NoteColorChoices",
        "NothingEnum",
        "NumberedListExportOption",
        "NumberedParagraphsOptions",
        "NumberingStyle",
        "OTFFigureStyle",
        "ObjectTypes",
        "OpenOptions",
        "OpenTypeFeature",
        "OutlineJoin",
        "OverrideType",
        "PDFColorSpace",
        "PDFCompressionType",
        "PDFCrop",
        "PDFJPEGQualityOptions",
        "PDFMarkWeight",
        "PDFProfileSelector",
        "PDFRasterCompressionOptions",
        "PDFXStandards",
        "PNGColorSpaceEnum",
        "PNGExportRangeEnum",
        "PNGQualityEnum",
        "PPDValues",
        "PageBindingOptions",
        "PageColorOptions",
        "PageLayoutOptions",
        "PageNumberPosition",
        "PageNumberStyle",
        "PageNumberingOptions",
        "PageOrientation",
        "PagePositions",
        "PageRange",
        "PageReferenceType",
        "PageSideOptions",
        "PageTransitionDirectionOptions",
        "PageTransitionDurationOptions",
        "PageTransitionOverrideOptions",
        "PageTransitionTypeOptions",
        "PageViewOptions",
        "PaginationOption",
        "PanelLayoutResize",
        "PanningTypes",
        "PaperSize",
        "PaperSizes",
        "ParagraphDirectionOptions",
        "ParagraphJustificationOptions",
        "PathType",
        "PathTypeAlignments",
        "PdfMagnificationOptions",
        "PerformanceMetricOptions",
        "PlacedVectorProfilePolicy",
        "PlayOperations",
        "PointType",
        "Position",
        "PositionalForms",
        "PostScriptLevels",
        "PreflightLayerOptions",
        "PreflightProfileOptions",
        "PreflightRuleFlag",
        "PreflightScopeOptions",
        "PreviewPagesOptions",
        "PreviewSizeOptions",
        "PreviewTypes",
        "PrintLayerOptions",
        "PrintPageOrientation",
        "Printer",
        "PrinterPresetTypes",
        "Profile",
        "ProofingType",
        "RangeSortOrder",
        "RasterCompressionOptions",
        "RasterResolutionOptions",
        "RecordSelection",
        "RecordsPerPage",
        "RenderingIntent",
        "RepaginateOption",
        "ResizeConstraints",
        "ResizeMethods",
        "ResolveStyleClash",
        "RestartPolicy",
        "RotationDirection",
        "RowTypes",
        "RubyAlignments",
        "RubyKentenPosition",
        "RubyOverhang",
        "RubyParentSpacing",
        "RubyTypes",
        "RuleDataType",
        "RuleWidth",
        "RulerOrigin",
        "SWFBackgroundOptions",
        "SWFCurveQualityValue",
        "Sampling",
        "SaveOptions",
        "ScaleModes",
        "Screeening",
        "ScreenModeOptions",
        "ScriptLanguage",
        "SearchModes",
        "SearchStrategies",
        "SelectAll",
        "SelectionOptions",
        "Sequences",
        "ShadowMode",
        "SignatureSizeOptions",
        "SingleWordJustification",
        "SmartMatchOptions",
        "SnapshotBlendingModes",
        "SortAssets",
        "SoundPosterTypes",
        "SourceFieldType",
        "SourceSpaces",
        "SourceType",
        "SpanColumnCountOptions",
        "SpanColumnTypeOptions",
        "SpecialCharacters",
        "SpreadFlattenerLevel",
        "StartParagraph",
        "StateTypes",
        "StaticAlignmentOptions",
        "StoryDirectionOptions",
        "StoryHorizontalOrVertical",
        "StoryTypes",
        "StrokeAlignment",
        "StrokeCornerAdjustment",
        "StrokeFillProxyOptions",
        "StrokeFillTargetOptions",
        "StrokeOrderTypes",
        "StyleConflict",
        "StyleSheetExportOption",
        "SyncConflictResolution",
        "TabStopAlignment",
        "TableDirectionOptions",
        "TableFormattingOptions",
        "TagRaster",
        "TagTextExportCharacterSet",
        "TagTextForm",
        "TagTransparency",
        "TagType",
        "TagVector",
        "TaggedPDFStructureOrderOptions",
        "TaskAlertType",
        "TaskState",
        "TextExportCharacterSet",
        "TextFrameContents",
        "TextImportCharacterSet",
        "TextPathEffects",
        "TextStrokeAlign",
        "TextTypeAlignments",
        "TextWrapModes",
        "TextWrapSideOptions",
        "ThumbsPerPage",
        "TilingTypes",
        "ToolTipOptions",
        "ToolsPanelOptions",
        "TrapEndTypes",
        "TrapImagePlacementTypes",
        "Trapping",
        "UIColors",
        "UITools",
        "UndoModes",
        "UpdateLinkOptions",
        "UserInteractionLevels",
        "VariableNumberingStyles",
        "VariableScopes",
        "VariableTypes",
        "VersionCueSyncStatus",
        "VersionState",
        "VerticalAlignment",
        "VerticalJustification",
        "VerticallyRelativeTo",
        "ViewDisplaySettings",
        "ViewZoomStyle",
        "WarichuAlignment",
        "WatermarkHorizontalPositionEnum",
        "WatermarkVerticalPositionEnum",
        "WhenScalingOptions",
        "XFLRasterizeFormatOptions",
        "XMLElementLocation",
        "XMLElementPosition",
        "XMLExportUntaggedTablesFormat",
        "XMLFileEncoding",
        "XMLImportStyles",
        "XMLTransformFile",
        "ZoomOptions"];
        var l = enums.length,
            s = q.toString(), e, er, a;
        while (l--) {
            try {
                e = $.global [enums[l]];
                if (e.hasOwnProperty (s) && q === e[s]) {
                    a = e.reflect.properties;
                    a.pop();
                    a = (a.length < 2) ? "" : "\r[Possible " + enums[l]+ " Enumerations for " + n + "]:\r" + enums[l] + "." + a.join ("\r" + enums[l] + ".");
                    return enums[l] + "." + q.toString () + a;
            catch (er) {};
        return "???." + q.toString ();

  • Applying styles to place assest from AppleScript. CS5.5

    We are running a script that based on a csv file, loads various elements from a library then imports XML.  An example of these elements might be designed to have 4 separate item records within it and each item record might contain a few text boxes and an image and each of these items have xml tags.  To better understand, think of  a supermarket circular where they might have 4 meat items in one section with a description, size, price and an image.  We've broken it into different sections and based on data coming from our database we can relate to a specific element in our indesign library and know how many items will need to be loaded in that section.  This all works fine so far and is pretty cool how it loads but we are looking to maybe pass a basic page theme which might be both object and paragraph styles so we'd like to apply these styles through our script because it is possible that different elements might get different styles in same load or even same elements might be re-used in same load and have different styles so really can't define elements with styles we'd like or associate specific xml tages with styles because might be different in each element.
    I can in Applescript apply paragraph and object styles to by either index like applying style x to paragraph 1 but would like to do it to element that we placed on page.  Here is an example of our script to maybe better understand.  Look for comments where we place our assets(elements) on page.  Looking to how we can apply style to say paragraph 1 or text frame 1 of placedAsset says can't get text frame 1 or paragraph 1 of group xxx.
    Tried variations of:
    tell application "Adobe InDesign CS5.5"
    set myDocument to active document
    set myPage to active page of active window
    set placedAsset to place asset asset "7" of library "GT.indl" on myDocument
    move placedAsset to {0.65, 0.6}
    tell myDocument
      set myStyle to paragraph style "Style1"
      set objStyle to object style "objStyle"
    --This works for just applying styles by index
      tell paragraph 1 of text frame 1
       apply paragraph style using myStyle
      end tell
      tell text frame 1
       apply object style using objStyle
      end tell
    --This gives error described above
      tell text frame 1 of placedAsset
       apply object style using objStyle
      end tell
    end tell
    end tell
    Script which runs now but is not set to apply styles yet:
    try
    set CSVstr to "Please locate your CSV file..."
    set CSV_File to (choose file with prompt CSVstr) as text
    set csvData to read file CSV_File
    set csvEntries to paragraphs of csvData
    tell application "Adobe InDesign CS5.5"
      set myDocument to active document
      tell XML view preferences
       set show attributes to false
       set show structure to true
       set show tagged frames to false
       set show tag markers to false
       set show text snippets to true
      end tell
      tell XML import preferences
       set allow transform to false
       set create link to XML to false
       set ignore unmatched incoming to true
       set ignore whitespace to true
       set import CALS tables to true
       set import style to merge import
       set import text into tables to false
       set import to selected to false
       set remove unmatched existing to false
       set repeat text elements to true
      end tell
      set myPage to active page of active window
      set AppleScript's text item delimiters to ","
      repeat with i from 1 to count csvEntries
       set csvEntry to csvEntries's item i
       set {fldElement, fldLocationX, fldLocationY} to csvEntry's text items
       --  display dialog fldElement
       set placedAsset to place asset asset fldElement of library "GTElements.indl" on myDocument
       move placedAsset to {fldLocationX, fldLocationY}
    --This is where we'd like to apply styles to placed asset contents. This placed asset will have a few text frames and at
    --least one image.  We would just pass extra fields in our csv file with names of styles to be applied
      end repeat
      set AppleScript's text item delimiters to {""}
      tell myDocument
       set XMLstr to "Please locate your XML file..."
       set XML_File to (choose file with prompt XMLstr)
       import XML from XML_File
      end tell
      tell application "Adobe InDesign CS5.5"
       set find text preferences to nothing
       set change text preferences to nothing
       set find what of find text preferences to "mykzlplx"
       set change to of change text preferences to ""
       tell active document
        change text
       end tell
       set find text preferences to nothing
       set change text preferences to nothing
       set find what of find text preferences to "Â"
       set change to of change text preferences to ""
       tell active document
        change text
       end tell
       set find text preferences to nothing
       set change text preferences to nothing
      end tell
    end tell
    end try

    It would be a lot easier to help you if you were more succint. You should practice narrowing down the problem to the smallest possible case that demonstrates it. This is a good skill for two reasons: (1) It makes it easier to find the problem yourself (2) It makes it easier for others to help you.
    I believe your problem is you are asking for the first textframe of the placed asset:
    set placedAsset to place asset asset "7" of library "GT.indl" on myDocument
    tell myDocument
    --This gives error described above
      tell text frame 1 of placedAsset
       apply object style using objStyle
      end tell
    end tell
    end tell
    At least in JavaScript, the place command returns an array of objects, without regard to type. I suspect that's true in AS as well.
    So you probably want something like "tell first item of placedAsset" rather than "text frame 1". And if you want to make sure it is a text frame, because there are other things in the placedAsset, you'll need to use a filter. ("first item of placedAsset whose constructor is textFrame" or something like that).
    Again, my applescript is really rusty, but I think that's the general idea.

  • Duplicating Object Style with Formatted Paragraph and Formatted Rectangle.

    Hey,
    I am trying to duplicate an object style but I am not sure if I set it up correctly.
    I have a rectangle object with strokes and applied fx effects to corners, gradient feather, transparency.
    I also have a text frame where there is a header paragraph format and a drop cap paragraph format for the main text.
    Rather than going through this process again, I thought creating a object style would save time but how do I group these two frames (rectangle shape and text frame) and apply an object style? I am only allowed to apply an object style individually to either the text frame or the rectangle object. It also doesn't help when I try to create a rectangle frame around the previous two items.

    Okay so I try to revise my process and used only one object style. I'm almost there but I'm still running into issues.
    1. I created a text frame and applied two paragraph styles to the text (header and drop cap). 
    2. Next, while selecting the text frame i applied a fill with transparency and corner option effects.
    3. Then with the text frame selected I created an object style and made sure the paragraph style is turned on, with the paragraph style set to "header" and checked the apply next style (so that the drop cap style will be applied as well).
    However, when I finish all these steps and try to apply it to a new text frame without any formatting, it sets all the text to "header" style without applying the dropcap style. I don't get why I can't apply multiple paragraph styles into the object style. I have to manually select the paragraph and apply the drop cap style which changes my default object style to become Object Style 1+ due to override (which is fine but even when I right click and choose redefine style, it does not nothing)

  • Does anyone know how to select text in Appleworks, click on the font button and then be able to scroll thru all the font so that one can see the text change as you scroll down the list, at present  I have to do it one font style at a time and then repeat

    does anyone know how to view text in Appleworks, to be able to click on the font button and then be able to scroll thru all the font so that one can see it change as you scroll down the list, at present  I have to do it one font style at a time and then repeat? Thanks jl

    Welcome to the Apple forums
    Your question really belongs in the AppleWorks community/forum.
    You can turn on fonts in actual type in the AppleWorks preferences.

Maybe you are looking for

  • When I login to ANY website, I get redirected to that login screen?

    Ok, so this problem came along just a day ago. Heres what happened. It started with comments not showing up on YouTube. Then, when I would try to login it would say "login failed, try again". For my Google account I couldn't login either. When I trie

  • Family Sharing and Itunes ( on WIndows )

    I have Itunes on my windows computer. My wife has an Ipad, Ipad Air,  and Iphone 5 with her own account, we got my son a Ipod Touch, I was able to do the Family Sharing, but had to set it up on my Wifes account, since I do not have my Itunes linked t

  • Why won't my USB cable work?

    Okay i am trying to plug my usb cable, connecting to my ipod touch 4gen, into my pc into itunes. The thing is when i plug it in itunes says that there is no device and even the compputer doesn't read the device!!!!!! Now i can't backup my ipod cause

  • Bank to Bank transfer of funds

    Hi, How do we process bank to bank transfer of funds in SAP? I mean automatic instructions from the sending bank to receiving bank and subsequent accounting entries.  (same company code) transfer of funds from one bank account to another bank account

  • Looking For Standard SAP Report - Production Orders - Hours

    Is anyone aware of a standard report in SAP's PP module that shows labor hours in a planned vs. actual fashion?  The report that resides in a single production order via the menu path Goto -> Costs -> Analysis is great.  Our Plant Managers though nee