Color Code Used in Theme

Hi everyone,
How can you find out the code for the color used in a theme? For example, the buttons in the "Southwest" theme are an orangish color. I would like the code for it (like F9999 or whatever) so I can use it in buttons that I am creating in HTML.
Thanks!
Alex

Use FF extention ColorZilla.
Denes Kubicek

Similar Messages

  • Color fractals using Kuler themes

    I've just released version 3.2 of Mandelbrot Explorer. This is free software that allows someone to enlarge the Mandelbrot Set (and Julia Sets) to produce detailed fractal images, and to color the resulting image with a color scheme that the user devises. One of the new features in this latest release is the ability to integrate with Kuler; they can search the themes that have been submitted by the community to Kuler, and then color their fractal image using the theme they select. The work that people put in to devise, submit and then review themes in Kuler can therefore help someone drawing fractals to colour them in ways that are aesthetically pleasing.

    Hi rocketboy,
    To get swatch values, an alternate to using the picker tool in the product is to directly use the website. You can ge the swatch values by selecting a theme in the browse view and then clicking on the make changes ot this theme button which will take you to the theme creation view with all the color values located at the bottom of the page under the corresponding swatch.
    Kuler Team

  • 1142 Color Codes

    Hi ;
    We have deployed many 1142 APs on a site.When i have checked color codes , some of thems LEDs are static green which we have expected.But some of them are not giving out any light.But from the controller menu i saw them active and operating.And i can connect that APs but no led is lid.
    When i get closer to the AP i saw a Red color which can not be seen from distance (Not Red flashing LED).What the possible error can be ? Is it a factory default mistake or so ?

    The problem is , AP doesnt give out any lights.LED doesnt light on.
    But from the controller ; i saw AP is operating , and i can connect on it.
    Here is output of booting AP that can successfully join the contoller , and this is happening in more than one AP
    *Mar  1 00:00:08.073: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed
    *Mar  1 00:00:08.085: *** CRASH_LOG = YES
    Security Core found.
    Base Ethernet MAC address: FC:99:47:D5:39:C6
    *Mar  1 00:00:09.661: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0
    *Mar  1 00:00:10.233: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1
    *Mar  1 00:00:10.264: %LWAPP-3-CLIENTEVENTLOG: Read and initialized AP event log (contains, 16 messages)
    *Mar  1 00:00:10.287:  status of voice_diag_test from WLC is false
    *Mar  1 00:00:11.330: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:12.411: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:12.449: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C1140 Software (C1140-K9W8-M), Version 12.4(23c)JA3, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2011 by Cisco Systems, Inc.
    Compiled Tue 18-Oct-11 14:52 by prod_rel_team
    *Mar  1 00:00:12.449: %SNMP-5-COLDSTART: SNMP agent on host HR-Test is undergoing a cold start
    *Mar  1 00:11:32.043: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Mar  1 00:11:32.110: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 00:11:32.110: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 00:11:33.110: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 00:11:33.110: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 00:11:33.303: %SSH-5-ENABLED: SSH 2.0 has been enabled
    *Mar  1 00:11:41.233: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0 assigned DHCP address 172.16.78.207, mask 255.255.248.0, hostname HR-Test
    *Mar  1 00:11:50.911:  status of voice_diag_test from WLC is false
    *Mar  1 00:11:50.972: Logging LWAPP message to 255.255.255.255.
    *Mar  1 00:11:52.367: %CDP_PD-4-POWER_OK: Full power - LOW_POWER_CLASSIC_NO_INJECTOR_CONFIGURED inline power source
    *Mar  1 00:11:52.390: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:11:52.415: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:11:53.374: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    *Mar  1 00:11:53.375: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 255.255.255.255 started - CLI initiated
    *Mar  1 00:11:53.401: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    Translating "CISCO-CAPWAP-CONTROLLER.dpu.edu.tr"...domain server (194.27.43.17) [OK]
    *Mar  1 00:12:02.006: %CAPWAP-5-DHCP_OPTION_43: Controller address 172.16.64.10 obtained through DHCP
    wmmAC status is FALSE
    *Dec 10 14:03:03.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 172.16.64.10 peer_port: 5246
    *Dec 10 14:03:03.000: %CAPWAP-5-CHANGED: CAPWAP changed state to 
    *Dec 10 14:03:03.836: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 172.16.64.10 peer_port: 5246
    *Dec 10 14:03:03.837: %CAPWAP-5-SENDJOIN: sending Join Request to 172.16.64.10
    *Dec 10 14:03:03.837: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    *Dec 10 14:03:03.983: %CAPWAP-5-CHANGED: CAPWAP changed state to CFG
    *Dec 10 14:03:04.100: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to down
    *Dec 10 14:03:04.114: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Dec 10 14:03:04.114: %CAPWAP-5-CHANGED: CAPWAP changed state to UP
    *Dec 10 14:03:04.115: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    *Dec 10 14:03:04.166: %CAPWAP-5-JOINEDCONTROLLER: AP has joined controller DPU_WIFI_KONTROLLER

  • Why color code css using powershell command is not visible in email ?

    Hello,
    I am applying color code for disabled status in PS script as  written below :
    $ReportData = Get-SPServiceInstance | Select Server,TypeName,Status,NeedsUpgrade | ConvertTo-Html -Fragment
    $DisabledStatus='<td>Disabled</td>'
    $DisabledColorStyle='<td style="background-color:red !important;color:white !important" >Disabled</td>'
    $ReportData = $ReportData -replace $DisabledStatus,$DisabledColorStyle
    ConvertTo-Html -Body "<font color = blue><H4><B>Report </B></H4></font>$ReportData" -Title "Test Report" -CssUri C:\style.CSS | Out-File "E:\Reports\TestReport.html"
    This report shows perfect on system where report file is located at E:\Reports\TestReport.html location as below :
    However , when I send this report via email using following command
    $Report = Get-Content "E:\Reports\TestReport.html"
    Send-MailMessage -To $To -SmtpServer $SMTP -From $From -Subject $Subject -BodyAsHtml "$Report"
    I dont see disabled as red color in email , while table's style is working which is stored at C:\style.CSS
    Would you please let me know the reason behind same ?
    Thanks and Regards,
    Dipti
    Dipti Chhatrapati

    Hi Dipti,
    I‘m writing to check if the suggestions were helpful, if you have any questions, please feel free to let me know.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Force Dreamweaver CS5 to use long hexadecimal color codes

    Hi everyone. Does anybody know if there is an option to force Dreamweaver CS5 to use long hexadecimal color codes in all instances?
    My company designs email newsletters and so we have to ensure maximum compatibility across web clients and email programs. The worst offenders for rendering CSS are Gmail and Outlook. We have to ensure all text and links have their color set by inline style tags, and since this is CSS Dreamweaver inserts them in 3-character shortform. Some versions of Outlook are not capable of processing these shortcodes, and so we must use 6-character codes in all instances.
    I am aware that this is not necessary for most people but for us it is an essential feature. Any help would be greatly appreciated!

    Sorry for the confusion, SnakEyez02. My sense is that tobe82 addressed the issue that Dreamweaver CS5 inserts 3-character shortform hex code, i.e., #FC3 instead of #FFCC33. This can be seen by using Page Properties to select a color for the page background. As tobe82 points out, there doesn't seem to be a Preference that addresses 3- vs 6-character hex codes although CS5 uses the shorter version under some circumstances.
    For those doing HTML newsletters with Dreamweaver, this is a significant issue because thousands of subscribers use a wide variety of email software, including Microsoft Mail, and view the newsletters online with a wide range of web browsers, including Internet Explorer. Having a "happy yellow" background render black on heavily used Windows software is unacceptable. Knowing the way to correct this is important, so tobe82's question in this forum helped by suggesting the manual code fix. But I agree with tobe82 that it would be a good idea for Adobe to provide a Preference now that the 3-character shortform hex code is in Dreamweaver CS5.
    (Un)fortunately, the example is corrected. If you want to take a look, imagine this Defrost yourself and make a margarita! newsletter with a black background instead of the #FC3 yellow.
    http://reigntrading.com/newsletter/retail/2011_April7/final.html
    It looked more like an invitation to a wake than a party! The yellow background rendered black on Internet Explorer (Win 7) until I changed the automatically inserted #FC3 to #FFCC33. I don't read email on a PC, but thankfully Mac users are used to testing on Windows browsers.....

  • Why won't the color code I am trying to use from a windows machine work on my Mac? Code: PMS7409

    Hi I'm an intern at a telecommunications and management company who are about to release an update on their website and server screens. My job is to create the new graphics and remake the presentation layers. I am also assigned to create a business card template, which is where my question comes. I am give a color code, from a Windows OS, and try to input that code into Photoshop CS6. That color code won't appear. It's a deep orange and the code I am being told is; PMS7409. I'm not sure thats a code (atleast on the Mac), but I haven't used a Windows OS in so long I don't even know if Windows has their own color coding system or what. Can someone help me out and tell me if this is me, my boss, or we're missing something and I'm going to look like an idiot?

    Definitely not a colour code for mac, the only thing I suggest you do is if you get the code on your windows version is to get the other values i.e
    instead and input those into it rather than the #colour code (Hue, Sat, B, R, G B) etc.
    Also ... Colour codes are 6 figures long i.e the one displayed and also black #000000 and white #ffffff
    however the one you gave is 7!
    Message was edited by: ConstantAngel

  • I am using pantone color codes, but my printer is not getting a close color match. What can I do to get a close color match?

    Is there settings in CS5 Illustrator version 15.0.0 that I can set to get a closer match on the pantone color codes?

    Tara,
    What happens if you save the file to PDF and print from Acrobat/Reader?
    Is there a PostScript (emulation) printer driver for the printer, and if so, what happens if you use that?
    If you print a CMYK document through a non PostScript driver, you will have a conversion from CMYK to RGB and then a conversion from RGB to CMYK, so you may expect any colour to be off.

  • Cannot change JToggleButton background color when Windows XP theme is used

    I wanted to change the background of a JToggleButton when it's pressed. I tried a few things, such as
    UIManager.put("ToggleButton.select", Color.RED);
    setting button's background, button's UI.
    but nothing worked.
    so I tried changing desktop theme from Windows XP to Windows Classic, then i was able to set button's background.
    The following is a simple test program, by switching theme, the toggleButton looks differently.
    Does anyone know how I can change JToggle button's background color under Windows XP theme?
    Thank you in advance!
    import javax.swing.*;
    import java.awt.*;
    public class ToggleTest {
        public static void createGUI(){
            JToggleButton button = new JToggleButton("Test");
            button.setBackground(Color.BLUE);
            JFrame testFrame = new JFrame("Test Frame");
            testFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            testFrame.getContentPane().setLayout(new FlowLayout(FlowLayout.CENTER));
            testFrame.getContentPane().add(button);
            testFrame.pack();
            testFrame.setVisible(true);
        public static void main(String[] args){
            try{
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                //UIManager.put("ToggleButton.select", Color.RED);
            catch(Exception ex){
                ex.printStackTrace();
            SwingUtilities.invokeLater(new Runnable(){
                public void run(){
                    createGUI();
    }

    class myToggleBtn extends JToggleButton {
      String s;
      public myToggleBtn(String str, Boolean sel) {
        super(str, sel);
        s = str;
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        if (this.isSelected()) {
             int w = getWidth();
             int h = getHeight();
             g.setColor(Color.green); //selected color
             g.fillRect(0, 0, w, h);
             g.setColor(Color.darkGray); //selected foreground color
             g.drawString(s, (w - g.getFontMetrics().stringWidth(s))/2 + 1, (h + g.getFontMetrics().getAscent())/2 - 1);
    }

  • [b]Tutorial:[/b] Simplify Developing OLE Automation Code Using VBA

    INTRODUCTION
    Automating Office applications from Oracle Forms can be a tedious, frustrating, and time-consuming process. Because the OLE2 and CLIENT_OLE2 built-ins do not validate the automation commands that they relay, code that compiles without errors often dies at runtime with a not-so-helpful error code. This tutorial will demonstrate how to simplify the development of automation code using a tool that ships with all Microsoft Office editions -- the Visual Basic for Applications (VBA) IDE.
    The VBA IDE, a core Office component, is a full-fledged development environment featuring code completion, basic syntax highlighting, context-driven help and a runtime debugger. Its Object Browser provides a convenient means of browsing the Word object model, as well as searching by keyword.
    For those who may not interested in following this tutorial in detail, I would like to stress the usefulness of the Object Browser as a tool for inspecting the functions supported by OLE server applications and, perhaps more importantly, valid values for function arguments. Whether/not anyone buys the assertion that starting with VBA prototypes is far more productive than pounding out OLE2 code from the very start, they will find the Object Browser invaluable as a reference -- I rely on it exclusively for this sort of documentation.
    A BRIEF INTRODUCTION TO THE VBA IDE & THE OBJECT BROWSER UTILITY
    Try this:
    1. Open Word
    2. Launch the VBA IDE by pressing <Alt><F11>
    3. Open the Object Browser by pressing <F2>
    The Object Browser allows you to visually navigate Word's class hierarchy. Its user interface is a bit crowded, so controls are unlabeled. Hovering the mouse cursor above a control will display a tooltip explaining that control's purpose. The browser's scope can be narrowed by using the Project/Library combo. Typing a keyword or substring in the Search Text combo and clicking on the Search button will cause all classes/members whose name contains the specified search text to be listed in the Search Results pane. Selecting an item from this list will update the two panes below it, showing the selected class, and its members. Beneath the Classes and Members panes is an untitled pane, gray in color, which displays details for the selected class/member, including hyperlinks to relevant information such as arguments, their types and allowable values. If Visual Basic Help is installed, pressing <F1> will display help on a selected class/member. (This feature can be installed from your Office install CD, if necessary.)
    NOTE: While it is possible to cut-and-paste the code examples that follow, I highly recommend that they be typed in by hand. Doing so will provide a better understanding of how the IDE's code completion behaves. Use code completion most efficiently by not using the mouse or <Enter> key when selecting from completion lists. Instead, just type enough letters to select the desired list element, then continue along as if you had typed the entire element, typing the next operator in your statement. It really is slick!
    HELLO WORLD - VBA-STYLE
    1. Open Word
    2. Launch the VBA IDE by pressing <Alt><F11>
    3. Select Module from the Insert menu.
    4. In the blank area that appears, enter the following code:
      Public Sub HelloWorld()
          Documents.Add
          Selection.TypeText ("Hello, world!")
      End Sub5. Press <F5> to run the code.
    If you switch back to Word by pressing <Alt><F11>, there should appear a newly-created document containing the text Hello, world!.
    A MORE AMBITIOUS EXAMPLE
    In this example, we will launch Word, type some text, and alter its formatting. For the purposes of this tutorial, consider it the process we wish to automate from within Forms.
    1. If Word is running, close it.
    2. Open any Office application except Word, such as Excel, Outlook or PowerPoint
    3. Launch the VBA IDE by pressing <Alt><F11>.
    4. Select References from the Tools menu -- a dialog should pop up.
    5. From within this dialog, locate and select Microsoft Word <version> Object Library, then click OK.
    6. Select Module from the Insert menu.
    7. In the blank area that appears, enter the following code:
    Public Sub LaunchWord()
        Dim app As Word.Application
        Set app = CreateObject("Word.Application")
        app.Visible = True                          '!!! IMPORTANT !!!
        app.Documents.Add
        With app.Selection
            .TypeText "This is paragraph 1."
            .TypeParagraph
            .TypeText "This is paragraph 2."
            .TypeParagraph
            .TypeText "This is paragraph 3."
        End With
        With ActiveDocument
            .Paragraphs(1).Range.Words(3).Bold = True
            .Paragraphs(2).Range.Words(3).Italic = True
            .Paragraphs(3).Range.Words(3).Underline = True
        End With
    End Sub8. Press <F5> to run the code.
    A new Word session should have been launched. Switch to it, to view the results of our handiwork!
    TAILORING VBA CODE INTENDED FOR OLE2 CONVERSION
    Now, things get a bit uglier. The code listed above gives a good idea of how concise VBA code can be, but With blocks and chained object references do not translate readily into OLE2 code. Here's the same process, rewritten in a more OLE2-friendly style. Note the numerous intermediate object references that have been declared.
    Public Sub LaunchWord()
        Dim app As Word.Application
        Dim doc As Word.Document
        Dim docs As Word.Documents
        Dim pars As Word.Paragraphs
        Dim par As Word.Paragraph
        Dim wrds As Word.Words
        Dim sel As Word.Selection
        Dim rng As Word.Range
        Set app = CreateObject("Word.Application")
        app.Visible = True                          '!!! IMPORTANT !!!
        Set doc = app.Documents.Add
        Set sel = app.Selection
        sel.TypeText "This is paragraph 1."
        sel.TypeParagraph
        sel.TypeText "This is paragraph 2."
        sel.TypeParagraph
        sel.TypeText "This is paragraph 3."
        Set pars = doc.Paragraphs
        'select third word of first paragraph and make it bold
        Set par = pars.Item(1)
        Set rng = par.Range
        Set wrds = rng.Words
        Set rng = wrds.Item(3)
        rng.Bold = True
        'select third word of second paragraph and italicize it
        Set par = pars.Item(2)
        Set rng = par.Range
        Set wrds = rng.Words
        Set rng = wrds.Item(3)
        rng.Italic = True
        'select third word of second paragraph and underline it
        Set par = pars.Item(3)
        Set rng = par.Range
        Set wrds = rng.Words
        Set rng = wrds.Item(3)
        rng.Underline = True
    End Sub
    TRANSFORMATION: CONVERTING VBA CODE INTO PL/SQL
    Here is the PL/SQL counterpart to our previous VBA routine. Compare printouts of the two and note their similarities. Notice the need for argument lists -- this causes the code to fluff up quite a bit, and really interferes with readability.
    PROCEDURE LAUNCH_WORD IS
      v_app OLE2.OBJ_TYPE;     -- Application
      v_doc OLE2.OBJ_TYPE;     -- Document
      v_docs OLE2.OBJ_TYPE;    -- Documents collection
      v_pars OLE2.OBJ_TYPE;    -- Paragraphs collection
      v_par OLE2.OBJ_TYPE;     -- Paragraph
      v_wrds OLE2.OBJ_TYPE;    -- Words collection
      v_sel OLE2.OBJ_TYPE;     -- Selection
      v_rng OLE2.OBJ_TYPE;     -- Range
      v_args OLE2.LIST_TYPE;   -- OLE2 argument list
    BEGIN
      /* launch Word and MAKE IT VISIBLE!!! */ 
        v_app := OLE2.CREATE_OBJ('Word.Application');
        OLE2.SET_PROPERTY(v_app, 'Visible', TRUE);
      /* initialize key object references */ 
        v_docs := OLE2.GET_OBJ_PROPERTY(v_app, 'Documents');
        v_doc := OLE2.INVOKE_OBJ(v_docs, 'Add');
        v_sel := OLE2.GET_OBJ_PROPERTY(v_app, 'Selection');
      /* type first paragraph */
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 'This is paragraph 1.');
        OLE2.INVOKE(v_sel, 'TypeText', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
        OLE2.INVOKE(v_sel, 'TypeParagraph');
      /* type second paragraph */
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 'This is paragraph 2.');
        OLE2.INVOKE(v_sel, 'TypeText', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
        OLE2.INVOKE(v_sel, 'TypeParagraph');
      /* type third paragraph */
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 'This is paragraph 3.');
        OLE2.INVOKE(v_sel, 'TypeText', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
      /* set reference to Paragraphs collection */
        v_pars := OLE2.GET_OBJ_PROPERTY(v_doc, 'Paragraphs');
      /* select third word of first paragraph and make it bold */
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 1);
        v_par := OLE2.INVOKE_OBJ(v_pars, 'Item', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
        v_rng := OLE2.GET_OBJ_PROPERTY(v_par, 'Range');
        v_wrds := OLE2.GET_OBJ_PROPERTY(v_rng, 'Words');
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 3);
        v_rng := OLE2.INVOKE_OBJ(v_wrds, 'Item', v_args);
        OLE2.SET_PROPERTY(v_rng, 'Bold', TRUE);
      /* select third word of second paragraph and italicize it */
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 2);
        v_par := OLE2.INVOKE_OBJ(v_pars, 'Item', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
        v_rng := OLE2.GET_OBJ_PROPERTY(v_par, 'Range');
        v_wrds := OLE2.GET_OBJ_PROPERTY(v_rng, 'Words');
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 3);
        v_rng := OLE2.INVOKE_OBJ(v_wrds, 'Item', v_args);
        OLE2.SET_PROPERTY(v_rng, 'Italic', TRUE);
      /* select third word of second paragraph and underline it */
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 3);
        v_par := OLE2.INVOKE_OBJ(v_pars, 'Item', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
        v_rng := OLE2.GET_OBJ_PROPERTY(v_par, 'Range');
        v_wrds := OLE2.GET_OBJ_PROPERTY(v_rng, 'Words');
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, 3);
        v_rng := OLE2.INVOKE_OBJ(v_wrds, 'Item', v_args);
        OLE2.SET_PROPERTY(v_rng, 'Underline', TRUE);
    END;
    REFACTORING FOR REUSABILITY AND READABILITY
    While the previous procedure runs without errors, it suffers from poor readability which, in turn, makes it difficult to maintain. Here, we address those issues by moving repetetive low-level operations into separate procedures.
      PROCEDURE LAUNCH_WORD IS
        v_app OLE2.OBJ_TYPE;    -- Application
        v_doc OLE2.OBJ_TYPE;    -- Document
        v_docs OLE2.OBJ_TYPE;   -- Documents collection
        v_sel OLE2.OBJ_TYPE;    -- Selection
        v_args OLE2.LIST_TYPE;  -- OLE2 argument list
      BEGIN
        /* launch Word and MAKE IT VISIBLE!!! */ 
          v_app := OLE2.CREATE_OBJ('Word.Application');
          OLE2.SET_PROPERTY(v_app, 'Visible', TRUE);
        /* create a new Word document */ 
          v_docs := OLE2.GET_OBJ_PROPERTY(v_app, 'Documents');
          v_doc := OLE2.INVOKE_OBJ(v_docs, 'Add');
          v_sel := OLE2.GET_OBJ_PROPERTY(v_app, 'Selection');
        /* add a few paragraphs */
          PRINT_PARAGRAPH(v_sel, 'This is paragraph 1.');
          PRINT_PARAGRAPH(v_sel, 'This is paragraph 2.');
          PRINT_PARAGRAPH(v_sel, 'This is paragraph 3.');
        /* apply formatting */
          APPLY_FORMATTING(v_doc, 1, 3, 'Bold', TRUE);
          APPLY_FORMATTING(v_doc, 2, 3, 'Italic', TRUE);
          APPLY_FORMATTING(v_doc, 3, 3, 'Underline', TRUE);
      END;
      PROCEDURE APPLY_FORMATTING(
        v_doc OLE2.OBJ_TYPE,
        v_paragraph_num NUMBER,
        v_word_num NUMBER,
        v_attribute VARCHAR2,
        v_value BOOLEAN) IS
        v_pars OLE2.OBJ_TYPE;   -- Paragraphs collection
        v_par OLE2.OBJ_TYPE;    -- Paragraph
        v_wrds OLE2.OBJ_TYPE;   -- Words collection
        v_rng OLE2.OBJ_TYPE;    -- Range
        v_args OLE2.LIST_TYPE;  -- OLE2 argument list
      BEGIN
        /* set reference to Paragraphs collection */
          v_pars := OLE2.GET_OBJ_PROPERTY(v_doc, 'Paragraphs');
        /* get specified paragraph */   
          v_args := OLE2.CREATE_ARGLIST;
          OLE2.ADD_ARG(v_args, v_paragraph_num);
          v_par := OLE2.INVOKE_OBJ(v_pars, 'Item', v_args);
          OLE2.DESTROY_ARGLIST(v_args);
        /* get words for specified paragraph */
          v_rng := OLE2.GET_OBJ_PROPERTY(v_par, 'Range');
          v_wrds := OLE2.GET_OBJ_PROPERTY(v_rng, 'Words');
        /* apply formatting to word found at specified index */
          v_args := OLE2.CREATE_ARGLIST;
          OLE2.ADD_ARG(v_args, v_word_num);
          v_rng := OLE2.INVOKE_OBJ(v_wrds, 'Item', v_args);
          OLE2.SET_PROPERTY(v_rng, v_attribute, v_value);
      END;
      PROCEDURE PRINT_PARAGRAPH(v_sel OLE2.OBJ_TYPE, v_text VARCHAR2) IS
        v_args OLE2.LIST_TYPE;
      BEGIN
        v_args := OLE2.CREATE_ARGLIST;
        OLE2.ADD_ARG(v_args, v_text);
        OLE2.INVOKE(v_sel, 'TypeText', v_args);
        OLE2.DESTROY_ARGLIST(v_args);
        OLE2.INVOKE(v_sel, 'TypeParagraph');
      END;
    CONCLUSION
    It is my hope that this tutorial, despite it's introductory nature, has demonstrated the value of the VBA IDE, the ease with which automation processes can be prototyped using VBA, the noticeable similarity between VBA automation routines and their Forms PL/SQL counterparts, and the advantages of testing automation processes within the VBA IDE. Please feel free to follow up with any specific questions or concerns you may have.
    Thanks,
    Eric Adamson
    Lansing, Michigan
    FINAL NOTE: These examples use the OLE2 built-in, and will operate correctly when called from forms running in the Form Builder OC4J. Deploying them to an Oracle Application Server will launch Word on the server itself (if available), which is usually not the developer's intent! Automating Word client-side via web forms requires adding WebUtil support. Adapting the code for WebUtil is trivial -- just replace all instances of OLE2 with CLIENT_OLE2. Adapting forms for WebUtil and configuring OLE support into your Oracle Application Server, however, are beyond the scope of this tutorial.
    REVISION HISTORY
    This promises to be something of a 'living document'. I've snuck changes through without comment in the past, but in the future, I'll try to document significant changes here.
    2006-08-21
      * Prefaced boring subject line with text: 'Tutorial:' to clarify purpose
      * Added emphasis on value of Object Browser as a reference

    Thanks James, for your kind words. I do hope this information will help folks out. I honestly believe that tinkering around in the VBA IDE will prove highly gratifying for automation developers. It can be assured that learning to make Word jump through hoops is much more straight-forward in this environment. I'm not one for mottos, but if I were pressed for a cheesy motto, I would say: First, make it work. Then, make it work in Oracle!
    Once the idea has sunk in, that Visual Basic routines for automating Word are exact analogs to their OLE2 counterparts, we can remove keywords like Oracle and PL/SQL from our Google searches on Word automation which, at least in this context, are the proverbial kiss of death. Suddenly we find ourselves liberated by the possibility of steal-, ahem... borrowing ideas from the Visual Basic* community!
    As for links, my link of choice is invariably http://groups.google.com -- if you don't already use it at least ten times a day, you must try it. This is the venerable USENET archive, including the holdings of now-extinct DejaNews. Another possible site of interest is http://word.mvps.org/FAQs/MacrosVBA, which may serve as a good starting point for those who wish to learn how to do fancy tricks with Word using VBA.
    If these links don't prove immediately helpful, please feel free to give specifics on the sort of operations you are interested in automating, and I'll see if I can post an example that addresses it.
    Regards,
    Eric Adamson
    Lansing, Michigan
    PS: I do hope, as people read my posts, with every other acronym being VBA, that they are not mistakenly hearing a call to learn Visual Basic. I say this, not because I believe learning VB would be a Bad Thing, but because I assume that few of us feel we have the time to learn a new programming language. Despite having come to the Oracle camp already knowing VB/VBA, and having acquired a fair bit of experience with automating Office applications as an Access developer, I remain confident that what I am suggesting people attempt does not rise to the level of learning a language. What I am suggesting is that they learn enough of the language to get by.
    *VB vs. VBA
    Just a quick word on this, as readers may wonder why I seem to use these terms interchangeably. Visual Basic (VB) can refer to either a development platform or a programming language. Visual Basic for Applications (VBA) is a language -- more precisely, it is a subset of the Visual Basic language. One purchases VB, usually quite intentionally. VBA is included with Microsoft Office, as is VBA's development environment, the VBA IDE. The key distinction between VB and VBA is that VBA cannot be used to create self-contained executables. Rather, VBA relies on VBA-enabled applications, such as Microsoft Office applications, to serve as a container for VBA code, and to provide a runtime environment for that code. For the purposes of discussing OLE Automation, VB and VBA are quite interchangeable.

  • 3D Map - Color Code and Cursor Tracking

    Hi, I need some help trying to implement some user interface functionality for a program I am developing.
    This will be a tuning tool for automotive ECU. The program will be reading in two signals (Y-axis is RPM, X-Axis is manifold pressure) and use a 2D interpolation to output a Z value to be used in a calculation. There are two pieces I'd like to add to this. 
    1. Color code the cells based on the cell value in relation to the max and in of the entire 2D-Array
    2. Have a live currsor that tracks the current cell of the 2D array and highlights the cells that are being used in the interp calculation so it makes it easier for the user to make changes and calibrate the tables. 
    3. BONUS: An easy way to be able to select a range of cells and increment them by a set amoun or scale them all by an imput amount (like scale range by 90%).
    Basicly, I'd like to recreate some of the user interface functionality of the software shown below in the second picture and the video linked below. 
    VIDEO:    https://www.youtube.com/watch?v=OkVUJCy0sJ4
    VIDEO:   https://www.youtube.com/watch?v=oeZc-ka6ago      (at 16:45 you can see a good example of the currsor tracking through the cells as teh two inputs change)
    -As you drive and the RPM and loading changes there is a blue ball that tracks on the table the current x-y location of the 2D map and the four coresponding cells around the ball are highlighted to show witch of these cells are being used in the calculation so the user can easily alter these cells in real time to tune the output he is looking for. I'd like to be able to highlight, or blink either a single cell closest to the current value, or the 4 corners around it and have it update real time as the user drives the car. 
    Any ideas of how to implement this kind of functionality? The current VI is attached. I should note the x-array and y-array won't necessarily always be constant spacing between cells.
    Thank you for any help in advance!
    Attachments:
    3D Map Color Coded & Currsor.vi ‏17 KB

    Okay, so I made some progress on this. I was able to use an intensity graph to visually color code the relative position of the cells. Is there a way to make the 2D array translucent and overlay the color array intsity graph behind it? is there a better way to do this. 
    I was able to get the closest current cell value to update as black and track around live on the intensity graph. I did this by temporarily setting the cell's value to 0. Is there a way to somehow highlight the actual cell on the 2D-Array instead? 
    The code is attached. I added a random sine wave input to simultate some signals for the x and y input. The Y array now runs in reverse order which made it tricky to get some of the functions to work properly so I had to use a 2D transpose and 1D reverse array to get it back in the right form. There's probably a better way to do this. 
    Any help is great appreciately and rewarded with Kuddos!  
    Attachments:
    3D Map Color Coded & Currsor (Rev B).vi ‏33 KB

  • Created file in illustrator then opened in photoshop but color code changed?

    I Created file in illustrator and then opened the art in photoshop but the wierd thing is that the color code changed. If you look at the image with you eye the color will look the same to the naked but if you use the eye dripper tool you can see that the color code has changed between illustrator and photoshop.
    Is there a way to make the CMYK color code stay the same?

    In Illustrator the "Edit---> color settings" are set to "North America General Purpose 2" and the that is the same color setting choice in Photoshop.
    For example there is a black color in Illustrator that has this CMYK code "60, 49,47, 100"
    but in photoshop the CMYK code for the same part of the graphic changes to "75, 68, 67, 90"
    This is only one example of many color code changes that are happening and this may look like the same color on the screen but I need them to both have the same code because I am doing specialized printing and need no changes in color codes like this to occur.
    If I have the color setting in both photoshop and illustrator both set exactly the same "Edit---> color settings" then do you know why this color shift would be happening. Please help.

  • Png files not exporting in correct color code

    Hey everyone I've had this continual problem in illustrator with png exports, for some reason my png's export with duller, less saturated colors than what I am seeing inside of illustrator. However, my jpegs export correctly. I've been able to figure out that my png's are not exporting with the correct color code (sRGB), even if this option is selected in "save for web" options. I have been having to open the png's in Mac's preview program or opening them into photoshop and exporting with sRGB profile embedded from there. I figure there must be some setting I don't have selected within illustrator. Document color mode is RGB, working space is sRGB, "Color Management Policy" is preserve embeded profile, and under the "Assign Profile" option it is set to working space RGB: sRGB. Any suggestions?

    I don't think there is anything wrong with the color management you are using.
    I suspect that you are using Illustrator CS6.
    Although you can specify that the image has to be converted to sRGB (and it probably does), the profile is not embedded in the file.
    The latest CC version does, although you cannot check a box: ICC Profile like you can when saving JPEG.
    I think the reasoning behind this could have been: "PNG is a web file format. and Browsers cannot be trusted with colormanagement, most of them think that all files are sRGB, so why embed the profile..."
    So you did the right thing by assigning the profile in Photoshop.
    Ton

  • Color Code or Highlight Certain Events?

    I may be the only person who wants this, but does anyone know of a way to color code the event names in iPhoto? Similar to the way you can color code folders in the finder. Even if it's just an on/off highlight.
    The long story is I've been scanning and importing hundreds of photos from my "pre-digital" days. They all need a bit of tweaking (sometimes just a crop, but often a color adjustment, and resetting the dates since they automatically are given the date of import, not when I took the picture) so I've been slowly going through them, event by event, to do it. But I'd love to "highlight" all the event titles and then when they are tweaked, remove the highlight. Allowing me to do a quick scan through the events to see how many I have done and still have to do.
    I've tried some googling to see if there might be a script or something, but I'm not sure what words I should use besides color code or highlight events. And they didn't turn up anything.
    Long shot, but I figure if anyone has tried to do this, the helpful people here would know. If not, ce la vie.
    Thanks,
    Gina

    No
    You could assign a keyword to the photos when yo import them and make a smart album on that keyword - then remove the keyword as you "tweak" the scans so they drop out of the smart album
    LN
    Message was edited by: LarryHN

  • The ability to color code layers...

    Dear Apple,
    The ability to color code layers would be the biggest time-saving boost to my workflow that I can imagine.
    All layers look so much alike. Add constantly scrolling through dozens or hundreds of them, expanding and contracting often. Loosing ones bearings within the layers window is a given. It seems every few minutes, I have to stop and re-figure out where things are.
    If one could right-click to set a layer header one of eight or so colors (like in photoshop and just about every other program that uses layers) this would increase my productivity quite a bit.
    The rant ends. We now return you to your regularly scheduled forum.

    Granted, color-coding layers could be very helpful. That said, I find that group and layer labeling, and intuitive grouping and organization go a long way to keeping things straight.
    I don't think I've ever done a project with a hundred layers, but I've been as high as 40-50 before and never really had a hard time keeping track.
    Now, there is a shortcut that you might find useful. If you hit the X key on your keyboard, Motion will separate all the layers currently active in the canvas at the playhead's position ala Expose. This will allow you to select any layer easily. When you do so, the layer will become visible in the layers pane no matter how deep it's hidden.
    Finally, there is a feedback thread for product suggestions that is actually read by the Motion team, unlike this forum.
    Andy

  • Linux: The tabs text color changes with the theme, while the menu text color is always black.

    Hello,
    When Firefox theme is changed, it usually changes window appearance, e. g. backgrounds, and sets corresponding text color to contrast with that background. It always used to be like this. For instance, I currently use Sunflower_01 theme which sets blue sky as a background. The tabs text is white, as well as the bookmarks. The white text contrasts very fine with the sky. But the menu items are awfully black, casting dark-gray shadows on the dark-blue sky. The menu remains black regardless of the theme I set.
    Of course, it's all fine without any add-ons (light background, dark text), but with a theme enabled, it looks not the way it used to be. I wonder if it can be fixed somehow.
    I use Mozilla Firefox 33.0 for Linux Mint (release 13, maya).
    Looking forward to your reply.
    Regards,
    Andrey

    Hello,
    Did you install from the repositories? I have found the same problem with Ubuntu 14.04, a workaround is to either use a userChrome.css file, or (in my opinion, the easier route) [https://addons.mozilla.org/en-US/firefox/addon/stylish/ Stylish] extension with a new Style.
    See these articles about the userChrome.css file:
    * http://kb.mozillazine.org/index.php?title=UserChrome.css
    * http://kb.mozillazine.org/UserChrome.css_Element_Names/IDs
    If you use the userChrome.css route, you may need to restart Firefox to apply the changes.
    See this article for Stylish:
    * http://forums.mozillazine.org/viewtopic.php?f=38&t=1570945
    To add a new style in Stylish, click on the Stylish tool on your toolbar, then "Write New Style", then "Blank style". Or:
    * Tools (or [[Image: New Fx Menu]]) > Add-ons > User Styles > Write New Style
    Example code for either one method you choose (you can play around with the colours, but I found this worked nicely for my theme):
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*change size, color, style of text in Menu Bar */
    menubar > menu
    {color: darkgray !important}
    /* Mouse hovering over menu */
    menubar > menu[_moz-menuactive="true"]
    {color: white !important;}
    /* Active/Open menus */
    menubar > menu[_moz-menuactive="true"][open="true"]
    {color: black !important;}

Maybe you are looking for

  • B2B Error while generating 850 EDI Document

    Hi All, We are facing the following error in B2B while generating an EDI 850 outbound document. To give a brief background of our process: We are using a BPEL process to pick a fixed length file from FTP adapter and then transform it and provide it t

  • Installing Quicken software on MacBook Air with VMware.

    I am a new MacBook Air user and have installed VMware so that I can install Quicken software (which only operates on Windows).  I am having all sorts of trouble; when I try to install Quicken in my USB superdrive, nothing happens.  It won't load the

  • How to convert a csv file into excel report?

    Hello, I have a csv file, can any body help me how to convert it into an excel report. thanks in advance vakvarma

  • How to measure the performance

    Hi all, I would like to compare the performance of my Webdynpros in different machine. I need to measure the time of execution of my Web dynpro, including execution of some interaction from the user (navigation between the pages, etc). How can I do i

  • Is the way to retrieve the deleted pages from the database application

    Hi, I was just deleted the pages from my database application wizard. Now, i want to retrieve the deleted pages, can you help me to retrieve those pages. Thankyou.