SImple way to add border?

Hi All,
I am trying out a version of fireworks 8 on my new laptop ,
coming from using fireworks 4 on my desktop. My question is how can
I add a simple 1px solid colour border to my images. I could do
this quite simply in fw 4 but I can't seem to get beyond some
horrendous textures and patterns in fw8......don't even seem to be
able to select / point to the border in order to change its
properties. Think I'd better stick to my old faithful if I can't
get this licked.
If anyone knows a v. quick method to do this that would be
great (have got a milltion images to resize and add border to
asap!!
Thanks in advance
Emma

There's also an extension called Picture Border:
http://www.fireworkszone.com/index.php?root=2&extension=1&idTutorial=267
Here's another one:
http://www.fireworkszone.com/index.php?root=2&extension=1&idTutorial=262
and here's the JS for it in case you modify it on your own:
var l = fw.selection[0].left;
var t = fw.selection[0].top;
var w = fw.selection[0].width;
var h = fw.selection[0].height;
var newl = l - 5;
var newt = t - 5;
var newr = newl + w + 10;
var newb = newt + h + 10;
// insert new rectangle primitive
fw.getDocumentDOM().addNewRectanglePrimitive({left:newl,
top:newt, right:newr, bottom:newb}, 0);
fw.getDocumentDOM().arrange("backward");
// set stroke
fw.getDocumentDOM().setBrushNColor({ alphaRemap:"none",
angle:0, antiAliased:true, aspect:100, blackness:0,
category:"bc_Pencil", concentration:100, dashOffSize1:2,
dashOffSize2:2, dashOffSize3:2, dashOnSize1:8, dashOnSize2:1,
dashOnSize3:1, diameter:1, feedback:"brush", flowRate:0,
maxCount:15, minSize:1, name:"bn_1-Pixel Anti-Aliased",
numDashes:0, shape:"circle", softenMode:"bell curve", softness:0,
spacing:15, textureBlend:0, textureEdge:0,
tipColoringMode:"random", tipCount:1, tipSpacing:0,
tipSpacingMode:"random", type:"simple" }, "#FFFFFF");
fw.getDocumentDOM().setFillNColor({ category:"fc_Solid",
ditherColors:[ "#000000", "#000000" ], edgeType:"antialiased",
feather:0, gradient:null, name:"fn_Normal", pattern:null,
shape:"solid", stampingMode:"blend opaque", textureBlend:0,
webDitherTransparent:false }, "#ffffff");
// set effect
fw.getDocumentDOM().applyEffects({ category:"UNUSED",
effects:[ { EffectIsVisible:true,
EffectMoaID:"{a7944db8-6ce2-11d1-8c76000502701850}",
ShadowAngle:270, ShadowBlur:5, ShadowColor:"#0000004d",
ShadowDistance:1, ShadowType:0, category:"Shadow and Glow",
name:"Drop Shadow" } ], name:"UNUSED" });
fw.getDocumentDOM().arrange("backward");
Here's an oldie, but still works great:
http://www.fireworkszone.com/index.php?root=2&extension=1&idTutorial=28

Similar Messages

  • Whether there is a simple way to add new Mapping operators on a mapping?

    Whether there is a simple way to add new Mapping operators on existing mapping?
    For example I have a mapping, but now I need to add new Filter or Aggregator operator, so I must delete all connections between attributes, then add new operator, connect source attributes to the input attribute for the operator and so on.
    Is there way to turn down this operations, simply drop new operator on source object or on a connection between two objects, and necessary operations will be automatically executed.
    As I remember in OWB2 something similar existed in a way to add new Filter operator.

    Dmitry,
    Unfortunately there is not. What you should aim for, is to use the group-by-group mapping using match by name (with some additional options, such as ignore source/target prefix, suffix, etc.).
    I.e. if you want to insert another operator, then I recommend you first populate attributes based on an operator that is currently on the mapping delete the old operator (to delete all connections), map into the new operator and add another operator in order to re-create what you previously had. I know it is not ideal... but in my experience it is the most productive way to work.
    Thanks,
    Mark.

  • Can anyone suggest me a simple way to add a background image to JFrame ?

    I want to add a background image to JFrame in a simple way rather than overiding the paint method or paintComponent method. Just like adding an image to JButton or JLabel using two or three lines of code. Is it possible ? r there any methods for this purpose ? if so pls give the code.

    JFrame as such does not provide an option to set a background image.
    Extending JPanel, over-riding its paintComponent() and setting it as the contentPane of JFrame is one way of doing it. Though you have to do the overriding, it is not very complex though.

  • Keynote is an amazing tool for preparing presentations.However, keynote for iOS devices(e.g. iPad) doesnot have the simple way to add audio files in to the files.When we will have the update to add music files right into the keynote slide?

    I have been using Keynote for presentation slides to be used in conducting training sessions. Though, Keynote has beautiful interface with elegant transitions to animate, it doesnot provide any way to add audio or music files into the slides in iOS devices alone. I have been waiting for the update to add this very feature,but cannot find it yet.When could we have this upate?

    Send Apple feedback and tell them what you want. However, many app versions of programs are skinnied down, and that functionality may not be workable in the App version. Can't know until you suggest it to them however.
    Lower right corner of this page, the contact us link, give it a try.

  • FB4. Anyone know a "SIMPLE" way to add scroolbars to the application AHHHHHHH

    Some of my users have 800x600 resolution set and thus the app is not visible in IE, since FB4 removed the scroll policy feature from the app, WHYYYYYYY.
    Does anyone have a simple solution. I tried skinning using a boarder but that fails as I have other components that will not play nice with the external boarder.

    There are a couple of options I can think of:
    1. Add a Scroller to a custom Application Skin (useful if you intend to reuse this). Create a copy of the ApplicationSkin and add the Scroller around the contentGroup:
        <s:Scroller height="100%" width="100%">
            <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" />       
        </s:Scroller>
    http://butterfliesandbugs.wordpress.com/2009/03/13/how-to-add-a-scrollbar-to-a-gumbo-appli cation/
    2. Surround your Application MXML with a Scroller. Add your MXML components within the Group.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:Scroller width="100%" height="100%">
         <s:Group>
                <!-- insert your content here --> 
         </s:Group>
        </s:Scroller>
    </s:Application>

  • Is there a way to add multiple borders to a single cell with one click or do I have to add one border at a time for example, one cell with borders on three sides?

    I would like to know if there is a way to add multiple borders to a single cell or selection of cells in one click.  At this time, if i want to add for example a top border and a bottom border to a single cell I have to do this in two steps: first select the top border, style, thickness, and color, and then next select the bottom border, style, thickness, and color.  Is there a way to select the top and bottom border of a cell in one click?  Clicking on the top border then holding down the command key while selecting the bottom border does not work, nor does holding down the option key, the control key, or the shift key work. Thanks for your help.

    Thank you for the suggestion but this did not work for my Mac.  When a cell is selected for which I want borders, the entire cell is lit up.  Then when I go to the border tool and select style, thickness, and color, the entire lit up cell takes on the border, that is the Outside Edges of the cell now have a border.  So selecting the style, thickness, and color first doesn't work.
    If I select the top border first (or any border), the drop down goes away and I can't select multiple borders - I get to choose one at a time.  After selecting one border, style, thickness, and color, said border is now on the spreadsheet.  Then I go back to the border selection and pick another border and the the previously selected style, thickness, and color reverts to null, so I start over with the new border style, thickness, and color.  Yes, it is tedious.
    The Fix would allow the user to select multiple borders, say left and right, before the drop down goes away after selecting only one border
    Does it have something to do with Allow or Disallow border selection?
    I have Numbers '09 version 2.1 (436)

  • A simple way in sending message on a large number of contacts?

    Is there a simple way in sending a large number of contacts? I mean, i'll send my message on a group, i.e. "hello" to "classmates" group. I know it is present during ios4 &amp; 5 version? Why now on ios7? How's that? Some of my contacts are changing new numbers so i can't add them to my inbox.

    When a device that is connected to an icloud account has it's contacts deleted, the same contacts at icloud.com are also deleted and then the changes propagate to other computers and devices also connected to the same icloud account.   In other words, the contacts are deleted everywhere.  Also, any iOS backup to icloud does not include contacts or any of the other Apple data, like calendars, reminders, etc.  The only way you can get that data back is if it was on a computer which has been frequently backed up.  You restore the data from the backup.  (This reference to "backup" is a local backup, it has nothing to do with icloud.)

  • Is there any simple way to close a group of PO's?

    Hello All,
    I was looking an answer for my question on forum but didn't found anything which could help me to solve my issue.
    I would like to close a group of PO's in some period of dates. Is there any simple way to do this? I mean transaction for example, which will let me to choose company number, period of dates  or range of PO numbers and close them by one tick (one action).
    Thank you in advance for any support from your site.
    Regards,
    Kamil

    Kamil,
    Though I have not used this functionality, can you check whether you can use this functionality for mass change?
    Upload and Download of Purchasing Documents
    http://help.sap.com/saphelp_srm70/helpdata/en/09/1f42188473402a890183fd1b7c6082/frameset.htm
    Using this function, you can download purchasing documents as a file to your PC, process them locally, and then upload the changed documents to the SAP Supplier Relationship Management (SAP SRM) system. You can download the following purchasing documents :
    Features:
    The upload/download supports the following functions and possible uses:
    - Cross-Document File Structure
    You can display and process the data in a standard tabular file structure for the documents named above. The file structure assigns a unique technical ID to each data field in a metadata area.
    - Process Document Data Offline and Retain
    You can change or delete existing data, add new data, and transfer all document data, for example, customer fields.
    - Process Large Documents
    This function simplifies the creation of documents with numerous items, and simplifies mass changes to large documents; for example, you can download a document with only one item, and add multiple items to it offline.
    Background processing occurs in the case of very large documents.
    Regards,
    Sandeep

  • Is there a way to add images to the collection used in Photomerge Style Match?

    When one uses the menu: Enhance->Photomerge® Style Match, there will be six images displayed to choose from. The path to them is (Mac):
    /Application/Contents/Resources/models/ While this menu is only available in Expert mode, you end up in Guided when you choose it. I assume, therefore, that there is actually an Action or at least a script.
    Simply adding an image wouldn't work, which I confirmed. Even rebuilding the MediaDatabase.db3 didn't help. But there must be more than just the simple jpeg that the app uses to perform the effect... or maybe not! ;-) All I'd like to know is if there is a way to add images to the list of choices.
    Thanks!

    What version of photoshop elements and mac os x are you using?
    Once your in the Style match screen you add images using the Green Plus button
    (the screenshot is from photoshop elements 12)

  • Any simple way to do popup image view overlay in DW? Can't get pickachoose+fancybox+fluid working

    Hey all,
    Just wondering if anyone knows any simple ways to create a popup over lay window like what fancybox/lightbox/shadow box does and get it to work with a Dreamwever fluid grid site?
    I've got pikachoose+fancy box to run together perfectly in a plain html page, but when I bring that code into a Dreamweaver fluid grid site, the code doesn't work (well images don't cycle, and popover doesnt load when you click on the image link).
    I'm guessing it's a jquery conflict of some kind.
    Any help would be great, I can post the full code if someone is able to take a look. When I inspect the code in Google Chrome web inspector I get in the console:
    Uncaught TypeError: Cannot read property 'msie' of undefined jquery.fancybox-1.3.4.pack.js:18
    Uncaught TypeError: Object [object Object] has no method 'fancybox'
    Code below
    <!doctype html>
    <html class="">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>-</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="css/ce4.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="jquery.fancybox-1.3.4.css" media="screen" />
    <link type="text/css" href="styles/bottom.css" rel="stylesheet" />
    <script src="respond.min.js"></script>
    <script type="text/javascript" src=" https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
    <script type="text/javascript" src="lib/jquery.pikachoose.js"></script>
    <script type="text/javascript" src="jquery.fancybox-1.3.4.pack.js"></script>
    <script language="javascript">
    $(document).ready(function (){
    var a = function(self){
    self.anchor.fancybox();
    $("#pikame").PikaChoose({hoverPause:true,  showCaption:false, text: {previous: "", next: "" }, buildFinished:a});
    </script>
    </head>
    <body>
    <div class="pikachoose">
    <ul id="pikame" >
    <!-- <li><a href="1.jpg"><img src="1.jpg"></a>-->   
    <li>
    <a href="images/1large.jpg">
    <img src="images/1small.jpg"/>
    </a>
    <span></span></li>
    etc... etc...
    Any help would be great

    I don't know what a pikachoose is, but Fancybox2 works in Fluid Layouts.  Copy & paste the following code into a new, blank document.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5, with Fancybox2 Viewer</title>
    <!--LATEST JQUERY CORE LIBRARY-->
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <!--FANCYBOX plugins-->
    <link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen">
    <script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script>
    <style>
    /**this styles image container**/
    #thumbs p {
    float:left;
    width: 180px;
    height: 12.5em;
    margin: 10px 0 0 20px;
    padding: 10px;
    border: 1px solid silver;
    /**rounded borders**/
    -moz-border-radius: 20px;
    -webkit-border-radius:20px;
    border-radius: 20px;
    /**this styles caption text**/
    font: italic 14px/1.5 Geneva, Arial, Helvetica, sans-serif;
    color: #666;
    text-align:center;
    /**recommend using same size images**/
    #thumbs img {
    width:  160px; /**adjust width to thumbnail**/
    height: 120px; /**adjust height to thumbnail**/
    margin-bottom: 1.5em;
    opacity: 0.75;
    #thumbs img:hover {opacity: 1.0}
    /**float clearing**/
    #thumbs:after {
    content:".";
    clear:left;
    font-size:0px;
    line-height:0;
    display:block;
    visibility:hidden;
    </style>
    </head>
    <body>
    <h1><a href="http://fancyapps.com/fancybox/">Fancybox2</a> Viewer with images</h1>
    <!--insert thumbnails with links to full size images below-->
    <div id="thumbs">
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 1" /></a> <br />
    Caption 1
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 2" /></a> <br />
    Caption 2
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 3" /></a> <br />
    Caption 3
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 4" /></a> <br />
    Caption 4
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120" alt="Thumbnail 5" /></a> <br />
    Caption 5
    </p>
    <!--end thumbs--></div>
    <!--FancyBox function code-->
    <script>
    $(document).ready(function() {
         $('.fancybox).fancybox();
    </script>
    </body>
    </html>
    Nancy O.

  • Hi Sir! I have some questions regarding word report generation please.1.How can i add border to a word page?.2.How can i add grid lines to a table generated in word report?.3.How can i add border to a table of word report?.Thanks Imran Pakistan

    Hi !
    Sir I have some questions regarding word report generation using(C language in labwindows) Please.
    1.How can i add border to a word page?.
    2.How can i add border and grid lines to a table generated in word report(Not the " cvi table control" inserted from gui,i am asking about the table generated in word report)?
    3.How can i fill a cell of word report table withe the data type other than "character"?.
    And sir one question about use of timer in cvi labwindows please.
    Sir i'm trying to set minimum delay interval of timer control to 1millisecond(0.001s),as i set ,timer don't cares of the interval that is set by me it responds only to the default minimum time interval which is i think 10milliseconds(i'am using windows xp service pack3 version 2002).
    Regards
    Imran
    Pakistan
    Solved!
    Go to Solution.

    Hello sir!
    Sir i'm using daq6251.But Sir before implimenting it to my final application now i'm just trying to achieve 1millisecond time interval for timer in a vary simple programe i mean at this time no hardware (daq device) is  involved i,m just trying to achieve minimum time interval of 1millisecond.
    Sir i read form "help" of labwindows how this time interval can be set,i'm trying for,as described in help notes but i could'nt.I'm attaching a screen shot sir for you it may helpful for you to explain me.
    And sir also waiting for your kind reply regarding word report generation.
    Thanks.
    Imran.
    Attachments:
    screen_shot_rigistry.docx ‏65 KB

  • I have FF 3.6.15 on a Macbook with OS 10.6.6, I would like to find a way to add a site,user name & password to the "Saved Password" list by hand so that I don't have to rely on my memory.

    Some websites block the FF password save feature. I would like a "work around" so that those sites are automatically sign-on.
    There used to be a simple way to do this,but I have not found it in the current version of FF.
    Any suggestions? Please send to me at <i><email removed by moderator></i>
    Thanks in advance.

    The Saved Password Editor extension allows you to manually add passwords to the password manager - https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • Simple : how to add title attribute to af:InputText

    Hi Guys,
    I have a simple question, is there a way to have the title attribute to af:InputText as the value of input field?
    Thanks
    Abhi

    Hi Timo,
    Oracle JDeveloper 11g Release 1 11.1.1.6.0
    If we do a view source for the inputText field, you will see a title attribute getting generated when you have some value in your field. If the user want any other title except the value there is not other way except using shortDesc but there is an issue with using the "shortDesc" attribute as it shows the note window. Right now there is no way to add the title with out using shortDesc attribute and we cannot use shortDesc because of the notewindow.
    This is something Oracle should fix in future versions ( The ability to add custom or existing html attributes to a tag )
    Thanks,
    Abhi

  • When I upload any photos from iphoto or a folder it overwrites all the existing photos. is there a way to add to the existing library without deleting what's already in the library?

    When I upload photos from iphoto or any other folder it overwrites all the existing photos in my ipad. is there a way to add to the existing library without deleting what's already in the library?

    No, apart from using the emailing them, to yourself or using a third-party app such as Simple Transfer (in which case the photos will only go into the Saved Photos/Camera Roll album) or the camera connection kit (Imported album). You need to sync all the photos that you want on the iPad in one go, as only the contents of the most recent sync remains on the iPad - not including photos in a sync is how you delete them from the iPad

  • How can I add border at some words in a JTextPane?

    Hi,
    With the class StyleConstants I can modify the paragraph attributes, character constants, font constants, ... But, howcan I add border at some words in a JTextPane?

    The simplest way is to add your own custom attibute to character element of your document (by setCharacterAttributes()) method. And override LabelView. In the paint method of the LabelView just check whether parent element's attributes contains the attribute.
        public void paint(Graphics g, Shape allocation) {
            super.paint(g, allocation);
            if  (containsAttribute) {
               ((Graphics2D)g).draw(allocation);
        }regards,
    Stas

Maybe you are looking for