Any way to use a quick and dirty icon like cLabel in the quick tools toolbar?

I am a javascript cut-and-paster with ability to cobble things together.
In previous versions of Acrobat, I had tools that were added to the toolbar using the technique shown in this script:
app.addToolButton({cName: "MyFlattenButton",
   cLabel: "Flatten",
   cEnable: "event.rc = (app.doc != null);",
   cExec: "flattenPages();"
That would create a toolbar button with the "icon" that read "Flatten" which is all that I needed.  I could click on it and it would flatten all pages in the document.
I used this to create several different tools, all with different names and cLabels.
This script still works in Acrobat XI (it adds the tool to the add-on tools list, and then I can add it from there to the quick tools toolbar).  The cLabel names show up in the add-on tools list, but not in the quick tools toolbar.  In the toolbar they all use the same generic icon (but they all work correctly).
From reading in this forum I see that there is a way to create a custom icon but it does not look easy.  Is there any simple way to just have text appear as the icon as I used to do for earlier versions of Acrobat?
Thanks.

One further question...
I found a code snippet somewhere online that attempted to deal with this issue.  That led me to this (failed) solution:
this.importIcon("myIconFlat", "/D/J/CAD Standards/Stamps/Acrobat tools/flatten.jpg", 0);
var flatIcon = util.iconStreamFromIcon(this.getIcon("myIconFlat"));
app.addToolButton({cName: "MyFlattenButton",
   cLabel: "Flatten",
   oIcon: flatIcon,
   cEnable: "event.rc = (app.doc != null);",
   cExec: "flattenPages();"
The problem there is that importIcon is not allowed from a folder-level javascript, apparently.  Would there be any way to use the importIcon part of this from the console and then cut and paste some output into the rest of the script?  Just looking for a way to get the icon into my script.

Similar Messages

  • Is there a way to use both wireless and ethernet without having to unplug the ethernet

    I have 7280 all in one, 2 wireless laptops and 2 wired desk tops.  At present I have to unplug the ethernet cable any time I want to use the wireless.  Is there a way to set up the printer so it will recognize both. any help will be greatly appreciated

    No.
    Connecting the Ethernet will disable the wireless by design.
    Each of these connection methods look like two different devices to the network (with different MAC addresses and potentially different IP addresses).  Since there is just one printer, having what looks like two different devices on the network at once would lead to mass confusion for devices trying to access the printer.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Any way to use filter to exclude tables in navagation pane?

    Is there any way to use filter to exclude a set of tables from the table list in the navagation pane? I have a number of tables (15+) starting with the same prefix eg. AB123 that I would like eliminate from the list. They sort right to the top and I always have to scroll down, and go through the show more dialog to see the entire list.
    I am sure I'm missing something, but not sure what. Help Center has nothing to offer.
    Thanks
    Glenn

    This has been mentioned on the forum before - basically the need for more elaborate ways to filter (multiple conditions as well as 'not like'). It is on our list for future consideration, meaning post-production.
    -- Sharon
    Message was edited by:
    sbkenned

  • Is there any quick and dirty way to determine what something will look like

    Hi,
    Is there any way (rule of thumb) to determine what something will look like when printed.
    for example.
    I am doing a composite (hope this is the right word). It will have some people sitting at a table and I want to have another layer with another picture behind it.
    I plan for the output to be fairly small (print size), say 4 x 5 or whatever.
    Now, if I go to the internet and google (or mamma.com) and search for images (large) and it comes back to me, I will see pictures that are (for example) 800 x 526 pixels 367 kb, or 940 x 480 pixels 166 kb.
    I would have to assume the 367 kb will print at better resolution, but if i liked the 166 kb picture better, is there a quick and dirty way to determine if it would print better (say 250 or 300 dpi or whatever) or not?
    So, bottome line,
    Assume my output picture will be 4 x 5 (and I want 300dpi (or is it ppi)
    How do quickly look at google results and determing if they will print ok?
    Bob

    The closest to a one click fix in photoshop cs-cs5 is
    Image>Adjustments>Shadow/Highlight or opening the
    image through camera raw and using the recovery slider.
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-765da.h tml
    MTSTUNER

  • Is there any way to use RUN button to deploy the application and open IE...

    Hi
    Thank you for reading my post
    i used to use Run button to compile / deploy and run (opening the browser to project context path) .
    i want to know is there any way to use RUN button to deploy an application to standalone OC4J and opening browser?
    I know that we can define ear or war deployment profiles and use them to deploy the application to stand alone server , but i want a single click solution.
    thanks

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Is there any way to turn off data and use only wi fi

    is there any way to turn off data and use only wi fi, going to a foreign country and do not want to use data but wi fi will be available. I want to be sure to use only wi fi

    Yes there is!
    Simply go into Settings, General, Mobile Data, Turn this off and make sure Data Roaming is also switched off! You can have wifi on and this will no charge your account for the data you use via Wi-Fi!

  • HT4759 i have lost my iphone i dont have iemi number but i used icloud id on that as there any way to locate my phone and if not located the plz tell my the way i remove my data from it. thanks

    i have lost my iphone i dont have iemi number but i used icloud id on that as there any way to locate my phone and if not located the plz tell my the way i remove my data from it. thanks

    Go to icloud.com.  Log in with your Apple ID & Password.  Go to the Find My iPhone section.  Perform a remote wipe of the device.
    You don't have to have downloaded any app.  You only have to have enabled the Find My iPhone option under Settings > iCloud.  If you did not do that, then you cannot remotely access the device.
    If that's the case, then change ALL of your account passwords; email, banking, etc.  All of them.  And then monitor those accounts very closely!

  • ICloud "Family Sharing" loses shared Notes and iDrive.  Any way to use this without losing shared features besides Apps?

    We used to share a single App Store ID so we could see all our family devices, share iDrive space for backups, share App and music purchases, and share notes and reminders.  We had separate IDs for iMessage.  Now with "Family Share" we can do some of that but we lose shared reminders, notes and iDrive space.  Why can't the iDrive space be family based?  We also need shared spaces for notes, reminders, and such.  I feel we are being forced to move to "Family Share" with the new features where you can move work from device to device and that would not work well with multiple people using the same account.

    If you previously had the same iCloud account on all devices and now have different ones on each you might just need to share the calendars, notes and reminders with the other family members iCloud accounts.
    If everyone had been using [email protected] and now they have started using [email protected] and [email protected] you could add the [email protected] account on each device and only turn on Notes and Reminders.

  • I have cs4 installed on my old computer, i have since lost the disk and serial #s. Is there any way to recover this information and install the programs on my new computer?

    I have cs4 installed on my old computer, i have since lost the disk and serial #s. Is there any way to recover this information and install the programs on my new computer? I used my old computer for college and haven't used it in awhile, now I have a job that can benefit from having those programs. I was wondering if ADOBE keeps records or something to where I can download the programs on my new MacBook and use my old serial #s.

    Find your serial number quickly
    Download CS4 products
    Mylenium

  • Web gallery - any way to use IPTC data by itself beside metaset??

    Hi,
    I try to customize a template. I know that I can use the metasets to include the requested metadata - BUT is there any way to use other fields?
    so far I found
    PageTitle
    metavalue
    But even those spaceholders can't be used as i.e. the alt tag.
    Is there any way to get for example the Image Name (or other fields from the database) as a space holder??
    Appreciate your feedback.
    Thanks

    Hey, wow that was a quick reply
    Well all my photos are in Aperture, so I did think that I could grab the EXIF data from there and then place them in text boxes on my pages. I have hundreds of photos and doing it that way could take a long time! I was curious to see if there was something that would automate this for me within iWeb. For example, RapidWeaver allows you to check a tick box to display EXIF data under each photo. That's what im looking for within iWeb

  • Is there any way to use Quickview from within Spotlight search results?

    I'm sure this has been answered previously, but my searches came up empty....
    Is there any way to use Quickview from within Spotlight search results? I'd like to be able to do a Spotlight search and hit the space bar for a quick Quickview look before actually launching the program. I'm guessing this isn't possible, but thought I'd ask...

    Thanks, Kappy.
    Duh...I meant Quick Look. Sorry about that.
    In any event, pressing the space bar in Spotlight just puts a space in the Spotlight search box - it doesn't open a Quick view of the highlighted item...

  • Any way to use cursor values inside other cursor by bulk collect?

    hi,
    Is there any way to use cursor get_tables value insdide loop get column if i am using bulk collect in both cursors?
    I tried a lot but i am nt able to do it.kindly help...
    create or replace procedure MULTIPLE_CURSORS_PROC is
    v_owner varchar2(40);
    v_table_name varchar2(40);
    v_column_name varchar2(100);
    cursor get_tables is
    select distinct tbl.owner, tbl.table_name
    from all_tables tbl
    where tbl.owner = 'SYSTEM';
    cursor get_columns is
    select distinct col.column_name
    from all_tab_columns col
    where col.owner = v_owner
    and col.table_name = v_table_name;
    begin
    open get_tables;
    loop
    fetch get_tables into v_owner, v_table_name;
    open get_columns;
    loop
    fetch get_columns into v_column_name;
    end loop;
    close get_columns;
    end loop;
    close get_tables;
    end ;

    hi there
    Refer this
    CREATE OR REPLACE PROCEDURE MULTIPLE_CURSORS_PROC
    IS
       TYPE scol IS VARRAY (10000) OF VARCHAR2 (32767);
       v_table_name    scol;
       v_column_name   scol;
       TYPE curtyp IS REF CURSOR;
       get_columns     curtyp;
       CURSOR get_tables
       IS
          SELECT   DISTINCT tbl.table_name
            FROM   all_tables tbl
           WHERE   tbl.owner = 'SYSTEM';
    BEGIN
       OPEN get_tables;
       LOOP
          FETCH get_tables BULK COLLECT INTO   v_table_name;
          FOR indx IN v_table_name.FIRST .. v_table_name.LAST
          LOOP
             SELECT   DISTINCT col.column_name
               BULK   COLLECT
               INTO   v_column_name
               FROM   all_tab_columns col
              WHERE   col.table_name = v_table_name (indx);
             FOR ind IN v_column_name.FIRST .. v_column_name.LAST
             LOOP
                DBMS_OUTPUT.put_line (v_column_name (ind));
             END LOOP;
          END LOOP;
          EXIT WHEN get_tables%NOTFOUND;
       END LOOP;
       CLOSE get_tables;
    END MULTIPLE_CURSORS_PROC;regards
    Hitesh

  • Is there any way to use -useLegacyAOT option in FlashBuilder 4.6?

    I need to build my ipa with old version of Engine because i have some problems about loading images from outside. Since with Air 15 it is default engine, and i cannot quit Air 15 because of the iTunes specs. I cannot add -useLegacyAOT=yes to compiler options on Adobe Flash Builder 4.6 because it seems that it can be added at FB4.7.
    So is there any way to add this options when i am using FB4.6
    Thanks in advance.

    DeepakJ wrote:
    Hi,
    Is there any way to use a control break on Dept column in a SQL query to have a Output-2 instead of Output-1.
    Is there any way to modify the SQL query.
    SQL
    select dept, loc, count(*)
    from dept
    group by dept, locOutput-1
    Dept      Loc       Count(*)
    10         AA        1
    10         BB        2
    10         CC        2
    20         AA        2
    20         BB        2Output-2
    Dept      Loc       Count(*)
    10         AA        1
    BB        2
    CC        2
    20         AA        2
    BB        2
    Yes, using the <tt>lag</tt> analytic function and specified ordering of the data:
    select
        nullif(d.deptno, lag(d.deptno) over (order by d.deptno, d.loc, e.mgr nulls first)) deptno
      , nullif(d.loc, lag(d.loc) over (order by d.deptno, d.loc, e.mgr nulls first)) loc
      , e.mgr
      , count(*) n
    from
        dept d
          join emp e
            on d.deptno = e.deptno
    group by
        d.deptno
      , d.loc
      , e.mgr
    order by
        d.deptno
      , d.loc
      , e.mgr nulls first;
    DEPTNO  LOC       MGR   N
        10  NEW YORK         1
                      7782   1
                      7839   1
        20  DALLAS    7566   2
                      7788   1
                      7839   1
        30  CHICAGO   7698   4
                      7839   1
        40  BOSTON    7698   2
                      7902   1

  • I've copied my itunes library onto an external hard drive.  Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!!

    I've copied my itunes library onto an external hard drive.  Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!!  I just want a back up - using a work PC and don't want others accessing my songs.  Hope someone can help.  Thanks!

    I see. To get a better idea of what is being stored where please download and run the script iTunesInfo which should output something like this:
    I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>.  It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
    tt2

  • Is there any way to use Control Break in a SQL Query

    Hi,
    Is there any way to use a control break on Dept column in a SQL query to have a Output-2 instead of Output-1.
    Is there any way to modify the SQL query.
    SQL
    select dept, loc, count(*)
      from dept
    group by dept, locOutput-1
      Dept      Loc       Count(*)
      10         AA        1
      10         BB        2
      10         CC        2
      20         AA        2
      20         BB        2Output-2
      Dept      Loc       Count(*)
      10         AA        1
                 BB        2
                 CC        2
      20         AA        2
                 BB        2Thanks,
    Deepak

    DeepakJ wrote:
    Hi,
    Is there any way to use a control break on Dept column in a SQL query to have a Output-2 instead of Output-1.
    Is there any way to modify the SQL query.
    SQL
    select dept, loc, count(*)
    from dept
    group by dept, locOutput-1
    Dept      Loc       Count(*)
    10         AA        1
    10         BB        2
    10         CC        2
    20         AA        2
    20         BB        2Output-2
    Dept      Loc       Count(*)
    10         AA        1
    BB        2
    CC        2
    20         AA        2
    BB        2
    Yes, using the <tt>lag</tt> analytic function and specified ordering of the data:
    select
        nullif(d.deptno, lag(d.deptno) over (order by d.deptno, d.loc, e.mgr nulls first)) deptno
      , nullif(d.loc, lag(d.loc) over (order by d.deptno, d.loc, e.mgr nulls first)) loc
      , e.mgr
      , count(*) n
    from
        dept d
          join emp e
            on d.deptno = e.deptno
    group by
        d.deptno
      , d.loc
      , e.mgr
    order by
        d.deptno
      , d.loc
      , e.mgr nulls first;
    DEPTNO  LOC       MGR   N
        10  NEW YORK         1
                      7782   1
                      7839   1
        20  DALLAS    7566   2
                      7788   1
                      7839   1
        30  CHICAGO   7698   4
                      7839   1
        40  BOSTON    7698   2
                      7902   1

Maybe you are looking for

  • AD/OD Golden Triangle problem

    Hello everyone. I am having a weird problem with my AD/OD integration, let me give you some background on what is going on. I have a DC running windows 2003, I installed a new version of 10.5.6 server on a brand new Xserve. Initially I installed the

  • Hi frnds i want to help in servlet,java bean and JSP

    hi friends i'm right now in M.SC(IT) and i want to do project in SERVLET,,JAVA BEANS and JSP , so pls give me a title about that NOTE: I develop a project in group(2 persons there) my email id is : [email protected] , [email protected] , [email prote

  • Quicktime works in IE7, but not in Firefox 2

    I made Firefox 2 my default browser, and I know I have the most up-to-date Quicktime, but I don't know how to make Firefox 2 have a Quicktime plug-in. When I view a page that is supposed to have sound, i get a message that says to click to download r

  • Normal Correction flow & Transport of copies

    Hi, I am performing following steps for Normal Correction. But when I first time schedule the imoprt job, nothing is moved to Quality system. u2022     Action u2018Set to In developmentu2019. Status changes to u2018In Developmentu2019. u2022     Perf

  • I ran a free trial of Adobe Creative 5.5 how do I delete expiry message?

    I ran a free trial of Adobe Creative 5.5 do not wish to purchase can not delete the expiry messate and it is blocking all my other Abobe programmes so now I can't use any of them? I have lots of different Adobe loaded which I want to keep and not sur