Get fancy with my stroke and fill button

Hello gang,

I use the 3.1.1 configurator to build a Toolbox. At the center of it that I've recreated buttons that represent the selection of stroke and fill. These are scripted buttons that target the stroke and fill.

I had a bit of whimsy and decided that, when you click the outline and/or fill buttons, they should also lead to the Swatches palette out, so I added this second line invoke the script:

app.strokeFillProxySettings.active = StrokeFillProxyOptions.FILL;

app.menuActions.itemByID (16385) .invoke)

It works!, uh, somehow. The problem now is the following: when you click on, say, stroke, it activates and the second line of the script causes the Swatch Group out. BUT! When you click the fill button (which has the same second line of script code), it causes the Swatch Group to GO AWAY. You have to click the button to fill twice in order to keep the pop-up window of the Swatch Group, invoked in sight.

I wish she click one time and knowledge remain blown on the screen if it is already there jumped on the screen.

Who is? I think it's one of those type IF ELSE of scripts, but I'm too newb to grok it.

Best for you,

Mike Witherell (with breathing Hurricane down my neck)

Hi Mike,.

Use

app.panels.itemByName("Swatches").visible=1

To display the Panel instead of call it just that switches it.

Good luck with the storm

Trevor

Tags: InDesign

Similar Questions

  • How can I add filters just the brush strokes and fill the painting not pencil.

    Sorry, it's pretty hard to explain in the description.

    I want to know is if I can pretty well just select the brush strokes and filling on a coat of paint and have the strokes left alone.

    I want to filter, and then fade brush strokes and fill on the paint layer but keep the sharp pencil lines, I made a paint filling and brush rubbed on a different layer than the pencil strokes, but it takes forever because I draw the image each time twice, using the brush strokes to go along the pencil lines so I can fill it with a color, if I could their blur on the same layer without the pencil strokes then I could fill just the pencil lines the lines with the Brush tool with paint instead of redarwing if that makes sense.

    Here is a picture to show what im trying to reach

    The pencil strokes are on a different layer in brush strokesScreen shot 2013-09-28 at 9.51.57 AM.png

    If you convert a movieclip (right click > convert to symbol > movieclip) everything that you want to filter, you can filter it is independent of other objects.

  • How can I get him to minimize, maximize, and close buttons appear in Adobe Reader XI

    How can I get him to minimize, maximize, and close buttons appear in Adobe Reader XI

    davidm96675864 wrote:

    I use Kaspersky Internet Security, which is updated (Version 15.0.0.463 (b)).  Thank you, David.

    The latest version is 15.0.2.361.

    Kaspersky Internet Security 2015 | Latest releases | Kaspersky Lab

  • How to draw the line under STROKE and fill of an object in illustrator cc? Ideas: D...

    How to draw the line under STROKE and fill of an object in illustrator cc? Any ideas ...

    Aleksandar,

    If I (put) understand it, you will need to divide the object. You can:

    (1) select the object and Ctrl / Cmd + C + F, and then remove the filling of the copy and the blow of the original;

    Draw 2) and drag the new piece down between Division 1 objects) in the layers palette, or select 1 copy) and Ctrl / Cmd + C + F + X + F or similar.

  • Various measures between the stroke and fill

    An object has different measures in the transformation Panel, when I toggle between the stroke and fill. I have my race center-aligned. I am currently using 18 CC. I serve HAVE CS4 and have not had this problem before.

    Use Preview Bounds is checked in the preferences?

  • How to get help with Add ons and extensions that stop working

    I have saved passwords and it has stopped working. It's so hard to get help with Moxilla

    rosemarybales said

    I still don't know why the extension button passwords saved with the key icon has stopped working.

    This button displays the saved passwords in Firefox's built-in password manager, is no separate passwords that record you in Dashlane. Can you save passwords in both places? (Well, I guess you do.)

    I have a guess on why it has stopped working. Firefox 40 has some changes to how extensions can work with the user interface, so quite a few extensions that have been more than one year must be updated for Firefox 40. It has been updated on January 10, 2012.

    Anyway, the way of 'long' to display the passwords saved in Firefox is through the Options page, the Security Panel, the saved passwords button.

  • Cannot change order of stroke and fill to the text

    In Illustrator CC, I have a text with background colors and contour, and I hang outside the text, not half-n-half. From what I can read (for example Why can't fix us a line of text to the outside (as in InDesign) without having to first convert them into text vectorized?), the way to do that is in the appearance Panel, dragging filling to the top or the race down. But they don't change places when I try - I drag, but nothing changes. And in the Panel advanced stroke, the second and third options to align the lines appear dimmed.

    If I saw the text, then all the choices to align the shots are allowed, but I prefer to do it with the living text. Is this possible?

    It should work as follows:

  • How to achieve less than smoothing with brush strokes and wacom?

    Is there a parameter of smoothing for paint brushes? When I draw some sharper with corners shapes (like squares) Illustrator complete them very excessive. I know there must be a certain amount of smoothing to convert a race made by the user in a vector, but is there a way to reduce the amount. Interestingly, if I draw the shape very quickly, I get the desired result, but if I shoot slowly, it rounds it enormously. I think it would be the other way around because with a slower race you give more entry points and so more precision, but it is obviously not the case. Basically, I want to achieve with brush strokes that specifically represent my entry. Thanks in advance for the help.

    Doible click on the Brush tool. There are options. To my taste, loyalty and sweetness both in 1 seem to work well.

  • find by content en cells replace stroke and fill color

    I've generated in InDesign CS3, a catalog with hundreds of tables.

    Unfortunately there is a mistake or two in the tables of construction. In a way, I need to replace a contour of a cell color and also a fill color.

    So my question is if there is a way to InDeisgn CS3 for automatically...

    • research in a document for the cells in a table with "Black_EN text color" AND "Black_EN fill color" and change this particular cell line color in Black_EN
    • research in a document for the cells in a table with the color of the text 'Black_EN' AND 'fill color black' and change the fill color of particular cell in Black_EN

    Can someone help me with a usable script? I'm a newie to scripts so that any help is useful!

    Thanks in advance, Pascal (form Belgium)

    Aaahh... the old adage of an image equal to a thousand words. In this case, the words are long enough, because the image is > 280K.

    O - kay. You may have a lot of tables, some bad colors, but the text is still the appropriate color. How does this sound: you click inside any table, and the script checks the current (*) text color. And then it assigns all the traits that color, and fill each cell with a 50% fill pattern. This means that you can select a table, run the script, select the next, run the script, etc. until done (or totally bored, everything which comes first).

    (*) In fact, the color of the text of the first character in the upper-left cell. I hope this isn't a problem.

    The script is quite indifferent to your selection: any where inside, in the text or with a cell, row, column, or even the entire selected table is no problem.

    Like enough! (see English people choke on our Dutch gees)

    table = app.selection[0];
    if (table.hasOwnProperty("baseline"))
     table = table.parent;
    if (table instanceof Cell)
     table = table.parent;
    if (table instanceof Column)
     table = table.parent;
    if (table instanceof Row)
     table = table.parent;
    if (!(table instanceof Table))
    {
     alert ("Echt niet in een tabel!");
     exit(0);
    }
    color = table.cells[0].characters[0].fillColor;
    black = app.activeDocument.swatches.item("Black");
    table.cells.everyItem().properties = {
     topEdgeStrokeColor:color,
     bottomEdgeStrokeColor:color,
     leftEdgeStrokeColor:color,
     rightEdgeStrokeColor:color };
    for (aCell=0; aCell		   
  • Rotate a 360º mc step-by-step 'smooth' 45 degrees with the left and right buttons

    Hello world

    I thought it should be easy.

    I have a circular mc (wheel2) and this must turn "smooth" in increments of 45 °, left and right (buttons).

    The script I use on the button (to the right);

    {We (Release)}
    var turn: function = function (obj:MovieClip) {}
    obj._rotation += 3;
    If (obj._rotation == 45) {}
    clearInterval (interval);
    }
    };
    var interval: Number = setInterval (rotation, 10, wheel2);
    Stop();
    }

    He moves ok "once" and then turns 360 °. Should I set a new value for my mc?

    Thank you

    Pascal

    To disable the buttons you will need to assign instance names in the properties panel, let's say that you name them leftBtn and rightBtn...

    {We (Release)}

    leftBtn.enabled = rightBtn.enabled = false;

    var turn: function = function (obj:MovieClip) {}
    obj._rotation += 3;

    stepCount += 1;
    If (stepCount == 15) {}
    clearInterval (interval);

    stepCount = 0;

    leftBtn.enabled = rightBtn.enabled = true;
    }
    };
    var interval: Number = setInterval (rotation, 10, wheel2);
    }

  • How to make a slideshow of heroes with the text and the button for each slide?

    I'm trying to make a basic slide show (auto no buttons) which will be the width of page 100% and I want each picture to have a title and a status button they can click to access other pages, for the life of me I can't this is! What I am doing wrong?

    Indeed I could solve my problem, yay 2 + hours of troubleshooting finally paid off!

    I tried the white color text and read 'Check this video now!', but the background was a color of the light, so it is in contradiction with the white text. To remedy this problem, I created a rectangle shape, he made black and reduced the opacity to 40% and threw it behind the text. In order to get the button under the text that says: 'Click here'! I was able to use a copy + paste glitch by sticking the trio in the caption text box for an image, thus allowing me to have a unique caption for each photo in an automatic slideshow. The problem arises due to the notion of a chart of the icon to stay on the text no matter how it is pasted into the text box but I could understand that if you group the text above the rectangle elements before pasting in the text area of the legend, then the text will remain on the chart! Yay problem solved (at least for now)!

  • There is a way to get the "add to bookmark and rss button" within the url bar?

    I think that this two buttons must be in the url bar. Are easier to find and smaller than the bar.

    You can watch the classic extension theme restaurateur restore some features that has been lost with the arrival of the Australis style in Firefox 29.

    You can access the parameter of the extension of the CTR through the Options/preferences button in Firefox/tools > Modules > Extensions

    See also:

  • How can we have a column with the text and radio button in the same row?

    Hello

    I have a column that need to have data with a radio button. Has been able to achieve this by using < trh:tableLayout >. But when I select the option button it moves to the next line. You want to stop this behavior of option button to move to the next line. This column also includes a hyperlink. If the text and the hyperlink are made invisible visible based on the action of the radio button.
    Adding one more doubt. A horizontalgrid of specific columns can make invisible?
    Any help would be appreciated.

    example code:
    < trh:cellFormat id = "cf8" halign = 'Start' >
    < af:activeOutputText value = "#{rank." Actions}"id ="aot2"/ >
    < af:goLink text = ' #{rank. " Actions}"id ="gl1 ".
    clientComponent = "true" visible = "false".
    targetFrame = "_blank" destination = "http:// + #{rank." BUTTON_URL} ">"
    < / af:goLink >
    < af:selectBooleanRadio text = "" id = "sbr1" > "
    < af:clientListener method = "selectCheckBox" type = "click on" / >
    < / af:selectBooleanRadio >
    < / trh:cellFormat >

    Thank you
    Nita

    Remove the components from . Put the other components like the direct children of the PanelGroupLayout:

    
      
        
        
        
        
          
        
      
    
    

    If you need to add some space between the components horizontan, you can put (s) between components.

    Dimitar

  • Tips on how to get attached with Nikon D810 and Lightroom - I tried with the uSB cable but Lightroom does not recognize the camera. My memory card has no images on it that I read somewhere that it can slow things down if it has pictures on i

    I tried to use the uSB cable, but Lightroom does not recognize the camera. My memory card has no images on it that I read somewhere that it can slow things down if she has no images on it

    If you use Lightroom CC / 6 on a Mac OSX El Capitan you must update to the latest version of CC 2015.4 / 6.4. Problems with Nikon capture home has been fixed in the latest update, the lis below.

    Lightroom Journal | Tips and advice straight from the Lightroom team.

  • Help to extend your STROKE and fill

    Hello people,

    I'm a keyboard layout for some keys I want to order a custom keyboard.  I am a beginner on Illustrator, I have the keys now set as I would like, but I have to convert all fonts and text used for vector data. Am I right to say that this is done by selecting all and then goes: Type - vectorize? If so, I did this, but my problem is with the second next step society that will display the keys requires me to do, which is to expand the embankment and the race. After you create outlines, I select all and go to: object - expand, but nothing happens, no dialog doesn't pop up or anything. What I am doing wrong?

    Thank you.

    They have no traits to develop (see the empty race field in the Toolbox), so where's the problem?

Maybe you are looking for

  • MacBook won't start

    I have a MacBook Pro 2011. It does not completely start. A little more to halfway through the progress bar to become white, and it seems to freeze. I cannot start in safe mode, but was able to boot into recovery mode and ran first aid on the hard dri

  • I can't print a Web page

    If I'm on a Web site, that is to say, just ordered something and want to print received, the page will not be printed. Nothing happens. Sends to the printer, but nothing prints. Go to IE and do the same thing, it prints.

  • Still another Zoo Tycoon 2 problem with windows 7!

    OK, after trouble with the terrible error box "needs 256 MB of memory, 0 MB memory available to run" when you try to start the game, I contacted Microsoft customer service. It seemed to clear up the problem after doing what the tech guy said to do, b

  • Signature of IPS for malware BackOff POS? TA14-212 HAS

    A signature for the Backoff POS malware that goes there? https://www.us-cert.gov/NCAS/alerts/TA14-212A

  • flashplayer18_ha_install.exe does not work on Win XP Pro SP3

    File 'flashplayer18_ha_install.exe' of the update causes error during execution.Adobe Download Manager has encountered a problem and needs to close...(Signature of error = AppName: flashplayer18_ha_install.exe)AppVer: 1.5.0.35ModName: flashplayer18_h