JavaScripts depend on PS-Version?

Hi,
I am using a jsx to cut one large psd into serveral small bitmaps. But since I got my new PS CS3 Extended (German version), the script does not work any longer but quits with an error message (1302).
The script already worked with: PS CS2 English version, PS CS3 English version.
The script does not work with: PS CS3 German version.
Has the language-version got something to do with that? Do I simply have to buy the English copy? I´ve also read about syntax changes to PS CS3.
Thx for the input, Dennis

> Has the language-version got something to do with that? Do I simply have to buy the English copy? I´ve also read about syntax changes to PS CS3.
It depends on the script. I've written scripts that work fine in English and
Dutch, and others that have been more problematic.
You won't know until you test.
A 1302 is "No such element". This could happen if you dupe a layer and expect it
to be named 'LayerName copy'. The 'copy' bit is probably different depending on
the language and if you do a layers.getByName('LayerName copy') in German, it
would probably toss a 1302.
-X
for photoshop scripting solutions of all sorts
contact: [email protected]

Similar Messages

  • How to add a version by default depending on previous version found in db of a record?

    Hello,
    How to add a version by default depending on previous version found in db of a record?
    E.g                        ID 0001  Version : 1
            when inserting id 0001 version 2.
    I want the version to be added automatically on insert , depending on id input.
    Thanks.

    Hi,
    I think using a trigger is better choice.
    from application, you should manage concurrent processes.
    Regards

  • Creation of inspection lot 04 depending on production version

    Hi Experts,
    could you tell me if it is possible to create a Good Receipt inspection (lot origin 04) depending on the production version used ?
    My material has 2 production versions:
    0001 - production with process order
    0002 - production with repetitve manufacturing
    When I do a GR on process order, I do not want to create an inspection lot 04.
    When I do a GR on product cost collector, I want to create an inspection lot 04.
    As I have entered inspection types in material master data, I do not know how to do the distinction ?
    Thanks in advance for your help
    Best regards
    Amaury

    Hi
    Check user exit
    QBCK0003 |Extended QM check for goods receipt
    Regards
    Sujit

  • One JNLP with different JARs depending on JRE version

    Hello everybody! I want to produce one JNLP file that, depending on the user's Java version, loads a particular JAR or not. As an example, Java Activation Framework is included with Java 6 (no download needed), but not with Java 5. This serves just as an example, as that particular library is very small. Still, a user with Java 5 needs to retrieve and load "activation.jar", but Java 6 users might be better of with their built-in version. I know that I can mark the whole JNLP for a particular version (<java>) and that I can make a resource depend on "osName" and "arch". Does anyone know whether such a JDK-dependent resource (or JAR) is possible with JNLP syntax?
    Alternatively, I can programmatically download the library, but loading it is cumbersome: I just want to use JavaMail (which needs the Activation Framework) right away, it seems to me that with a custom URLClassLoader I cannot access the library directly (as I need classpath-like access to the Activation Framework)... and I'm hesitant to hack into Reflection as mentioned here.
    I'll just provide activation.jar for all of my users, including Java 6 ones; but I'm curious what would be the best way to handle such a situation. I did search the web and the forums a lot, sorry if I missed something obvious.

    Sorry, you meant two <resources> in the same JNLP? I can't put "activation.jar" in the same JNLP than the rest of my application, because it's already signed by Sun, but I did try to have in "activation.jnlp" two <resources>, an empty one for version 1.6+ and the JAR in the second one for "1.5". Didn't work either, the JAR gets downloaded.
    Same thing for several <resources> in the main JNLP, one for "1.5" including the extension for activation.jar, the other for "1.6+" listing the same contents but without that extension. No matter how I try, I get the console message "JNLP JREDesc in Component ignored". (If I just include everything in one single resource for "1.5+", I don't get that error, so it's not a typo in the <j2se> tag ;-)
    Edited by: cato_minor on Mar 26, 2009 12:00 PM

  • Jars dependent on different versions of the another jar

    I have two vendor supplied jars that are both dependent on different releases of another jar. So, in the usage instructions for the first jar, it says to make sure that x_1_2_1.jar is my classpath. Likewise, in the usage instructions for my other jar, it says to make sure that x_2_0_1.jar is in my classpath. The installers for each one of these jar puts their version of the dependent x jar in a subdirectory under their installation.
    This causes all sorts of headaches because neither jar ever gets completely what it is looking for. Code in the jar that depends on x_1 fails if x_2 is in the classpath first, while code in the jar that depends on x_2 fails if x_1 is the classpath first.
    (Since, I'm sure to encounter this mismatched versioning problem with other "utility" jars in future, I'm intentionally withholding the actually names of the jars involved. I'm looking for the general solution to this class of problem, not specific tips related to a particular utilities jar.)
    I was thinking that maybe the manifest Class-Path of each jar might be used to force where each jar looks for it's dependent jars, but the documentation I read about Manifests indicated that each jars Class-Path is simply concatenated into the overall Classpath that the ClassLoader uses.
    If it matters, all this is in a Java 1.3.1 environment.
    It seems like I can't be the first person to come up against this, but I haven't really seen any traffic on the forums about this kind of problem. (Am I missing something obvious?)

    May be custom ClassLoaders may help you, but I am not sure. It depends on whether you are allowed to explicitly load several equally named classes from different sources.
    Probably it is allowed. The following is cited from the Java Language Specification, 2nd edition (chapter 7.7, Unique Package Names, packages.doc.html):
    "If unique package names are not used, then package name conflicts may arise far from the point of creation of either of the conflicting packages. This may create a situation that is difficult or impossible for the user or programmer to resolve. The class ClassLoader can be used to isolate packages with the same name from each other in those cases where the packages will have constrained interactions, but not in a way that is transparent to a na�ve program. "

  • Numeric format changes depending on Driver Version

    Scenario: JAVA application accessing Oracle 8.1.6 with last Oracle 9.2.0 JDBC Driver (classes12.zip) JDK1.3.
    We have found numeric format changes using old oracle.zip and new classes12.zip.
    With oracle.zip value 0.346 is returned
    With classes12.zip value .346 is returned.
    Why the format change depending on the driver version?
    Is the new format the right one?
    Many thanks.

    If you're working in CMYK, "softproof" your colors by choosing View->Overprint Preview. Note the keyboard shortcut
    If you're working in RGB, make sure the Creative Suite color management is synced. This is done through Bridge. May I suggest looking that up in Adobe Help.

  • Automatic upgrade of AUR packages dependent on kernel version.

    I have an issue with upgrading AUR packages with pacaur. When I try to upgrade with one of the following commands:
    pacaur -u [package_name]
    pacaur -Su -a
    pacaur -Syu
    I keep getting the error 'no results found for dependencies)' 
    Here an example output:
    [ ~ ]$ pacaur -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: spl-git: requires linux=3.17.6-1
    :: zfs-git: requires linux=3.17.6-1
    :: Starting AUR upgrade...
    :: resolving dependencies...
    :: no results found for dependencies)
    As seen in this example, the system upgrade is failed due to two kernel packages which require the previous kernel version.
    I wonder, does the AUR upgrade fails after the failed system upgrade because of new spl-git and zfs-git packages require the new kernel version? And the message ":: no results found for dependencies)" is caused by this?
    It seems there is a kind of a circular dependency in this case - kernel doesn't upgrade because of zfs requires the older kernel, and zfs doesn't upgrade because the new version of zfs requires the new kernel.
    Previously I upgraded AUR packages manually, by first removing them, then upgrading the kernel and after that installing new versions of packages.
    Is it possible to automatically upgrade kernel packages? If so can this be done with pacaur?
    Last edited by nbd (2015-01-19 23:39:49)

    Hi, so I'm not the only newbie doing such things.
    here:
    https://bbs.archlinux.org/viewtopic.php?id=181717
    ukhippo wrote:Afterwards I also suggest using “pacman -Syyu” to update (note the double “y”, this forces a refresh of all packages)
    meaning first add the repository and the key for demz-repo-core https://wiki.archlinux.org/index.php/Un … -repo-core.
    I did that today but the output was just:
    [root@machine1 ~]# pacman -Syyu
    :: Synchronizing package databases...
    core 121.6 KiB 599K/s 00:00 [########################################################] 100%
    extra 1806.6 KiB 671K/s 00:03 [########################################################] 100%
    community 2.5 MiB 672K/s 00:04 [########################################################] 100%
    multilib 121.2 KiB 932K/s 00:00 [########################################################] 100%
    demz-repo-archiso 5.5 KiB 37.9K/s 00:00 [########################################################] 100%
    demz-repo-archiso.sig 287.0 B 0.00B/s 00:00 [########################################################] 100%
    demz-repo-core 7.8 KiB 48.6K/s 00:00 [########################################################] 100%
    demz-repo-core.sig 287.0 B 0.00B/s 00:00 [########################################################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: spl-git: requires linux=3.17.6-1
    :: zfs-git: requires linux=3.17.6-1
    even though I read
    https://www.archlinux.org/packages/?sor … =&flagged=
    x86_64     Core     linux     3.18.2-2     The Linux kernel and modules     2015-01-15     2015-01-16
    and
    https://github.com/demizer/archzfs
        spl-git     Update git packages for kernel 3.18.2-2     4 days ago
        zfs-git     Update git packages for kernel 3.18.2-2     4 days ago
    I don't really know if I want to remove the package first, while running the machine from a zfs filesystem.
    If it runs automatically the chance of me making an error is a little smaller, don't really want to have a not bootable system.

  • Still getting Javascript error with new version of UIX

    I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
    Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
    It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
    It's working fine with old version.
    We had used proper cabo directory. These files are in sync with the version of the runtime
    Here is our finding
    I found a error in _updateFormActions() function from MarlinCoreb2.js file.
    In this function it is giving error at
    if(a8!=a6)
    a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
    working properly without any javascript error.
    This problem is a bit tricky....
    Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
    and it also works on the Mozilla Firefox browser.
    Can any one advice on the same?
    Thanks in advance
    Anindya

    I answered this question on a different thread.
    Do NOT post the same question multiple times. If you require more complete or prompt assistance than you receive on these forums, contact Oracle Support.
    -brian

  • HTMLB and Javascript: Dependent Checkboxes

    Hello Collegues,
    i try to programming a search component with some dependent checkboxes. For example the user should check "checkbox 1" and there should be "checkbox 2" also selected.
    I write this small example for this. But it dont works. I thing i have an mistake in the onClientClick function. Does somebody knows the right way to do this?
    public class SearchLocalization extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              //response.write("Javascript Checkbox Test<br>");     
              IPageContext myContext = PageContextFactory.createPageContext(request, response);
              if (myContext == null) {
                   response.write("myContext == null");
              Form myForm = myContext.createFormDocument("Javascript Checkbox Test");     
              GridLayout gl = new GridLayout();          
              Checkbox one = new Checkbox("one");
              one.setText("One");          
              gl.addComponent(1,1,one);
              Checkbox two = new Checkbox("two");
              two.setText("two");     
              gl.addComponent(1,2,two);
              myForm.addComponent(gl);
              two.setOnClientClick("javascript:one.checked = true;");          
              myContext.render();                    
    Best regards,
    Patrick

    Hi Patrick,
       Create a JSPDynPage and in the jsp, u can code javascript like this. I just checked and it is working for me.
    <%@taglib uri="tagLib" prefix="hbj"%>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
        <script language="javascript">
       function checkme(){
                 var funcName = htmlb_formid+"_getHtmlbElementId";
             func = window[funcName];
             var check1 = eval(func("Check1"));
             var check2 = eval(func("Check2"));
            var check1status = check1.getChecked();
            if(check1status==true){
                   check2.setChecked(true);
      </script>
       <hbj:form id="myFormId" >
          <hbj:checkbox
                   id="Check1"
                   text="Check1"
                   tooltip="Check1"
                   disabled="false"
                   checked="false"
                   jsObjectNeeded="true"
                   onClientClick="javascript:checkme();"
             />
         <hbj:checkbox
          id="Check2"
          text="Check2"
          tooltip="Check2"
          disabled="false"
          jsObjectNeeded="true"
          checked="false"
        />
       </hbj:form>
      </hbj:page>
    </hbj:content>
    Regards,
    Harini S

  • How to place stamp that will change position depending on language version of the PDF

    Hi there,
    For all of our publications (several types of instruction guides), we are trying to find a solution to place two small black stripes (about 8 mm) at the foot of each PDF. These black stripes have to define what language and what model you have in your hands. After cutting the paper at the printer, only 2 mm of those bars will remain visible. On the left half of the PDF we want to place a language bar indicating what language the publication is. The position for that bar will be unique (English = 10 mm from left border of page; French = 8 mm from left border; and so on until 20 languages).
    And another bar will have to be place on the right half of the page, indicating what model it is. This position will be again unique.
    We know it's possible inserting stamps on a final PDF. But the key for this job is being able to place them at the exact position. And also creating stamps that can be selected by the operator depending on the languages and models we will send to print (let say we created final PDF for the model B, in German; so the operator can open final PDF in ACrobat, stamp the whole document with the stamp "German", and then once more with the stamp "model B").
    Does anybody have a tip how to approach this?
    Thanks a lot!

    Have you considered using the watermark tool to add this information instead of a stamp? You could store all the watermarks in separate files and control the exact placment.

  • Javascript problem in HTML version of XDP file

    Hi All,
    I have designed a XDP form in adobe livecycle desinger 7.0.
    It has three pages and i have a page navigation custom control for navigation between the three pages.
    From my application i am displaying this xdp form in HTML format.
    my problem is that it loads only the first page. when i click on the next button a javascript error saying "this._peer" is not an object kind of error is thrown.
    I made the event to run at both client and server. even if i change to run at server also its not working
    Please help me in resolving this problem.
    Thanks,
    Rajasekhar MV

    Hi shilps,
    My problem got solved. Thanks,
    thanks,
    raj MV

  • How can i get javascript to work with version 18 - all boxes ticked but still problem

    I have WINDOWS 8 (for 2 weeks) , Firefox v18. I try to use a banking site that demands javascript but when I try to use the site, I get "javascript not working (or available).
    If I go into Youtube , any video I pick fails to run - instead I get flashing video screen
    I have set Javascript enabled but no difference.
    can anyone point me in right direction .
    I have reloaded Firefox and reset it - problem still exists

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Block a form depending on XFA version

    Hi all,
    I'm authoring a form with scripts supported only from XFA 3.0/Acrobat 9.1
    (see http://blogs.adobe.com/formfeed/2009/03/xfa_30_list_of_invalid_fields.html for details).
    I would like to alert the user if he/she opens the form with an older version, then I want the form is freezed and not printable.
    How can I do?
    Thank you,
    Fabio

    You can get the version of the host by using "xfa.host.version" command.
    You can freeze (mean you can make the form non editable) but may be you can not stop the user to Print the form.
    You can make the form readonly by making the access property of the top most subform to "readOnly".
    Other approach you can consider is if the version does not match then display a messagebox to the user to download a newer version and close the app by using "app.execMenuItem("Close");" command.
    Thanks
    Srini

  • Javascript function fails in version 3.6.3, but worked in all previous versions

    function show_prompt(){
    var cost = prompt("Please enter cost amount","");
    if (cost!=null && cost!="")
    document.getElementById("ncost").value = cost;
    document.getElementById("nno").value=1;
    else
    show_prompt();
    This function has caused no problems until i upgraded to firefox 3.6.3. The function fails to set the value of the html element until the function is called again, at which point the value from the first function call is successfully inserted.
    This is obviously not workable, so i have had to backgrade to 3.5.9 so that the problem doesnt happen, but this is obviously not a long term solution.
    == This happened ==
    Every time Firefox opened
    == I upgraded to version 3.6.3

    Could you link to an example that shows this code in use? From your description, I can't be sure what's happening. (My best guess is that it's prompting you twice for the cost instead of just once)

  • Is ActiveXObject Dependent on Jre Version ?

    Hi,
    I have a Java Script Code in one of my XSl, in which i read a text file and load the Corresponding HTML file.. in my Web Browser.
    But the Code works fine for jre 1.3 and now i have installed jre 1.5...
    n now my code fails to read the file... again i installed 1.3.. it works fine...
    So if any body has any idea as to whats happening... Plz help me.
    My code is like this....
    function loadfunc()
    var filename= "State_" + document.frmMainmenu.ContextID.value +".txt";
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var ForReading, file;
    ForReading = 1;     
    var lineContent="";     
    if (fso.FileExists(filename))          
    file = fso.OpenTextFile(filename, ForReading, false);
    lineContent = file.readLine();     
    The text file "State_" + document.frmMainmenu.ContextID.value +".txt"
    is present on Desktop... but it fails to read this file when i use Jre 1.5.
    So any thing to do with Version ??

    Hi Alicia,
    Welcome to ODI world. :)
    ODI is compatible with any version of Oracle DB starting with 9i till 11g. Have a look at the ODI certification info in the below link more specifically "ODI Source-Target Technologies" worksheet.
    http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/documentation/odi_certification.xls
    Thanks,
    G

Maybe you are looking for

  • Error while installing OBIEE 11.1.1.7 on Linux

    Hi, I am trying to do OBIEE 11.1.1.7 Enterprise install on a Linux server. When I run the installer, after specifying install location, when I configure the components(Select BI Enterprise Edition, BI Publisher) I get error as ORACLE_HOME variable is

  • Dual Thunderbolt Monitors both Cooked?

    I pruchased a Thunderbolt Monitor back in 2011, ordered a 2nd last week one so I could use it with my new Mac Pro Retina.  When side by side they are both crooked, the left side is lower than the right side which makes a small step inbetween the moni

  • Dynamic Type Support (or in app text size)

    Hey Claudius! After perusing the reviews for you, a main request is gaining support for dynamic type. Or having the option to change text size in app. Some consumers are straining their eyes to see small text. After Changing my app to support Dynamic

  • Vector renewed but memory not released

    Hi, Please see the following code: Vector v = new Vector(10000000); // from windows task manager, it seems it takes 40 Mb of memory. // there is a need to do the following after some code v = new Vector(10000000); // now the memory taken is around 80

  • Import Mono vs Import Stero and Pan 0? (Lav Mic)

    I'm importing footage from a lavaliere microphone and I want to get the best sound quality possible. I did not record separate audio using my camcorder's built-in mic. In the Log and Capture settings, Clip Settings tab, I have two import options: 1.