Setting HTML text with applescript

I am trying to set this text in apple script but I keep getting the error message "Expected expression ) but found <".  Here is the code:
          set theText to (<title>ArticleTitle</title> & return & <dc:creator>admin</dc:creator> & return & <content:encoded><![CDATA[ArticleSource & return & return & ArticleDescription & <a href="ArticleURL">More</a> & </content:encoded> & return <excerpt:encoded><![CDATA[]]></excerpt:encoded> & return <wp:post_date>ArticleDate</wp:post_date>)

AppleScript text strings are enclosed in quotes, and the concatenation character is the ampersand &.  In addition, quotes need to be escaped with the backslash character (you can also use the string constant quote, which doesn't need to be escaped), and of course a backslash character also needs to be escaped.
If I understood your snippet, it would be something like:
set theText to "<title>" & ArticleTitle & "</title>" & return & "<dc:creator>admin</dc:creator>" & return & "<content:encoded><![CDATA[" & ArticleSource & return & return & ArticleDescription & "<a href=\"" & ArticleURL & "\">More</a> & </content:encoded>" & return & "<excerpt:encoded><![CDATA[]]></excerpt:encoded>" & return & "<wp:post_date>" & ArticleDate & "</wp:post_date>"

Similar Messages

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • HTML text with ToolTipManager.createToolTip

    I need to use HML text with the ToolTipManager class. Is there a way this can be done, possibly using the toolTipClass?
    Thanks!

    Yes, but ToolTip can be extended to work with html: http://flexexamples.blogspot.com/2009/07/flex-html-tooltip-component.html.
    However, this doesn't work for ToolTipManager.createToolTip().

  • How to Display Html Text with Image

    HI Frens,
    I am getting some html text from a source, Later i want to
    display that data, but it may happened that it has some images in
    it. Currently I am using text area to display it.
    Now My question is if there is any image will it show, as we
    can see it in our mails? if Not, Which component I should use for
    this?
    I also want that I need to select some file from, How can i
    get open dialog box here?
    Thks in Advance for replies frens:
    Ashish Mishra

    Hi Ashish,
    If I have understood your requirement properly, u want to
    display html text on a flex application.
    I think there its better if you use the html component to
    display the text. I have a sample code which will give you a
    direction to think on.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    creationComplete="initApp( )">
    <mx:Script>
    <![CDATA[
    public function initApp( ):void
    var initHtml:String = "<html><head> \
    <title='Page Example'/> \
    <body bgcolor='#ccddee'><h1>Page
    Example</h1> \
    <p>This is a complete <b>HTML</b> \
    page as a
    <em>string</em>.</p></html></body>";
    this.html.htmlText = initHtml;
    ]]>
    </mx:Script>
    <mx:HTML id="html" width="100%" height="100%" />
    </mx:Application>
    Also do you want a file open dialog box??

  • Setting html content with setContent() does never show images

    I've an application set sets dynamically generated html-content in a webview node by using the webengine.setContent() method. This generated html content uses image-tags.
    Here's the problem: the image is not displayed. I tried all variations (absolute url like "http://localhost/c:/test.png" or "file://c:/test.png", relative urls like "test.png" with png in jar-file).
    Anyone out there who has a workaround for me? I appreciate any comment.

    one non-working apple <img src="apple.png"> You loaded the page content with loadcontent, then inside the page content provided a relative url. This is likely an error.
    The question is, what is this url relative to?
    The answer is either likely undefined as no protocol was used to load the page content and so it can't be determined how to load the relative url resource.
    and two non-working peaches <img src="http://localhost/c:/peaches.png">
    You attempted to load content using the http protocol server on the localhost, but you have no such server on the host, so this cannot work.
    and a working remote image url <img src="http://docs.oracle.com/javafx/javafx/images/javafx-documentation.png">
    This works because you fully specified how to load the content by providing the protocol and valid resource reference.
    OK, so the question remains how do you images from the local drive?
    There are three options for this in the following code.
    package org.jewelsea.examples.webviewlocal;
    import javafx.application.Application;
    import javafx.beans.value.*;
    import javafx.scene.Scene;
    import javafx.scene.layout.FlowPane;
    import javafx.scene.web.WebView;
    import javafx.stage.Stage;
    /** Example of a webview loading resources from the file system. */
    public class WebViewLocal extends Application {
      public static void main(String[] args) throws Exception {
    //    URL.setURLStreamHandlerFactory(new HandlerFactory());
        launch(args);
      public void start(final Stage stage) throws Exception {
        final FlowPane layout = new FlowPane();
        WebView webView = new WebView();
        webView.getEngine().load("file:///C:\\dev\\gettingstarted\\timeforgotten.html");
    //    webView.getEngine().load("jar:file:///C:\\dev\\javafx\\JavaFXidea\\out\\artifacts\\JavaFXidea_jar\\JavaFXidea.jar!/org/jewelsea/examples/webviewlocal/timeforgotten.html");
    //    webView.getEngine().load("resource:///org/jewelsea/examples/webviewlocal/timeforgotten.html");
        webView.getEngine().getLoadWorker().exceptionProperty().addListener(new ChangeListener<Throwable>() {
          @Override public void changed(ObservableValue<? extends Throwable> observableValue, Throwable oldThrowable, Throwable newThrowable) {
            System.out.println("Load exception: " + newThrowable);
        // layout the scene.
        layout.getChildren().addAll(webView);
        Scene scene = new Scene(layout, 1000, 600);
        webView.prefWidthProperty().bind(scene.widthProperty());
        webView.prefHeightProperty().bind(scene.heightProperty());
        stage.setScene(scene);
        stage.show();
    }which loads the following html file:
    <html>
    <head>
      <style type="text/css">p { color: sienna; font-size: 20px; text-align: center; }</style>
    </head>
    <body bgcolor="cornsilk">
    <p><em>
        <br/>
        On either side the river lie,<br/>
        Long fields of barley and of rye,<br/>
        And through the fields a road runs by,<br/>
        To many towered Camelot.
    </em></p>
    <p><img src="camelot.jpg"/></p>
    </body>
    </html>If you want to test this example the camelot.jpg image is downloadable from http://www.timelessmyths.com/arthurian/gallery/camelot.jpg.
    Option 1: The file:// protocol for lookup from the filesystem.
    This is the most straight-forward as it is just based on standard html layout in the filesystem - just place your html and it's relative referenced images somewhere in your filesystem in locations relative to each other - if your browser loads it properly, then your webengine will to if you give it the right file:// path.
    In the case of file:///C:\\dev\\gettingstarted\\timeforgotten.html, timeforgotten.html is placed in c:\dev\gettingstarted and camelot.jpg image is placed in the same directory.
    Option 2: The jar:file:// protocol for lookup from a jar hosted on the filesystem.
    This makes use of the http://docs.oracle.com/javase/7/docs/api/java/net/JarURLConnection.html to find your resources.
    If your application resources are packaged in a jar file (could be the same jar file as your main application class) then you can reference the jar file through the file protocol, then pick out the resources packaged in the jar file via their relative paths.
    Option 3: The resource:// protocol for lookup based on the classpath.
    This type of resource lookup is the one most Java programmers are familiar with - a classloader is used to load a resource. The pattern is widely used in web application frameworks on the server. But usually the means to do this is via a classloader.getResource() call, not via a URL.
    Java does not, by default, have a URL protocol handler for looking up resources on the classpath, so if you want to do this, it is necessary to create your own protocol and install it.
    The installation function is the commented out line: // URL.setURLStreamHandlerFactory(new HandlerFactory());
    It is a system wide call for the VM and should be called (just once) before any URL Connections are established.
    To get this to work I used a resource handler from http://www.arakhne.org/arakhneVmutils/index.html which included the following classes:
      java.org.arakhne.vmutil.resource.Handler
      java.org.arakhne.vmutil.resource.HandlerFactory
      java.org.arakhne.vmutil.resource.URLConnection
      java.org.arakhne.vmutil.ClassLoaderFinder
      java.org.arakhne.vmutil.Resources
      java.org.arakhne.vmutil.ResourceNotFoundException
      java.org.arakhne.vmutil.URISchemeType
      java.org.arakhne.vmutil.URLHandlerUtilDetails on how all this works are in http://java.sun.com/developer/onlineTraining/protocolhandlers/ which defines "A New Era for Java Protocol Handlers" by defining a URL handler extension mechanism which is hardly ever used.
    As a final note to my way overly long forum post, when the WebEngine doesn't process the urls sometimes you can get info on what went wrong via the monitoring the loadWorker's exception property, but sometimes I was able to get more complete stack traces by trying to open a connection on a URL to see if I had got the URL correct - for example:
        URL url = new URL("jar:file:///C:\\dev\\javafx\\JavaFXidea\\out\\artifacts\\JavaFXidea_jar!/org/jewelsea/examples/webviewlocal/timeforgotten.html");
        url.openConnection();Anyway, just using the file:// protocol in webEngine.load() will probably accomplish what you need.
    Note that if it is a webstart or browser embedded app, then you'll need to sign it if you want to access the local file system.

  • How to set html text in JTextArea ? Need to resolve urgent...

    Hi,
    I need to display text in html format in JTextArea. But i did not find any property related to it.
    Is it possible to do with JTextArea. if not then how to acheive this.
    Thank you

    Hi camickr,
    I am not so good with applets, In this case I tried to find related properties of JTextArea and i did not get any one related to setting text format to html. I did googling for that and got thing which were some what complex.So i asked it in forum with simple words and an urgent label. I use urgent with only those topics, which i could not resolve within a time frame.
    Sorry I would avoid such thing further.
    Your suggestion are always helpfull, so I will follow this one aswell.
    Thank you.

  • Set html text doesn't display all numbers

    Ok, so that one is a strange.
    I was playing around with the scroll event on a rectangle (not on Stage) and wanted to display the scroll value
    So code looks like this :
    Symbol.bindElementAction(compId, symbolName, "${_Rectangle}", "scroll", function(sym, e) {
    var ScrollDuHaut = e.currentTarget.scrollTop;
    console.log(ScrollDuHaut);
    sym.$("Text").html(ScrollDuHaut);
    But once in a while, the Text element doesn't show up, although just the numbers changed…
    Any clue is welcome : Weird display of scroll

    Hi,
    I tested your files using Firefox 20 (beta), Opera 12.5 and Internet Explorer 10. It runs fine.
    Only webkit browsers fail to return correctly sym.$("Text").html()

  • Flex Mobile 4.6 introduces Stage Text - how do you render HTML text with it?

    I have a little chat component in a Flex Mobile app that I just upgraded to SDK 4.6.  The chat component has a text area displaying messages and they are HTML formatted via the following:
    StyleableTextField(textArea).htmlText += myHTMLText;
    Worked in SDK 4.5 but StyleableTextField is not a part of the new Stage Text framework introduced in SDK 4.6.
    How do I HTML format the messages in my chat text area now?

    Thanks much for your response.
    Hmmm...  That appears to work but also causes a runtime exception where there was none before the 4.6 upgrade.  It occurs when I autoscroll on receiving a new message in the chat, something that worked fine in 4.5.
    I guess I'm kind of wondering what the best practice is here.  Maybe I'm just doing this wrong altogether.  I'm finding it very difficult to implement probably one of the most basic features one would find in any collaborative app - something that was very easy in Flex 3 - the chat pane.  I've had one functioning fine for about 3 years.  Not so much in Flex mobile.
    Chat is very simple functionality.  When you receive a new message from afar...
    1.  add it to a TextArea with some nice formatting
    2.  auto scroll far enough so the user can see the new message in its entirety. 
    Nothing difficult at all.
    Why are these two things difficult to find in the TextArea in Flex mobile?  It almost seems as though it's something we're not supposed to be doing? 
    The answer here seems to be don't use Stage Text.  Revert to an older TextArea skin.  Why?  What text area doesn't need formatting as an option?  What text area doesn't need to be auto scrolled here and there?  Or am I just going about this wrong?  Maybe using the wrong components?
    I guess for now I can revert to 4.5 skin, but now the code I used to auto scroll on receiving a new message throws a null pointer exception.  I've been using the valueCommit property to auto scroll, as follows:
    valueCommit="textArea.scroller.verticalScrollBar.value = textArea.scroller.verticalScrollBar.maximum"
    Haven't had a problem prevously.  But this now throws:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at com.components::ChatWindow/__textArea_valueCommit()
    What's the best practice to accomplish this and also to be able to take advantage of the latest and greatest?

  • Can I set html input with digital

    If I use html in iphone,Can I set the "input=text" only digital allowed,just like the keyboard number pad! Thanks!

    Hi Fred,
    The answer to both questions is yes. In MAX, in the Channel Configuration Tab of your cFP-AI-100, you can specify your range to be one of a number of settings for current or voltage. To configure separate channels, simply select the channel and then select the range. See the attached screenshot for more details.
    Regards,
    Sean C.
    Attachments:
    FP Channel Configuration.bmp ‏2305 KB

  • Using HTML text with an embedded font in Flex 4

    I have spent a day searching the interwebs and have not found a working example of how to use an embedded font with html formatting.
    Anybody know if it can even be done??

    Should be doable, but all fonts used in the html have to be embedded, and
    one of the fonts should be specified as the fontFamily for the component.

  • Change external html text with embeded flash

    I want to change some text that isn't inside the flash movie,
    but using flash.
    i want to change "jimmy" to "james"
    <span id="lblrank" class="WhiteText">jimmy</span>
    any ideas?

    is there some way I could use an "expression" to subtract the
    unwanted text strings from the info being passed by the variables?
    If so, does anyone have an example of the context I would used to
    subtract 2 strings from that info...
    this string of html tags appears before the passed input text
    TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">
    and this appears affter it...
    </FONT></P></TEXTFORMAT>
    it's always the same.

  • KNOWN ISSUE: HTML Messages with plain-text signatures

    To get around the EAS security policy issue, I'm having non-sensitive emails from work forwarded to a GMail account from a redirect set up in our corporate OWA. The redirect seems to send the messages to GMail without any issues; formatting is 100% intact, and in the GMail web client as well as Thunderbird, Entourage, etc., HTML emails with plain-text signature attachments show the plain-text message inline with the rest of the formatted message. All of our internal mailing lists have these plain text attachments that say where the message was coming from (Message sent from [email protected] by listserv). These get affixed to every message, both plain text and HTML.
    Here's my problem: The Pre's email client handles both plain text and HTML messages beautifully. But, when I receive a message from a mailing list with a plain text attachment, the HTML portion disappears, and all I see is the signature.
    Is there any way to make the Pre show the HTML INSTEAD of the plain text? I can live without the sig, I know where the messages are coming from already. But if I can't read the message, it's useless. I've only begun researching this and so far Google hasn't been much help, nor has searching these or other forums. Any help would be appreciated.
    Palm Pre P100EWW
    Post relates to: Pre p100eww (Sprint)
    Message Edited by HowellBP on 06-16-2009 04:13 PM

    1-51626418773
    I just got off the phone with Palm Support. Apparently this is a bug in the mail application. It currently does not support parsing both HTML and plain text in the same message. It will read EITHER plain text OR HTML, but not both at the same time. This will be fixed in a future update.

  • Converting an html file with jsp contents to a text file for download

    Hi guys,
    I'm currently having troubles with downloading a .jsp file to a doc file.
    The thing is i am able to download the desired file and make it as a .doc but when i open it with ms word 2007 i can only see the content of the html. The dynamic content generated from the database and reflected on the .jsp page that i suppose to download and convert to .doc file doesn't show.. I hope someone could help me... My servlet code is this:
    public class FileDownload extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    try
    String originalFileName="localhost:8080//Appsdev//reportresults1.jsp";
    File f=new File(originalFileName);
    System.out.println("THE 1st f:"+f);
              response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment; filename=tryreport.doc;");
    response.setHeader("Cache-Control", "max-age=0");
    byte[] buf = new byte[1024];
    FileInputStream inStream = new FileInputStream(f);
    OutputStream outStream = response.getOutputStream();
    int sizeRead = 0;
    int size = 0;
    while ((sizeRead = inStream.read(buf, 0, buf.length)) != -1)
    outStream.write(buf, 0, sizeRead);
    size += sizeRead;
    inStream.close();
    outStream.close();
    catch(Exception e)
    e.printStackTrace();
    }

    Hi BalusC,
    sorry for the double post i'm newly registered and it's my first post before i was just reading other's threads.
    well last night while i was reading and researching for a solution a came across this.
    <%@ page language="java" contentType="application/msword"%> naturally for my other jsp pages, the contentType is text/html so when the page loads it display in the browser. But with application/msword when i direct the page to the jsp page that i want to download and set the contentType with that...it prompts a window like when you're downloading the one with the <open with and save as>. It works fine to, i was able to see the report that i have to download and it is formatted very much like what i am seeing on the browser. My only concern now is the file i am able to download is a .jsp file how could i change that to a .doc file and be able to see the same content like the one with the .jsp file that i have right now.... any help or examples would be greatly appreciated. I didn't use the servlet anymore because even though i am able to download there is no content the html parts only but iam able to change the extension for the file...thanks again! ^ ^

  • Replace text in applescript with applescript.

    I'm trying to start a script that changes part of another script as it needs to alter slightly each day,
    I need to replace this line of the script that I am holding in the resources (so never changes)
    choose from list ItemTypesList with prompt "Choose Item" default items {"ER"}
    I need to change the part that is ER to the ItemType
    choose from list ItemTypesList with prompt "Choose Item" default items {"ItemType"}
    Then save in a different location with overwriting?
    I managed to get so far but having difficulty get it to find and replace and then save.
    the find and replace is borrowed from another script I found (but for text editor)
    Many Thanks
    Matt
    set theScript to (path to me)'s POSIX path & "Contents/Resources/EverythingCropProcess.scpt"
    set saveScript to (path to home folder)'s POSIX path & "Workflow/EverythingCropProcess.scpt"
    log theScript
    set ItemTypesList to {"ER", "ER multi stud", "NeckWear", "Ring", "WristWear"}
    choose from list ItemTypesList with prompt "What are you mostly working on today?"
    if the result is false then
              return
    else
              set ItemType to result as text
      log ItemType
    end if
    replaceText("choose from list ItemTypesList with prompt \"Choose Item\" default items {\"ER\"}", "choose from list ItemTypesList with prompt \"Choose Item\" default items {\"" & ItemType & "\"}", theScript)
    on replaceText(search_string, replacement_text, this_document)
              tell application "AppleScript Editor"
      open this_document
                        set AppleScript's text item delimiters to the search_string
                        set this_text to the text of the front document as list
                        set AppleScript's text item delimiters to the replacement_text
                        set the text of the front document to (this_text as string)
      save saveScript
              end tell
    end replaceText

    I think I might be getting a little confused
    This is the scipt to run at login (as an app)
    set scriptToModify to load script ((path to me)'s POSIX path & "Contents/Resources/Scripts/defaultScript.scpt")
    set scriptToModify's ItemTypesList to {"ER", "ER multi stud", "NeckWear", "Ring", "WristWear"}
    choose from list ItemTypesList with prompt "What are you mostly working on today?"
    store script scriptToModify in ((path to home folder)'s POSIX path & "Workflow") with replacing
    Then this is the script held in the bundle
    set ItemTypesList to {"ER", "ER multi stud", "NeckWear", "Ring", "WristWear"}
    choose from list ItemTypesList with prompt "Choose Item" default items {"XXXXX"}
    --the XXXXX part above is the area i hope to change.
    if the result is false then
              return
    else
              set ItemType to result as text
              if ItemType is equal to "ER" then
                        set BorderIncrease to 40
              else if ItemType is equal to "ER multi stud" then
                        set BorderIncrease to 20
              else if ItemType is equal to "NeckWear" then
                        set BorderIncrease to 10
              else if ItemType is equal to "Ring" then
                        set BorderIncrease to 40
              else if ItemType is equal to "WristWear" then
                        set BorderIncrease to 20
              end if
    end if

  • To add meta tags, you open your published .html pages with TextEdit or any other text editor and modify as required. You have to do redo it each time you republish. Ihow do I do this? I need step by step instructions

    To add meta tags, you open your published .html pages with TextEdit or any other text editor and modify as required. You have to do redo it each time you republish. I need step by step instructions on how to accomplish this  please .

    Rage Sitemap Automator and iWeb SEO Tool are two different applications.
    Use SEO Tool to add the title tag and meta description. These need to be added to the html file for every page of your website. SEO Tool stores all these so that when you republish you only need to add tags to any new pages and click the re-apply button to refresh the existing ones.
    Once you have added. refreshe the tags with iWeb SEO Tool and uploaded the files with your FTP application, then open the site in Sitemap Automator and create and upload a new sitemap.
    Once you have set up accounts with Google, Yahoo and Bing, verified your site with each and submitted a sitemap, on subsequent publishing Sitemap Automator will resubmit the sitemap with one button click. It will also notify Ask.com whch doesn't require an account since you can add your domain name to this URL to ping them...
    http://submissions.ask.com/ping?sitemap=http%3A//www.domain.com/sitemap.xml

Maybe you are looking for

  • Apple needs to fix it or give support to those that own their products

    I have been working all day to resolve that the new version of itunes doesn't recognize my Ipod nano g4.  I have re-re-tried all problem solving steps on ipod trouble shooting. Evidently many are in the same bind.  I did  read that the 10.1 itunes ha

  • Standard report like Supplier/Vendor Ledger in AP R-12?

    Dear All, Can anyone let me know standard report like Supplier/Vendor Ledger in AP R-12? regards, Abdul Hafeez

  • IMac display black when memory added

    My iMac had two 1gig sticks of memory. When Lion installed, I needed 4 gigs. When I put one 2 gig stick in (meaning I have 3 gigs total now), display works fine. When I add the second 2 gig stick and turn iMac on, computer is on, but display is black

  • Ap elevator solution

    Can you explain me some technics of ap installing in elevator for skyscrapers do you install ap on every floor, or you installing it in elevator mine also if cisco has ap for internal installation with two antennas please give me some explanation

  • Change Tooltip with Javascript

    i want to change the tooltip-text with javascript. is there a way to do that? i have a lot of checkboxes and want to change the caption AND tooltip with javascript from an array. it works fine with the caption-text thanks herbert