Can pattern swatch be created programmatically?

Is it possible to created a pattern swatch programmatically?
I could find information on creating custom color swatches using xml format but don't know about pattern swatches.
Please help me!

We're using in-memory queues provided with
The following FAQ, written in 2004m, indicates that in-memory queues cannot be created dynamically. However, the FAQ is old. I'm wondering OC4J 10.1.3.1 or higher (i.e. 11g) now allows dynamic creation of in-memory queues.
http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/oc4j-faq-jms-1012.html
I haven't found a newer FAQ that indicates whether in-memory queues can now be created dynamically using OC4J 10.1.3.1.

Similar Messages

  • Can a portlet dynamically create / programmatically create another portlet?

    Hello. This is my first time posting a question, so please let me know if I'm posting to the wrong newsgroup.
    I'm new to WebLogic Portal, and I downloaded and installed WebLogic Portal 10. I'm working on a portal proof of concept, and my business analyst is asking some tricky questions. One thing he would like to see is when a user clicks a link in one portlet, he would like that portlet to dynamically create/open another portlet on the same portal page. In addition, he wants it to dynamically create a new book so that every time a user clicks on a different link, it dynamically creates a new page in the new book and creates a new portlet on that page.
    After reading through/searching many of the 27 PDFs that came with the download of WebLogic Portal 10, I have not seen anything that refers to dynamic creation of portal artifacts. Does anyone know if this is possible? To me, it doesn't seem like the portal was designed to dynamically create these artifacts. But maybe someone out there knows a way to do this. I'm wondering if I might have to resort to trying to hack my way through a request like that, which is probably not a good idea.
    If anyone can comment on this, I would really appreciate it. Thank you.
    --Steve
    Edited by StevenDHitlin2 at 10/24/2007 6:44 AM

    It's very likely portal backing files can be used.
    They can respond to
    various stages in the portal lifecycle and events to
    manipulate the
    portal structure or perform other business logic.
    http://e-docs.bea.com/wlp/docs100/portals/intro_to_por
    tal_dev.html#wp1028008Gregory,
    Thank you for your reply and for your backing file idea. I read the section you pointed out regarding backing files. In the first paragraph, it states, 'the portlet backing context can be used to specify whether the portlet is visible or hidden'. I noticed that some portal artifacts (books, pages,etc) have a 'hidden' property that can be set to true or false. I didn't really think about it until now, but I suppose I could have my 'dynamic' pages set as hidden=true at first and only make them visible when someone clicks a link in another portlet. The only thing is that my portal would be limited to showing only as many pages as I set up as hidden. For example, if I place three pages in a book and I set them all hidden, then my user can only 'unhide' at most three pages. If he wants more, I have to add more hidden pages to the desktop. It's not the best solution, but I think it would work for now.
    I just have to figure out how to use a backing file to make a portlet tell another portlet or a page to change its hidden property to false. I read a little bit about IPC, and I tried to fiddle around with it a little, but it's still unclear to me how to create a custom event. Does anyone have any advice for me on this topic? Any help would be greatly appreciated. Thank you.
    Steve

  • Can gradient start color be pattern swatch?

    using CS3 on XP; Help indicates it's possible to begin a gradient via a pattern swatch (self-created) but I get the "not writable" icon. thanks for any suggestions

    Jane:
    Read up on Opacity Masks. Draw an area filled with your pattern swatch, then put an opacity mask over the top of it...
    Bert

  • Can InDesign CS6 handle pattern swatches?

    I layout catalogs and production materials for a pajama company, and I use pattern swatches extensively to depict our pajama prints on illustrated garment blanks.  I'm currently using CS3 (and trying to convince my boss to upgrade), and I have to do all my layout in Illlustrator because InDesign can't do anything with the pattern swatches.  I know I can import objects that have a pattern swatch applied, and, while it looks pixellated, prints correctly.  But where I can't alter them or re-apply the swatch or anything, it's too much of a hassle in going back and forth between the programs.  So much so, that I haven't been using InDesign at all. 
    I'm fine with creating the swatches in Illustrator, but I need to be able to create a pattern swatch pallette for InDesign or something. Anything.

    There are definitely some things which Illustrator is better at doing. Pattern swatches is one of them. In fact, Illustrator CS6 has a much improved method for creating pattern swatches.
    See this Adobe TV video:
    http://tv.adobe.com/watch/adobe-design-center/adobe-illustrator-cs6-sneak-peek-pattern-cre ation/

  • Create Pattern Swatch from Placed Image in Javascript

    I need to create a large number of pattern swatches from some .jpg file on disk. I've figured out how to script the insertion of the .jpgs into my AI document as placed images:
         // Embed the image into the document.
         file = new File("MyImage.jpg");
         var document = app.activeDocument;
         var newPlaced = document.layers["swatches"].groupItems.createFromFile(file);
         newPlaced.name = "MyImage_Placed";
    This works fine and the item shows up in the correct layer as an embedded image.
    Now I want to create a PatternSwatch (I think) from that Image.
    To create a new swatch the code starts out as:
         newSwatch = document.swatches.add();
         newSwatch.name = "MyImage_Swatch";
    but now I'm stuck! How do I associate the new PlacedItem with the swatch I just created? I can see the swatch in the palette so I'm partway there.

    When you say you would drag the image itself into the Swatch Palette and it would show the image itself? How would then use this swatch? Can you give an example of what you would apply a jpeg to as a swatch? The only palette that I can think of off the top of my head that you can drag a jpeg into and have the icon appear as the jpeg is the Symbols Palette. Is is possible that you were using the Symbols Palette in the past and not the Swatch Palette?

  • When I make a pattern swatch, it moves. How can I stop this?

    I understand that pattern swatches sit relevant to where they are made on the artboard. So I thought I could create one over the spot I want to fill with it (and avoid making lots of clipping masks). However, when I create the swatch, the pattern moves, and I can't seem to get it to align.
    Have tried using the ~ key as suggested elsewhere (although on my PC this is on the # key so probably doesn't have the same effect?).
    So the pattern goes from this:
    To this:
    Each time I do it, it moves to another location. Doesn't seem to be any logic to it.
    Would appreciate anyones wise input!

    Whenever I apply the clipping mask, the shape contains no fill. Perhaps that is because it is a set of copy and a logo repeated in a line (this is a design for a lanyard). It's not that I am afraid to use it, I have tried and it doesn't work.
    So if the pattern is relevant to the 0,0 position on the co-ordinate grid, how do you work that out? When you make it, the co-ordinates are relevant to the artboard, not the grid. Maybe I'm just missing something obvious.
    Sorry if I seem stupid. Self taught etc.

  • Creating a new pattern swatch

    I'm working on a script that should, among other things, create a new pattern swatch from a groupItem in the document.
    I managed to create the new pattern swatch and name it using:
    myNewPatternSwatch = app.activeDocument.patterns.add();
    myNewPatternSwatch.name = <the_swatch_name>;
    The only thing I can't figure out is how to get my groupItem into the new pattern swatch.
    Any idea?
    Your help will be appreciated.

    I don't think you can… Sorry it's not very helpful… Patterns were the sure way to crash a script too although I have not tried in CS5…

  • Adjusting a created pattern swatch

    Hello all,
    I've been searching around for a solution to my problem, it seems so basic that i'm suprised i can't find anything on the subject (maybe i use the wrong therm's).
    I have the following question, is it possible to adjust a pattern after it has been created ? So what i have done is made some artwork with vector graphics in a document, dragged it into the swatches pannel to create a pattern swatch of it. So far so good, i can apply the swatch to a rectangle f.e. and it will get filled with my artwork. But now i want to  be able to adjust the fill color of my pattern, i haven't been able to adjust the pattern swatch itself, the only thing i can do now is adjust the original artwork, create another swatch and apply it again to my rectangle.
    Is there a way that i can adjust the pattern instead of having to adjust my original artwork, and create another swatch of it ?
    Any help would be very cool
    Grts!, Samuel

    Samuel,
    You should be able to drag the pattern swatch into the Artboard, when nothing is selected ther, and modify (you may use the Direct Selection Tool to pick spefific parts), and drag it back to form a new pattern swatch or Alt/OptionDrag it back upon the original swatch to replace it.
    You may search for Modifying patterns in the Help file to see updates to the way described.

  • Illustrator slowing down after creating a pattern swatch

    I am creating pattern swatches in Illustrator and every time I do my computer slows down to the speed of tar in winter. Anyone have a solution?
    Anyone else had this problem before?
    Please help me!!!
    Muffin )

    Flush Cache
    delete users\(username)\library\preferences\com.adobe.mediabrowser.plist
    Reset your preferences.
    Cmd-Opt-Ctrl-Shift when restarting AI on a Mac or Alt-Crtl-Shift on a PC to reset to the defaults.

  • How do you get edge lines out of patterns that you create?

    Brand new at Illustrator, forgive the ignorance.
    I was attempting to experiment with the patterns tutorial, and I cannot seem to get rid of edge lines when creating patterns. Please assist if you can.
    Examples shown:

    This is a result of screen anti-aliasing (turn it off in preferences and the lines go away). It will not effect output.
    You can reduce their annoyance by increasing the size of the pattern swatch.

  • Pattern Swatch From Pattern Maker Filter

    Is there a way to copy a new custom Pattern Swatch that you create using the Pattern Maker filter? I have often created a pattern that worked perfect but could only apply it to a layer. I want to be able to save just the custom swatch that patterns correctly so that I can use it as a repeating background image on a website.
    I know I should know this, but it's something that I've never been able to figure out, or find in the Help Menu.
    Linda

    > Well, you could always open a new file the same size as the pattern you created originally and load it from the Layer Styles > Pattern dialog.
    For some reason it tiles right when I apply the pattern to a large background. But when I attempt to create a simple square tile, even the same size as I started with, and attempt to use it as a repeating background on a web page, you can see the tiling.
    > Or how about after you make a new pattern in Pattern Maker and OK it, you have it load into an open Photoshop window, yes? You know the size of the tile the pattern maker made. How about making a selection the same size and use the arrow keys to move it into place and then copy/paste a new doc.
    Sounds good on paper Welles. But I can't get it to work right. I still see the tiling when I save the file out this way and use it as a background.
    I don't need this for anything urgent. And I know I can make something work for when I need it. The pattern I'm working with has a lot of texture so when it repeats outside of applying it in Photoshop, it just doesn't match up right. I had hoped there would be an easy way to capture the custom Pattern Maker Tile as a single image that could be used to repeat itself without seeing the tiling.
    Maybe this would be a good feature request. Thanks for both of your input.

  • CS6+   executeMenuCommand, pattern swatch

    Hi all, I'm trying to create a Pattern Swatch out of the Selected Object, so I'm using
    app.executeMenuCommand ('Define Pattern Menu Item');
    this successfully adds the swatch to the swatches panel, but it also brings up the Pattern Options Panel and goes into "Pattern Editing Mode" where in the UI one could either click on "Cancel", "Done" or "Exit Editing Mode" buttons...
    the problem is I can't exit out of the Pattern Editing Mode, has anyone discovered if there is a MenuCommand for it?
    thanks

    And prob not reliable enough in that case as you have no control over a clients computer.
    would need many safe guards to make sure the ESC was only pushed if illustrator window active. in case another program takes focus in that split second... etc.
    as far as I know AHK is PC only, there are other alternatives but would be different scripting language.
    1 of the best scripts I have written with AHK changes the default program for pdfs from illustrator to acrobat and back. modifying the registry directly.
    this allows me to open pdfs straight from outlook into ether program without saving file first. as outlook has no open with dialogue.
    I also have another one ( not written by me ) called FixZoomBug. this allows the ALT+mouseWheel to zoom in illustrator without the file menus activating. I could not do without this...

  • Saved pattern swatches as ASE have I lost them?

    Hello
    I created some pattern swatches in illustrator CS6 and saved them as an ASE file.
    When I try to use them , only the files I'd saved as Ai are offered to me.
    Does the saved as ASE file only save the colours used and not the actual pattern?
    Have I lost my pattern designs or can I open them somehow and convert them back to Ai?
    Any advice would be appreciated.
    Thankyou

    Pattern and radient swatches can't be saved as ASE. The ASE simply won't contain the patterns, so if you haven't saved the file taht contains the pattern or saved the patterns as AI, then they will be lost.
    Illustrator should have issued an error message.

  • Move new pattern swatch

    Thanks for taking the time to read my question. I have a pattern swatch that I created in an .ai file. How can I move it so that I can use it in a new file?
    Thanks,
    Brad

    You can copy an object from one file to another and the swatch will come with it if the copied object uses that swatch. Or, in the new file, select Open Swatch Library > Other Library from the Swatches panel menu.
    In future, remember to tell us the version number(s) of program(s) you are asking about.

  • Using the new CS4 Pattern Swatches

    Does Adobe allow designers to use ai Pattern Swatches for their designs they plan to sell? Like a pattern fill background or a shape(s) that's filled w/ one of the pattern swatches? Or do you have to create your own swatches?
    When I asked Adobe, they sent me this:http://www.adobe.com/products/eulas/pdfs/Gen_WWCombined-combined-
    2008062
    3_1026.pdf
    A contract that I can't really find my answer in. 

    Thanks M.Num
    I did actually get ahold of cust. support and they said i could use them for profit on my own artwork as long as my version isn't for educational as I suppose educational is cheaper. The rep didn't mention that i would have to modify though.
    Dina

Maybe you are looking for

  • How do I create a curve in Fireworks

    Hi How do I create a curve in Fireworks and pop a image in the background like this http://www.celebrityproductions.info/ I know how to get that effect in Illustrator but how do you do it Fireworks? Thanks for your help

  • How to reduce file size

    I have one page file. There is no image, just text. Now the file size is 3MB. I cannot reduce size anyhow. I have moved the tick from embed fonts at save option tab but file size is same. How I can reduce file size? In addition this file is used so m

  • How to print the receipt details both on the console and on receipt

    Hi All In ORPOS, Can anybody know how to print the sale transaction details on receipt and console as well After configuring with printer we can print only on receipt, if we want both on receipt and console as well Appreciate your suggestions and ide

  • BUG:Pressing Enter in Form gives no data found

    Hello, The accept procedure which is the generic handler for the forms needs to know the form id, and other parameter that are set by the doevent javascript function, invoked when a button is clicked. Instead of clicking the button(s), if user presse

  • Dummy cost center, Dummy profit center

    Hi everybody, anyone tell me, why is necessary to use dummy cost center and profit center ? what does dummy cost center, profit center mean? I don't clear about dummy cost center and profit center Thank in advance Minhtb Edited by: Tran Binh Minh on