How to make htm-file for simple toolbar command?

Hi
I am actually tryin to make my own toolbar with commands for Adobe Contribute CS5. A very nice companion for DW sites for endusers to edit the site.
Creatin toolbars for Contribute and Dreamweaver is the same thats why writig here.
I have managed to make a toolbar and managed to copy existing commands, like browsing backward and browsing forward, in it, but I have not been able to make my own commands  because I have not been able to figure out how to write the correct javascript into the header of the htm-file.
I have a set of small predefined html-tables, 15 of them, that user can copypaste into his template generated page, when editing, in order to have some layout order without knowing much of editing with Contribute editor.
Now, I desperately want to have 15 descriptive buttons in my own toolbar appear when in editing mode. User can choose and click the one he needs, a title1-unit, a title2 unit, a 1-column text unit, 2-column text unit etc. The correctly formatted table enhanced with css-properties appear there where the cursor was positioned. No more copying from one page and pasting to another - much much better this way!
All I need is htm-file for each of those 15 units. I have not been able to find an example that I could modify.
Can anyone help. A button (a command) klicked on a toolbar should position the htmltable there where the cursor is - nothing else.
Htm-files should be positioned here, I think:
C:\Program Files\Adobe\Adobe Contribute CS5\App\Configuration\Toolbars\MM
Or is C:\Program Files\Adobe\Adobe Contribute CS5\App\Configuration\Objects\ better?
Eagerly waiting an answer,
Kari
Here is an example of a 1-column unit. All 15 of my units are like this.
<table border="0" cellpadding="0" cellspacing="0" class="unit1 spacebelow" name="text_1col">
     <tr>
          <td class="txttd unit_pad1_left unit_pad1_right bkgr_check3">
               <p>Text here</p>
          </td>
          </tr>
</table>

This Script works here. Get you the error, when you save or checks the syntax?
When you use in AppleScript the entry with administrator privileges, is sudo optional. This says only, if everyone can use the sudo command inside of the 5 minutes limit without to write the password again or not.
The Syntax do shell script "sudo chmod 755 "private/var/spool/cups" password "***" doesn´t work, because you need the entry with administrator privileges for the execution as privileged user.

Similar Messages

  • How to make jar file for this compilation method ?

    can any one tell me how to make jar file for this compilation
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJava
    *this is a compile code:-*
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    *and this is a run code:-*
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJavanow how make JAR file ?

    Assuming IEInJava only uses classes inside the jdic jar, this is one way. D:\java\browser\IEInJava> jar cf yourjar.jar IEInJava.classThen to run it you would use D:\java\browser\IEInJava> java -cp jdic.jar;yourjar.jar IEInJavaAnother way would use the jar manifest file to specify the Main-Class and Class-Path.

  • Can we make jar file for simple j2se application

    Hi..Can we make a jar file for simple j2se application so that it can be executed on any system like .exe file...

    Read the JAR files section in Sun's Java tutorial.

  • How to make installer file for windows?

    Hi,
    I want to make a installer file for auto installing the ssl certificate. My folder contains following files:
    1. importpfx.exe
    2. Main.java
    3. Main.class
    4. TestCertificate.p12
    I want to bundle above files into a single setup file.How should it be done?
    Thanks in Advance

    If you want to make an installer file for windows, i think below link is suitable for your requirement. I never tried this approach of creating the installer file of java applications. But while reading the description of it, i thought that it may suits to your requirement.
    Here is the link : http://www.ej-technologies.com/products/install4j/overview.html
    Description : install4j is a powerful multi-platform Java installer builder that generates native installers and application launchers for Java applications. install4j excels in its ease of use, its extensive platform support and its powerful screen and action system
    Thanks,
    Uday.

  • CS3, Encore; How to make a file for a mediaplayer

    Hallo there,
    How can I make a file in Encore CS3 that is readeble in a mediaplayer like a Popcorn.
    I know how to build a Blu-ray ofcourse, but I want to deliver a file to my customer for his mediaplayer.
    Can someone help me, because Adobe helpline in Holland does not cover Adobe CS3 anymore.
    I hope to hear from someone out there on this planet
    Greetings,
    Bert

    From Encore nothing that results in a single file.
    2 options.
    1) Build to a folder and play the DVD folder.  The method varies on the mediaplayer.  For Windows Media Player on XP, I just right click the first .ifo file in the VIDEO_TS folder and "Play."
    2) From Encore, Export to Flash.  The produces a web page (and folders) that can be played locally through a browser.

  • How to make .jar file for a multiple class program

    I have a code for a chat room that contains two folders , one for Server and one for Client
    What I need is to create a jar file for the server and a jar file for the clients
    but here the first problem , I have a file that named (SocketMessengerConstants.class) that is located outside the two folders and is being read by the two projects .
    I mean the server uses it while running and the client uses it too .
    the second problem is : I don't know how to create a jar file at all !
    please tell me how to do it in detail
    Thank you

    ChuckBing wrote:[Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
    I tried to read this tutorials before I come here but I couldn't understand it
    can you please tell me a specific steps to follow instead of the explaining .. because I understand the explanation but I can't apply it

  • How to make actual file for TV Shows on ipod

    I have a 30g ipod, and I would like to know if it is possible to make a actual file for tv shows. When you go under video on the ipod, there is one for music videos, and one for movies, but when you set the videos to tv shows, it only shows up under "recently added". Any suggestions??

    On a Mac- Lostify(which I use and works great) or one of the other meta taggers designed around Atomic parsely.
    On Windows-no idea.

  • How to make a script for a terminal command

    I need to find instructions on how to create a script to automatically run the following Terminal command;
    Sudo chmod 755 /private/var/spool/cups. It will also need to include the admin password as you will be prompted to enter it after the command line is entered. Apparently the only way to get Quark 7 to print adobe pdf's is to open a terminal window and type the command every time the machine is rebooted. This is a temporary fix and I do not want the MAC users to have to type the command.
    Thanks
    Sal

    This Script works here. Get you the error, when you save or checks the syntax?
    When you use in AppleScript the entry with administrator privileges, is sudo optional. This says only, if everyone can use the sudo command inside of the 5 minutes limit without to write the password again or not.
    The Syntax do shell script "sudo chmod 755 "private/var/spool/cups" password "***" doesn´t work, because you need the entry with administrator privileges for the execution as privileged user.

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • How to make pdf file auto open with adobe reader after downloaded

    how to make pdf file auto open with adobe reader after downloaded

    I note from your system details that you have the plugin for adobe pdf s so I would have expected the files should open in firefox '''without''' you needing to explicitly download them.
    Once the files are open in firefox, you will also get the option to save them permanently to a location on your computer. If you wish I suppose you could set the file type pdf to be associated with and be opened by firefox instead of with the Adobe Acrobat Reader, but that would just seem to be an additional complexity.

  • How to make audio file to use as ringtone on iPhone 5

    Does anyone know how to make a file and then make it a ringtone?

    Make sure iTunes prefs > Import settings is set to AAC.
    In iTunes, find the song you want and note the start/stop time you want the ring tone.
    Right click - get info, click the Options tab and set the start/stop times as above. (Note a 30 second max for ringtones)
    Right click - Create AAC version. This creates a new file.
    Drag this new file from the iTunes window to the desktop.
    Delete the new file from iTunes and also select Delete from hard drive.
    On the desktop, rename the file to what_ever_you_want.m4r (first part you can change to whatever you want & change the extension to .m4r).
    Drag the file back to the iTunes library at top left.
    Make sure iTunes prefs > General has Tones ticked.

  • Need how to create DTD file  for database elements

    can any one write the DTD file for below query?
    SELECT TRX_NUMBER,
    INVOICE_CURRENCY_CODE,
    CTT_TYPE_NAME ,
    RAC_BILL_TO_CUSTOMER_NAME ,
    FROM APPS.RA_CUSTOMER_TRX_PARTIAL_V V
    DTD file structure For below query(data from two tables) also?
    SELECT TRX_NUMBER,
    INVOICE_CURRENCY_CODE,
    CTT_TYPE_NAME ,
    RAC_BILL_TO_CUSTOMER_NAME ,
    V.RAT_TERM_NAME
    FROM APPS.RA_CUSTOMER_TRX_PARTIAL_V V,APPS.RA_CUST_TRX_TYPES_ALL H
    WHERE V.CUST_TRX_TYPE_ID=H.CUST_TRX_TYPE_ID;
    DTD file structure For below program (Data should be come in that loop formate (1st c1 loop then 2nd loop details then 1st loop)
    DECLARE
    cursor c1 is SELECT TRX_NUMBER,
    CUSTOMER_TRX_ID,
    INVOICE_CURRENCY_CODE,
    CTT_TYPE_NAME ,
    RAC_BILL_TO_CUSTOMER_NAME ,
    V.RAT_TERM_NAME
    FROM APPS.RA_CUSTOMER_TRX_PARTIAL_V V,APPS.RA_CUST_TRX_TYPES_ALL H
    WHERE V.CUST_TRX_TYPE_ID=H.CUST_TRX_TYPE_ID;
    cursor c2(P_CUSTOMER_TRX_ID number) is SELECT CL.INTERFACE_LINE_ATTRIBUTE1 ,
    CL.CUSTOMER_TRX_LINE_ID,
    MTL.SEGMENT1,
    MTL.DESCRIPTION
    FROM APPS.RA_CUSTOMER_TRX_LINES_V CL,
    APPS.MTL_SYSTEM_ITEMS_B MTL
    WHERE MTL.INVENTORY_ITEM_ID(+)=CL.INVENTORY_ITEM_ID
    AND MTL.ORGANIZATION_ID(+) = CL.WAREHOUSE_ID
    and cl.CUSTOMER_TRX_ID=P_CUSTOMER_TRX_ID
    BEGIN
    FOR I IN C1 LOOP
    DBMS_OUTPUT.PUT_LINE(I.TRX_NUMBER||I.CUSTOMER_TRX_ID||INVOICE_CURRENCY_CODE);
    FOR J IN C1(I.CUSTOMER_TRX_ID) LOOP
    DBMS_OUTPUT.PUT_LINE(J.INTERFACE_LINE_ATTRIBUTE1 ||J.CUSTOMER_TRX_LINE_ID||J.SEGMENT1);
    END LOOP;
    DBMS_OUTPUT.PUT_LINE(I.RAC_BILL_TO_CUSTOMER_NAME);
    END LOOP;
    END;

    how to create batch file for windows application ??
    I hava 2 jar files
         1) b.jar (not have main class)
         2) a.jar (have main class and dependent on b.jar)
    so how i call main class of a.jar     ??Just set the main class in the manifest of a.jar and make sure the manifest knows about b.jar
    http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

  • Help! How to create Jar file for a packaged class?

    Hi!
    I am new in jar complexities. I made a swing frame that just prompts a JOptionPane when executed. I accomplished the same using jar without packaging my class SwingTest.
    But when i package it, it doesn't run. Can any one tell me how to make jar file of packaged classes and include images in the jar files too!
    Really Thanx!

    Call the Jar from the commandline to see the exceptions thrown.
    java -jar <jarFileName> <className>

  • How to generate xml-file for SAP Fiori (UI add-on) with Solution Manager 7.0.1?

    Hello Guru,
    could you please help with my issue with Fiori Installation.
    We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14)
    Gateway component (SAP GW CORE 200 SP10) was installed without any problems.
    But I need to install UI-add-on (NW UI Extensions v1.0) and when I try to install it via SAINT, transaction said me that I need to generate xml-file for it (as in General notes for UI add-on mentioned).
    But I have Solution Manager 7.0.1 and in MOPZ for this version I do not have option  "install Add-on" as it written in Guide for ui add-on installation.
    Could you please help me with advice how to generate xml-file for UI add-on installation on SolMan v.7.0.1?
    If where is no way, but only to upgrade Solution Manager, maybe somebody could give me xml-file for your system (for NW 731) and I will change it to my needs, I will be very grateful!
    Thanks in advance for any help!!!
    Bets regards,
    Natalia.

    Hello Guru,
    could you please help with my issue with Fiori Installation.
    We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14)
    Gateway component (SAP GW CORE 200 SP10) was installed without any problems.
    But I need to install UI-add-on (NW UI Extensions v1.0) and when I try to install it via SAINT, transaction said me that I need to generate xml-file for it (as in General notes for UI add-on mentioned).
    But I have Solution Manager 7.0.1 and in MOPZ for this version I do not have option  "install Add-on" as it written in Guide for ui add-on installation.
    Could you please help me with advice how to generate xml-file for UI add-on installation on SolMan v.7.0.1?
    If where is no way, but only to upgrade Solution Manager, maybe somebody could give me xml-file for your system (for NW 731) and I will change it to my needs, I will be very grateful!
    Thanks in advance for any help!!!
    Bets regards,
    Natalia.

  • How to create a password file for executing psadmin command to deploy portl

    how to create a password file for executing psadmin command to deploy portlet

    What you have done is perfectly right. The password file doesn't have anything else apart from the password
    for example in your case
    $echo password > /tmp/password.txt
    However I remember that in windows install, the Application server used to wait for a user's input when a deploy was to be done for the first time. So Can you read the Release notes or the Readme file which has come with windows.
    The solution was,
    manually use asadmin command of application server to deploy some war (any webapp will do), at this time, a question will be prompted to accept a certificate. once this is done, deploy portlet should work fine!!!
    HTH

Maybe you are looking for

  • How can i filter trough the text in a InfoObject

    Hi all, i need to filter in 0EQUIPMENT some advices that has   VEH but in the denomination, the text, now how can i do this?

  • Truncate in a stored procedure or trigger?

    hello all, is it possible to use 'truncate table' in trigger or stored procedure ? I can do a delete, but when i use truncate table <mytable>, when i compile the trigger, i get an error, the word 'TABLE' seems forbidden. thanks for help

  • Strawman Feature Factoring List - Feedback requested

    OK - as promised, here's the strawman feature list for Oracle Database XE. Please send feedback on 1) Anything you think is missing from the list 2) Anything that has a no against it that you simply cannot live without Last but not least, this is jus

  • Valuation of material

    hi, I want to value my RM at purchase cost. There are 2 purchases for same material for Rs. 10, Rs. 15 for quantity  1000, 1100. When we issue the same for consumption against process order as follows from 1st lot 1000        2nd lot 750 then at what

  • ORACLE Crystal Report Error

    Hi All i am using Weakly Bound REF CURSOR to load data to crystal report (getting data from SP) when i am adding SP to the report it will prompt a massage as follows ORA-00000: normal, successful completion Help me to over come this