Pluginspage is not working in embed script in firefox 36 version. Actually wanna downlaod jre 1.8 . It was working on firefox 22 version. Please suggest

<pre><nowiki>function createEmbed(divID, context, locale, server,client)
var d = document.getElementById(divID);
d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+
'JAVA_CODEBASE="'+context+'" '+
'ARCHIVE="WebRAO.jar" '+
'NAME="WebRAOApplet" '+
'MAYSCRIPT="true" '+
'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+
'L="'+locale+'" ' +
'PinTimeout="'+server+'"'+
'ClientTimeout="'+client+'"'+
'separate_jvm="true"'+
'java_version="1.8.0_31" />';
}</nowiki></pre>
We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

There are some updates happening to [https://www.mozilla.org/en-US/plugincheck/]
However to further investigate I would suggest troubleshooting the installation of Java:
*[http://kb.mozillazine.org/Java#Java_Deployment_Toolkit_plugin]
*[https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems]
Or also checking with Mozillazine or stackoverflow.com for compatibility and development troubleshooting is a good place to also look.

Similar Messages

  • How can i remove my credit card from app store, the none option its not there and i don't Owen  nothing to apple, my last in app purchase was in clash of clans, please help!!! Because of that problem i cant update my apps! Plz help!!!!!

    How can i remove my credit card from app store, the none option its not there and i don't Owen  nothing to apple, my last in app purchase was in clash of clans, please help!!! Because of that problem i cant update my apps! Plz help!!!!!

    You've logged into your account and viewed your purchase history and there aren't any error messages shown (e.g. 'problem with a previous purchase'), and you haven't got any purchases due (e.g. pre-orders and/or subscriptions) : Why can’t I select None when I edit my Apple ID payment information ?

  • The css transform property is not working in the new firefox. I have used -moz-transfrom and it was working just before the last update.

    Here's the code that no longer works. The buttons scale down in all other browsers but stopped working after the latest firefox update.
    .bigButton:hover{
    -moz-transform: scale(.95) rotate(0deg) translate(0px, 0px) skew(0deg, 0deg);
    -webkit-transform: scale(.95) rotate(0deg) translate(0px, 0px) skew(0deg, 0deg);
    -o-transform: scale(.95) rotate(0deg) translate(0px, 0px) skew(0deg, 0deg);
    -ms-transform: scale(.95) rotate(0deg) translate(0px, 0px) skew(0deg, 0deg);
    transform: scale(.95) rotate(0deg) translate(0px, 0px) skew(0deg, 0deg);
    }

    For some reason, skew() was removed in Firefox 14. You need to replace it with skewX() and skewY(). See https://developer.mozilla.org/En/CSS/transform for the syntax.
    Edit: I wrote "for some reason" but what I should have said was "skew() is not in the standard, so it was removed, but I don't know why it was removed ''right now''."

  • TS1363 My ipod will not turn on at all.  When I connect it to the laptop by the USB, it does not recognize it at all.  What could possibly be the problem?  The Nano was working like 30 minutes ago.

    About 30 minutes ago, I was adding some music to the ipod Nano.  Everything was working fine.  Now, the ipod will not turn on at all.  When I connect it to the laptop with the USB, the computer does not even recognize it.  The screen has a fant image of the plug on it and it says connected.  I followed the procedures for disconnecting it when I was finished with it earlier.  Any idea what is going on here???
    Thanks

    It probably needs to be reset. The procedure is different for different Nano models: http://www.apple.com/support/ipodnano/assistant/itunes/

  • Why the real player download feature doesn't work with my 14.0.1 firefox? in the past (before update mozzila) it was working... now it doesn't. why?

    i had a previous version of mozzilla firefox and i updated. since then, the feature of the real player doesn't work. propably isn't compatible. although, with my internet explorer it works. i went to the settings of the real player and the only explorer it shows is Internet Explorer. The Mozzilla Firefox doesn't appear. What can i do? I unistalled and reinstalled many times the real player but it isn't its problem. help me please!

    See : https://addons.mozilla.org/en-US/firefox/blocked/i106
    [https://support.mozilla.org/en-US/kb/flash-113-doesnt-load-video-firefox
    Flash 11.3 doesn't load video in Firefox]
    thank you

  • I lost information recently on page I was working on for my website and want to retrieve it. I have no clue as to why 90% of the page was suddenly deleted.

    I have a website. I was working on a post (not published) called "notes". I had a lot of very important information (about 90% of what I was working on) suddenly get deleted. I have no clue as to why. I did not press "delete", cancel or anything else. I probably just pressed a space bar and suddenly it was gone. Hours and hours of work vanished. I contacted my site host squarespace and they said they don't have access to it and to contact you. Is the previous information in a cache somewhere possibly? I don't know much about any of this. I will provide you with any information I can to possibly assist me in retrieving this important information I've worked for days and days on.
    Thanks, Arthur

    I'm assuming you were working on this on squarespace's website editor? Unfortunately there are no cached files that store what is being worked on in a text field. It's possible that what happened is this: You accidentally selected the text, pressed Enter, and that deleted it. You can try pressing Ctrl+Z when you are on a page to undo those sorts of changes, but if you've already left the page there is nothing that can be done to recover that text.

  • Youtube Videos not working through embed tag

    I own a [sketchy link removed] website. Whenever I embed YouTube videos via embed tag, it doesn't show up but through iframe html5 tag, its working fine.

    I just purchased a 13" Mid 2012 MB Pro, first time on YouTube, the videos would not play, google "Adobe Flash", download and install the player and you should be good.

  • Adobe After Effects Multiple instances does not working parallel using Scripting

    Hi all,
    i am uploading after effects template to my site, user came and upload his desired contents.
    i update the template using scripting with user's contents and then render video so user get video with his uploaded text/images etc.
    its working perfectly when i update a single template at a time but when multiple users come at the same time then they need multiple instances of after effects
    so i open multiple instances of after effects by using "-m" with after effects shortcut
    after looking at windows task manager there are both instances but the problem is
    only once instance continue and the second one stop, after completion of first instance the second one still in pause status
    i need 2,3 4 or whatever instances to work parallel without pause/stop
    i am using windows server 2008 R2 with XAMP installed

    Hi Lal XaDa,
    Would you please post your script to help us to troubleshoot?
    In addition, if you can use Windows Powershell, please try these ways:
    If a script needs some speed-up, you might find background jobs helpful, you can use the cmdlet "start-job", for more detailed information, please go through this article:
    Parallel Processing in PowerShell
    You can also use the cmdlet ForEach -Parallel in powershell workflow to handle script in parallel.
    For more detailed information, please check this article:
    about_Foreach-Parallel
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Html5 video player won't work with slider script??

    Hi - I'm new to html5 and Dreamweaver, but I've worked with html in the past, so most things aspects aren't foreign to me.
    My question is this: I'm working with an existing html5 template and it had a slider graphics bar near the top. It works fine and scrolls through three pre-made banners.
    The problem is I just added the widget for HTML5 Videoplayer and inserted it into my code. The video box, etc. shows up fine, and will play, but now the slider graphic box at the top doesn't work anymore. Instead it just displays all three banners as images, one on top of the other.
    When I look closer at the script code that the widget embeds, it seems as though the script widget code is not playing well with the existing script code. When I remove the script code that the widget installs, the slider works perfectly again (but the video obviously won't play).
    The exact code is included below. My question is, how can I make the two of these scripts work together???Any help would be great appreciated. Thanks, Blair
    <script src="scripts/elegant-press.js" type="text/javascript"></script>
    <script src="kaltura-html5player-widget/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="kaltura-html5player-widget/mwEmbed-player-static.js" type="text/javascript"></script>
    <!--[if IE]><style>#header h1 a:hover{font-size:75px;}</style><![endif]-->
    <link href="kaltura-html5player-widget/mwEmbed-player-static.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    /* BeginOAWidget_Instance_2294029: #kalturaPlayer */
                                  @import url("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/redmond/jquery-ui.css");
    /* EndOAWidget_Instance_2294029 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2294029" binding="#kalturaPlayer" />
    </oa:widgets>
    -->
    </script>

    Hi - I'm new to html5 and Dreamweaver, but I've worked with html in the past, so most things aspects aren't foreign to me.
    My question is this: I'm working with an existing html5 template and it had a slider graphics bar near the top. It works fine and scrolls through three pre-made banners.
    The problem is I just added the widget for HTML5 Videoplayer and inserted it into my code. The video box, etc. shows up fine, and will play, but now the slider graphic box at the top doesn't work anymore. Instead it just displays all three banners as images, one on top of the other.
    When I look closer at the script code that the widget embeds, it seems as though the script widget code is not playing well with the existing script code. When I remove the script code that the widget installs, the slider works perfectly again (but the video obviously won't play).
    The exact code is included below. My question is, how can I make the two of these scripts work together???Any help would be great appreciated. Thanks, Blair
    <script src="scripts/elegant-press.js" type="text/javascript"></script>
    <script src="kaltura-html5player-widget/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="kaltura-html5player-widget/mwEmbed-player-static.js" type="text/javascript"></script>
    <!--[if IE]><style>#header h1 a:hover{font-size:75px;}</style><![endif]-->
    <link href="kaltura-html5player-widget/mwEmbed-player-static.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    /* BeginOAWidget_Instance_2294029: #kalturaPlayer */
                                  @import url("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/redmond/jquery-ui.css");
    /* EndOAWidget_Instance_2294029 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2294029" binding="#kalturaPlayer" />
    </oa:widgets>
    -->
    </script>

  • Hello  I was trying the latest version of Mathmagic pro edition for indesign. I found that the leading is not automatically done in Indesign, Ihave attached to files where equation have overlapped while working with mathmagic. Do you have a solution for t

    Hello
    I was trying the latest version of Mathmagic pro edition for indesign. I found that the leading is not automatically done in Indesign, Ihave attached to files where equation have overlapped while working with mathmagic. Do you have a solution for this?

    The forums don't accept attachments. You can embed an image in a post using the camera icon in the editor, like this:
    or you can provide a link to an external file on a hosting service.

  • Wicd works, network startup scripts don't

    Title tells the story.  Using wicd-1.7 I can connect to wireless networks and the connection remains stable.  Using various combinations of rc.conf settings, netcfg, /etc/conf.d/wireless getting a connection is impossible at boot time and problematic after boot.  The problem occurs on every system I've tested arch on.  Wicd works, network startup scripts don't or only occasionally if some magic spell is properly cast.  I'm positive I've configured the settings in rc.conf correctly as I've been able to connect using those by some combination of rmmod WLAN_MODULE, modprobe WLAN_MODULE, /etc/rc.d/network restart or netcfg ESSID.  The requirement is that I am willing to go through the sequence multiple times. 
    I have just started testing arch and don't know if the network scripts worked before, but I assume they must have.  Were there changes in the network startup scripts recently?  I'm seeing many topics in the forums related to wireless problems.

    When I say that netcfg ESSID works after startup, I mean that it  works sometimes and that net-auto-wireless failed along with all other options that had the wireless start during boot.  I'm not sure which version I tried but this was a new install in December or January and I was ready to remove arch by the end of February.  A new version of wicd was released with some bug fixes that kept arch on the systems.  Had that failed this laptop would likely have a BSD on it.  Probably OpenBSD as I haven't tested that yet.
    My current settings are configured for wicd and not causing any significant issues, other than having to reload the wireless driver when resuming from suspend.

  • How to embed script to document

    hi all,
    I have a temp document, when open temp document then script, which is embed in temp document will run automatically to create new document base on temp document & fill data to new document automatically?
    so for each time when user open temp document then new document will be created and the embed script on temp document will run automatically.
    thanks

    InDesign does not support document embedded scripts. So you have to handle the source like arbitrary persistent data and yourself feed that source into the scripting engine when your event handlers are triggered.

  • In InDesign, my script timers are not activated while the script is running

    Hello I have a utilioty plugin in InDesign which is done in ActionScript. This script is launched from inside the plugin dialogbox and does a long export operation. I'm trying to have a feedback of progression in the dialog box, while doing the export operation in the script.
    The problem I have is : if I create a flash.utils Timer to refresh the display, it is not triggered while the script is running ! Only when the script gives back control to InDesign, the timer is triggered and refreshes the display. Therefore, my progressbar displays blind during work, and flashes to 100% at the end. Quite useless.
    Does anybody know a way to get this working, apart from cutting the export operation in a few sub-operations which would be chained via successive timer events ?

    I ask again though: are you really sure the system won't wake from sleep to run maintenance scripts? The time in all of the logs from Onyx, from Maintidget and from the command prompt all say that the scripts are running at 3am(ish) for the daily and weekly scripts, and 5am(ish) for the monthly script - all times that my system is in sleep mode.
    Well, that is the information from Apple - I am not about to stay up all night to check it . FWIW, if those scripts are missed, the computer will not implode - I usually prefer to shut mine down and in that case, the scripts have to be run manually. I do that about once a month (or when I remember to do it)  and have been doing that for many years without any ill effects. Mac OS does not need the maintenance other systems do.
    http://support.apple.com/kb/HT2319

  • Working on slug script, need help!

    Okay, this is not my script, one that I found online. The script works by allowing the user to set placeholders within the document and tag each placeholder with specific information such as DATE, TIME, FILENAME, etc.
    The current placeholders that are setup for this script are:
    {FILE}
    {FILEPATH}
    {FILENAME}
    {FILEEXT}
    {DATE}
    {TIME}
    I would like to add a few more placeholders, which is where I need some help. I would like to add a placeholder for the username or hostname, meaning computer name. {HOSTNAME}
    I would also like to add a placeholder for colors used in the document listed in this format:  PANTONE 186C, PANTONE 281C, BLACK, CYAN, MAGENTA, YELLOW, or as color swatches.
    Also, is it possible to create a placeholder that will produce an interface allowing user input? Say you wanted a placeholder for Designer, and a dialog popped up asking for input.
    Thanks for any help!
    Here is the script:
    var language="en";   // "de" fuer Deutsch
    var WR="WR-DateAndTime v0.9\n\n";
    var AIversion=version.slice(0,2);
    if (language == "de") {
      var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
      var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
      var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
      var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_notexto = WR+"Kein Textobjekt!";
      var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
      var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
      var Timeformat = 24;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "dd.mm.yyyy";
    } else {
      var format_preset = "{FILENAME} ({DATE}, {TIME})";
      var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
      var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
      var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_notexto = WR+"No textobject!";
      var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
      var MSG_nodocs = WR+"You have no open document."
      var Timeformat = 12;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "mm/dd/yyyy";
    var error=0;
    if (documents.length<1) {
      error++;
      alert(MSG_nodocs)
    if (error < 1) {
      date_n_time();
    function TodayDate()
      var Today = new Date();
      var Day = Today.getDate();
      var Month = Today.getMonth() + 1;
      var Year = Today.getYear();
      var PreMon = ((Month < 10) ? "0" : "");
      var PreDay = ((Day < 10) ? "0" : "");
      if(Year < 999) Year += 1900;
              var theDate = Dateformat.replace(/dd/,PreDay+Day);
              theDate = theDate.replace(/mm/,PreMon+Month);
              theDate = theDate.replace(/d/,Day);
              theDate = theDate.replace(/m/,Month);
              theDate = theDate.replace(/yyyy/,Year);
              theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
              return theDate;
    function TodayTime()
      var Today = new Date();
      var Hours = Today.getHours();
      var Minutes = Today.getMinutes();
      var Suffix = "";
      if (Timeformat == 12) {
        if (Hours >= 12 ) {
                                  Suffix = PM;
                        } else {
                          Suffix = AM;
                        if (Hours >= 13) {
                                  Hours = Hours - 12;
                        if (Hours < 1) {
                                  Hours = Hours + 12;
      var PreHour = ((Hours < 10) ? "0" : "");
      var PreMin = ((Minutes < 10) ? "0" : "");
      return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
    function DateUpdate(Name) {
      var docpath = activeDocument.path.fsName;
      var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
      var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
      if (docpath.slice(2,3) == "\\") {
        docsep = "\\";
      } else {
        docsep = ":";
      var content = Name.slice(11);
      var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
      var content = content.replace(/\{FILEPATH\}/,docpath);
      var content = content.replace(/\{FILENAME\}/,docname);
      var content = content.replace(/\{FILEEXT\}/,extension);
      var content = content.replace(/\{DATE\}/,TodayDate());
      var content = content.replace(/\{TIME\}/,TodayTime());
      return content;
    function date_n_time()
      if (selection.length == 1) {
        if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
          if (selection[0].name.slice(0,11) == "actualDate:") {
            dateformat = selection[0].name.slice(11);
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_unsetmark );
            } else {
              dateformat = prompt(MSG_editformat, dateformat);
            if(dateformat != "" && Check) {
              selection[0].contents = selection[0].name.slice(11);
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat == "" && !Check) {
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat && dateformat !="" && !Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
          } else {
            dateformat = selection[0].contents;
            if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_setmark );
            } else {
              dateformat = prompt(MSG_askformat, dateformat);
            if (dateformat || Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
              selection[0].selected = false;
        } else {
          alert ( MSG_notexto );
      } else if (selection.length > 1) {
        alert ( MSG_selectedmany );
      } else {
        if (AIversion == "10") {
          var textArtItems = activeDocument.textArtItems;
          for (var i = 0 ; i < textArtItems.length; i++)
            if (textArtItems[i].name.slice(0,11) == "actualDate:") {
              textArtItems[i].selected = true;
              textArtItems[i].contents = DateUpdate(textArtItems[i].name);
        } else {
          var textFrames = activeDocument.textFrames;
          for (var i = 0 ; i < textFrames.length; i++)
            if (textFrames[i].name.slice(0,11) == "actualDate:") {
              textFrames[i].selected = true;
              textFrames[i].contents = DateUpdate(textFrames[i].name);

    Okay, here is the entire script with credit lines.
    //////////////////////////////////////////////////////////// english //
    // -=> WR-DateAndTime <=-
    // A Javascript for Adobe Illustrator
    // by Wolfgang Reszel ([email protected])
    // Version 0.9 from 22.9.2011
    // This script inserts the actual date or the actual time to a
    // predefined position in the document.
    // To define the position, you'll have to create an textobject and
    // execute this script while the object is selected. The whole object
    // has to be selected and not words or letters. You can mark more
    // objects, if you select each object separate and execute
    // the script on it.
    // With the placeholders {DATE} and {TIME} you are able to define a
    // particular point, where the date or the time should be replaced.
    // If there is no placeholder in the textobject
    // "{FILENAME}{FILEEXT} ({DATE}, {TIME})" will be used as standard placeholders.
    // To update the date and time execute this script without any object
    // selected.
    // There are some additional placeholders:
    //   {FILE}     - complete document-filename with path
    //   {FILEPATH} - only the documents filepath
    //   {FILENAME} - the filename of the document
    //   {FILEEXT}  - the file extension of the document inclusive dot
    // On my system this script can't see the path of the document, when
    // it was opened directly from windows Explorer (double click).
    // In Illustrator CS it is now possible to edit a DateAndTime-Object.
    // To enable the english messages and date-format change the "de"
    // into "en" in line 90.
    // Sorry for my bad english. For any corrections send an email to:
    // [email protected]
    //////////////////////////////////////////////////////////// Deutsch //
    // -=> WR-DateAndTime <=-
    // Ein Javascript fuer Adobe Illustrator
    // von Wolfgang Reszel ([email protected])
    // Version 0.9 vom 30.9.2011
    // Dieses Skript fuegt das aktuelle Datum und die aktuelle Uhrzeit an
    // eine vorher bestimmte Stelle im Dokument ein.
    // Um eine Stelle zu bestimmen, muss man ein Textobjekt erzeugen, es
    // markieren und dann dieses Skript aufrufen. Es muss das gesamte Objekt
    // ausgewaehlt sein, nicht etwa Buchstaben oder Woerter. Es lassen sich
    // nacheinander auch mehrere Objekte als Datum/Uhrzeit markieren.
    // Mit den Platzhaltern {DATE} und {TIME} (in geschweiften Klammern)
    // kann man bestimmen, wo genau im Text das Datum und die Uhrzeit
    // erscheinen soll. Sind die Platzhalter nicht vorhanden, wird
    // automatisch "{FILENAME}{FILEEXT} ({DATE} - {TIME})" verwendet.
    // Zum Aktualisieren des Datums/Uhrzeit muss man dieses Skript aufrufen
    // wenn kein Objekt ausgewaehlt ist.
    // Es gibt noch einige zusaetzliche Platzhalter:
    //   {FILE}     - kompletter Dateiname mit Pfad
    //   {FILEPATH} - nur der Verzeichnispfad des Dokuments
    //   {FILENAME} - der Dateiname des Dokuments
    //   {FILEEXT}  - die Dateiendung des Dokuments inklusive Punkt
    // Auf meinem System kann der Pfad nicht ermittelt werden, wenn das
    // Dokument vom Windows Explorer geoeffnet wird (Doppel-Klick).
    // InÿIllustrator CSÿkann man nun ein Datum/Uhrzeit-Objekt bearbeiten.
    // Um dieses Skript mit deutschen Meldungen und Datumsformat zu
    // versehen, muss in Zeile 90 das "en" durch ein "de" ersetzt werden.
    // Verbesserungsvorschlaege an: [email protected]
    //$.bp();
    var language="en";   // "de" fuer Deutsch
    var WR="WR-DateAndTime v0.9\n\n";
    var AIversion=version.slice(0,2);
    if (language == "de") {
      var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
      var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
      var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
      var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_notexto = WR+"Kein Textobjekt!";
      var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
      var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
      var Timeformat = 24;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "dd.mm.yyyy";
    } else {
      var format_preset = "{FILENAME} ({DATE}, {TIME})";
      var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
      var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
      var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_notexto = WR+"No textobject!";
      var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
      var MSG_nodocs = WR+"You have no open document."
      var Timeformat = 12;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "mm/dd/yyyy";
    var error=0;
    if (documents.length<1) {
      error++;
      alert(MSG_nodocs)
    if (error < 1) {
      date_n_time();
    function TodayDate()
      var Today = new Date();
      var Day = Today.getDate();
      var Month = Today.getMonth() + 1;
      var Year = Today.getYear();
      var PreMon = ((Month < 10) ? "0" : "");
      var PreDay = ((Day < 10) ? "0" : "");
      if(Year < 999) Year += 1900;
        var theDate = Dateformat.replace(/dd/,PreDay+Day);
        theDate = theDate.replace(/mm/,PreMon+Month);
        theDate = theDate.replace(/d/,Day);
        theDate = theDate.replace(/m/,Month);
        theDate = theDate.replace(/yyyy/,Year);
        theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
        return theDate;
    function TodayTime()
      var Today = new Date();
      var Hours = Today.getHours();
      var Minutes = Today.getMinutes();
      var Suffix = "";
      if (Timeformat == 12) {
        if (Hours >= 12 ) {
                Suffix = PM;
            } else {
              Suffix = AM;
            if (Hours >= 13) {
                Hours = Hours - 12;
            if (Hours < 1) {
                Hours = Hours + 12;
      var PreHour = ((Hours < 10) ? "0" : "");
      var PreMin = ((Minutes < 10) ? "0" : "");
      return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
    function DateUpdate(Name) {
      var docpath = activeDocument.path.fsName;
      var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
      var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
      if (docpath.slice(2,3) == "\\") {
        docsep = "\\";
      } else {
        docsep = ":";
      var content = Name.slice(11);
      var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
      var content = content.replace(/\{FILEPATH\}/,docpath);
      var content = content.replace(/\{FILENAME\}/,docname);
      var content = content.replace(/\{FILEEXT\}/,extension);
      var content = content.replace(/\{DATE\}/,TodayDate());
      var content = content.replace(/\{TIME\}/,TodayTime());
      return content;
    function date_n_time()
      if (selection.length == 1) {
        if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
          if (selection[0].name.slice(0,11) == "actualDate:") {
            dateformat = selection[0].name.slice(11);
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_unsetmark );
            } else {
              dateformat = prompt(MSG_editformat, dateformat);
            if(dateformat != "" && Check) {
              selection[0].contents = selection[0].name.slice(11);
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat == "" && !Check) {
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat && dateformat !="" && !Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
          } else {
            dateformat = selection[0].contents;
            if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_setmark );
            } else {
              dateformat = prompt(MSG_askformat, dateformat);
            if (dateformat || Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
              selection[0].selected = false;
        } else {
          alert ( MSG_notexto );
      } else if (selection.length > 1) {
        alert ( MSG_selectedmany );
      } else {
        if (AIversion == "10") {
          var textArtItems = activeDocument.textArtItems;
          for (var i = 0 ; i < textArtItems.length; i++)
            if (textArtItems[i].name.slice(0,11) == "actualDate:") {
              textArtItems[i].selected = true;
              textArtItems[i].contents = DateUpdate(textArtItems[i].name);
        } else {
          var textFrames = activeDocument.textFrames;
          for (var i = 0 ; i < textFrames.length; i++)
            if (textFrames[i].name.slice(0,11) == "actualDate:") {
              textFrames[i].selected = true;
              textFrames[i].contents = DateUpdate(textFrames[i].name);

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

Maybe you are looking for

  • Retrieve data from internal table dynamically

    Hi every body, I have an internal table which is generated by a function, this table contains two fields:  id_field and value_field. when the internal table is created, it will be completed as follows: id_field value_field |________________|_________

  • Console access through USB- Solaris x86

    Hi, I installed Solaris 9 on my laptop, Compaq Presario V2000 Series. My laptop does not have a Serial Port attached. I was wondering whether I can access the console through USB . And if so, can you please also provide me the instructions on how to

  • Time Based Levels

    Hi, I'm developing a chasing game. The game is split into a number of levels and the object is for user to stay alive for as long as possible withing a time limit. Once the the time limit is reached the next level is shown. Any ideas on how to go abo

  • How to quickly switch a writing language? Pencil's...

    Hello there. I have to switch a writing language very often, so using the pencil's menu is quite long way for me. And many colleagues of mine agree with me. I'm not kidding. Does anybody know any 3rd party apps which allow define a short-key combinat

  • Plugged in, Not Charging MSI GX720

    I just bought my MSI GX720 less then a month ago, and just yesterday I was typing up some notes for school and I looked at my battery life and it said 96% plugged in but not charging. and I looked around online, some people said the battery is faulty