Script runs differently from the ESTK and Scripts panel

Recently I talked to a problem with one of my scripts, which packets of identity papers: a guy wrote to me that when it run ESTK, the script works fine, but when it is run from the Scripts panel - creating empty folders, does nothing more but an error (there is an error handler in the script that records the errors in a text file) :

Error: Invalid value for parameter "versionComments' event 'packageForPrint '. Expected String but received TRUE.

It's strange, because I do not use this optional parameter in the script.

BTW, on my computers, it works well, both ID and ESTK.

Someone has experienced this problem? Any ideas on why this is happening?

Kasyan

It probably has its version scriptPreferences value 5. To make your script foolproof, you probably set the scriptPreferences (and restore them when we have the gift of being nice...)

BTW, kAppVersion = parseFloat (app.version) is a more readable form to get the version number...

Substances

Tags: InDesign

Similar Questions

  • ExtendScript try/catch difference when the script took the ESTK and Illustrator

    Hello

    I wrote an ExtendScript for Illustrator using the toolbox toolbox ExtendScript (ESTK).  It works fine when running scripts it in Illustrator from the ESTK (using the target application functionality).

    However when I run it directly in Illustrator (by selecting it in the drop-down file menu > Scripts) I get a runtime error.  Is this normal?  Should I expect differences when you run the script in these two different ways?

    The error is in this feature...

    ```

    function itemUsable (arr, item) {}

    use var = true;

    try {}

    arr [point];

    usable = true;

    } catch (e) {}

    $.global.alert (e);

    usable = false;

    }

    usable back;

    }

    ```

    The code point is around the issue of the Illustrator to throw errors when accessing properties that do not always exist.  Connected ESTK the try/catch statement intercepts the error "No such item" and then sets the function returns false.

    When ran directly in Illustrator, the lights error message but the try/catch does not seem to stop the output script.

    The only difference I see is when to run the script in ESTK the dropdown next to the application target dropdown is always (and has only the option) 'main '.  Run the script directly in Illustrator, when the error is thrown this menu option drop-down is set to the 'transient' value.

    See this screenshot for an example of what I mean

    Screen Shot 2015-04-16 at 20.16.32.png

    Any help would be appreciated.

    Thank you

    / t

    Try adding $niveau = 0 at the beginning of the script or consult the last entry on the debugging of the ESTK tab

  • "The account specified for this service is different from the account specified for other services running in the same process" while trying to connect to the internet.

    Original title: the account specified for this service is different from the account specified for other services running in the same process

    while trying to connect to internet, I get the message "connection status: unknown the account specified for this service is different from the account specified for other services running in the same process" that you start happens out of the blue. When I run the diagnostic and repair tool it says that Windows cannot resolve the problem, contact admin or your ISP. I know that my internet service works very well. I am currently on an e-machine running Windows Vista Edition Home Premium and it connects without problems. My problem is that my most recent top of office (gateway also on Windows Vista Home Premium) receives connection problems. IM connected to the internet (DSL) with the ethernet cable from the Yukon. All the lights are green on the wireless gateway, so I know that the service is very good. Strange thing I noticed, when I go to network status and share and view Gateway desktop computer shows the "Yukon Ethernet controller" as the connection while the e-machine device says Im using "Intel (R) PRO/100VE Network Connection" Im using the same cable (Yukon) and put in place for both computers, so I was wondering what that was all too. Any help is appreciated.

    Hello

    Thank you for writing to Microsoft Communities. From your problem description, I understand that you can not connect to Internet.

    1. have there been recent changes to the computer before the show?

    2. the problem occurs in safe mode with networking?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1: Wi - Fi and in Windows network connection issues:

    http://Windows.Microsoft.com/en-us/Windows/help/wireless-network-connection-problems-in-Windows?T1=Tab03

    Additional information:

    The problems of Internet connection:
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-Internet-connection-problems

    Please follow these recommended steps and post if you still experience the problem.

  • "Error 1079: the account specified for the service is different from the specifiedfor account other services running in the same process" when I try to start it manually to the top of some program services.

    Original title: How can I restore my services to the default state.

    Here is the error message when I try to start it manually to the top of some service programs.

    "Windows cannot start the Diagnostic Policy on Local computer service."

    "Error 1079: the account specified for the service is different from the specified account.

    for other services running in the same process. »

    Hi raospent,

    1. have you made any hardware changes or software on the computer before this problem?

    2. what services you try to start?

    You can follow this link & check if it helps.

    Services do not start, and you receive an error 1079 on a computer that is running Windows Server 2008, Windows Vista, Windows 2008 R2 or Windows 7

    Hope the helps of information.
    Please post back and we do know.

  • Cannot start the services of ICF error 1079: the account specified for this service is different from the account specified for other services running in the same process

    Original title: I'm trying to start the Windows Firewall.

    I'm trying to start Windows Firewall services, (administrative control / tools/services/windowsfirewall Panel) and error 1079: the account specified for this service is different from the account specified for other services running in the same process, rises.  What should I do?

    Hello

    ·         You will remember to do recent changes on the computer before this problem?

    ·         Logged in as an administrator on the computer?

    I suggest you follow the steps mentioned below:

    Method 1:

    Follow the steps described in the following link and check if the problem persists:

    http://support.Microsoft.com/kb/2478117

    Method 2:

    If the previous step fails, run the System File Checker tool to troubleshoot missing or corrupted, system files proceed to the following link:

    http://support.Microsoft.com/kb/929833

    Method 3:

    If the previous step fails, set the center of security and its dependencies services to run under the Local Service account. Follow these steps:

    a. Click Start, type services.msc and press to enter.

    b. double-click Security Center, click on tab log.

    c. Select "this account", click on the Browse button, type Local Service and click ok.

    Type the password and confirm the password and click ok.

  • I am a student with a MacBook Pro, and I need a Windows operating system to run software from the school. I can't afford a new ' puter, so I got to BootCamp Windows 7. Where can I get a copy?

    I am a student with a MacBook Pro, and I need a Windows operating system to run software from the school. I can't afford a new ' puter, so I got to BootCamp Windows 7. Where can I get a copy?

    Where can I still get Windows 7?

    Full version - Microsoft Windows 7 Home Premium

    Microsoft Windows 7 Ultimate - full version

    Full version - Microsoft Windows 7 Professional

    Microsoft Store:

    http://www.microsoftstore.com/store/msstore/list/parentCategoryID.44066700/CategoryID.60521000

    http://www.Microsoft.com/student/en-us/products/Windows/default.aspx

    If you're in College, you can also check your Campus for a greatly reduced copy Bookstore.

  • Error 1079: "the account specified for this service is different from the account specified for other services in the Sun in the same process.

    Hello Sir

    customers start the dhcp service, I get an account of 1079 ACE ' the error specified for this service is different from the account specified for other services in the Sun in the same process.


    Go to start / all programs / accessories / Run.  Type netsh winsock reset catalog , and enter.  You may need to restart.  See if that fixes the problem.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Sound is comin from the speaker and headphones at the same time. How to solve this problem?

    Hello! I installed win7 professional and upgrade to ultimate and when I play a music or vdo sound is coming from the speaker and the headphones. I have a 3ghertz Pentium 4 with 1 GB of ram, and it runs the 32-bit version. And also the headphone option is not present in the peripheral reading option.
    Can any1 please please help me?

    We consider that your machine uses Realtek HD audio-
    (Older versions of Realtek HD audio drivers may have a slightly different form, but the)
    basics should be the same).

    There are two ways to set up the helmet when it is plugged into the façade decision-making;
    (1) in Realtek Manager of her go to Advanced Settings feature in the upper right of the window.
    Check the circle next to cut... plugged back.
    When this fact was you must also click on the yellow folder icon below the
    Device settings advanced and check 'Disable protection of jack façade' is clear.
    -Of the drawbacks of this method are that you do not get an option of separate settings for headphones.
    then they use the same environment as your speakers and EQUALIZER settings, but you can use both the
    speakers and the headphones if you wish.
    -Note that with this option, the helmet does not show in Sound Manager window.

    (2) advanced settings in the sound Manager go to Realtek device.
    The check box next to do advance... at the same time.
    This will disable the speakers when headphone is plugged in the socket of the façade,
    and return to the speakers when headphones are disconnected.
    Also check one or more of the boxes below, according to your need.

    -With this setting, there is an option for headphones in the two Windows Sound manager
    and Realtek HD Audio Manager.
    -With this setting, it does not matter which option to use in yellow folder as the setting icon
    is ' either / or '. You cannot run at the same time the speakers and headphones.

    -Note that with games the headset must be connected prior to spear the game, or
    the default set to the speakers.

  • Then the specified mail server host name differs from the certificate CN

    My BIEE installation is 11.1.1.7 and SMTP server configured in EM. I put the root CA for SSL certificate file.

    He calls the error message "then hostname specified mail server differs from the certificate CN", when agent is running.

    The SMTP certificate common name is "pop.mydomain.com", and the hostname of the SMTP protocol is "SMTP.mondomaine.com". If the names are different, it works fine with Outlook and other email clients.

    All the solutions to fix it?

    You are right. For the security certificate should be identical to the host. But the smtp server is not placed under the responsibility of us. I modified the file hosts as a workaround. I can't find any biee configuration option to ignore the incompatibility.

  • How is the content repository differs from the ability to plugin ECM

    How is the content repository differs from the plugin ability suh as Documentum ECM. What are the different use cases. What is the best to use for document management downloads per user for association with personal products/services of the user?

    Content Repository is one based on the standards, all featured reference, included in all editions of the Adobe Digital Enterprise Platform and Solutions. You can use it to store and access content, run the complete set of content as search services, authorization, etc. Therefore, it is ideal for all needs related to document/content/assets of your applications. It offers the JCR API, as well as access via RESTful interface and player network WebDAV (among others). In addition, the content repository content management makes immediately available for all solutions that work platform.

    In essence, repository content is your go - to place to store and manage content in the platform/Digital Business Solutions. It is well suited to meet your use case.

    The Plugins of ECM (connectors) are used if you have existing LiveCycle document services, and you have a ECM systems in your infrastructure used in the form of archive. It then lets you connect to such a system of 3rd - party and recover the document for the treatment, as well as store them back for archiving.

  • the result is different from the version textLayout.swc.

    Hello

    I wrote simple code using TLF.
    It generated three text box with different textAlign.
    But the result of that code is different from the version textLayout.swc.

    Why is the result different?

    I tried textLayout.swc comes with...
    [A] flex 4 SDK_4.0.0.7219
    [B] flex 4 SDK_4.0.0.9437

    OS: WinXP SP2
    SDK: worm 3.4
    Tool: Flex Builder 3

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
          creationComplete="init()">
         <mx:Script>
              <![CDATA[
                   import flashx.textLayout.formats.TextLayoutFormat;
                   import flashx.textLayout.container.ContainerController;
                   import flashx.textLayout.elements.SpanElement;
                   import flashx.textLayout.elements.ParagraphElement;
                   import flashx.textLayout.elements.TextFlow;
                   import flashx.textLayout.elements.Configuration;
                   
                   private function init():void
                   {
                        var textBox1:Sprite = createTextBox("left");
                        textBox1.x = 300;
                        textBox1.y = 100;
                        this.rawChildren.addChild(textBox1);
                        
                        var textBox2:Sprite = createTextBox("center");
                        textBox2.x = 300;
                        textBox2.y = 250;
                        this.rawChildren.addChild(textBox2);
                        
                        var textBox3:Sprite = createTextBox("right");
                        textBox3.x = 300;
                        textBox3.y = 400;
                        this.rawChildren.addChild(textBox3);
                   }
                   
                   private function createTextBox(value:String):Sprite
                   {
                        var rect:Rectangle = new Rectangle(0,0,300,100);
                        
                        var sprite:Sprite = new Sprite();
                         sprite.graphics.lineStyle (1, 0x000000, 1.0);
                        sprite.graphics.beginFill (0xFF0000, 1.0);
                        sprite.graphics.drawRect  (rect.x, rect.y , rect.width , rect.height);
                        
                        var tlFormat:TextLayoutFormat = new TextLayoutFormat();
                        tlFormat.textAlign = value;
                        tlFormat.color = 0x000000;
                        tlFormat.fontSize = 50;
                        
                        var config:Configuration = new Configuration();
                        config.textFlowInitialFormat = tlFormat;
                        
                        var textFlow:TextFlow = new TextFlow(config);
                        
                        var p:ParagraphElement = new ParagraphElement();
                        var s:SpanElement = new SpanElement();
                        s.text = value;
                        p.addChild(s);
                        textFlow.addChild(p);
                        
                        textFlow.flowComposer.addController(new ContainerController(sprite, rect.width,rect.height));
                        
                        textFlow.flowComposer.updateAllControllers();
                        
                        return sprite;
                   }
                   
              ]]>
         </mx:Script>
    </mx:Application>
    

    [A] textLayout.swc comes with SDK_4.0.0.7219

    [B] textLayout.swc comes with SDK_4.0.0.9437

    4007219.jpg4009437.jpg

    Yes.  There was a regression introduced - its since been corrected.  Trace example [B] ContainerController.horizontalScrollPosition - I think you will see that it is different from zero.

    Richard

  • The beeps from the BIOS and graphics problem

    1. when I start my computer (h9-1350), I get 6 short beeps, the computer is for a just half a minute, then continue to boot normally. I think it has something to do with a keyboard. I tried two different keyboards... KB USB provided with the computer and solar keyboard K750 from Logitech. He also sometimes appears an error message that I did not copy but the message said something about a keyboard.

    2. I can't get into BIOS to do the steps from HP FAQ Web site provides for the installation of a spare video card. As does the 6 beeps from the computer and then boots normally apparently it does not the button configuration screens to access the BIOS.

    The computer is a HP h9-1350 with Win8.

    H9-1350 HP / Intel i7 3770 / 12 GB
    Windows 8 / HP w2207 monitor / Radeon 6870
    Keurig ready for a coffee or Cup of hot tea

    Okay, I think that we have a fix/resolve. I found the LEGACY (just above), set it to Enable. I replaced the OEM video card with my Radeon 6870 and it booted right up less beeps. Thanks for the help.

    BTW, where can I find more information about this 'new' (for me at least) UEFI BIOS? I had no idea what Win8 make this change.

    Thanks again.

  • Buffer the output AO, refresh rate is different from the sample clock frequency

    Hello

    I am an AO output in the buffer using a single channel. I have a stamp with a ripple of 200000 points with a triangular waves of a 1000pts each repeated 200 times. If I want a frequency of 1 Hz, I simply update this waveform 1000pts and if I wanted to 5 Hz, then 5000pts and so on. But there is some frequency that I won't be able to use like the refresh rate (the number of samples that I ask to update) is different from the sample clock frequency, which makes synchronization with the other difficult to trigger (incomplete cycle).  Frequency 3 Hz (update 3000pts), as (update 7000pts) 7, 6 Hz (update 6000pts), 9 (update 9000pts)... 11Hz at 15 Hz and is not valid in the sense that the refresh rate is different from the sample clock frequency. That makes a whole lot of inaccessible CONFIGURED!  Can someone tell me what determines the banned frequency?  Is this something to do with the material?

    concerning

    One thing you can try is to change the number of samples per cycle. This cannot give the precise frequency accurately, but can reduce the average error.

    120 Hz, the error is currently about 400 parts per million (ppm). The accuracy of the time base is 50 ppm, then this error is less than 10 times the inherent error due to the time base.

    Consider this configuration: the closest nominal sampling you rate, you can get is 120048 Hz (1000 samples per cycle at 120 Hz). If your buffer contains 1200 samples per cycle, 100 copies of it would produce 1 second of data to 120,048 Hz. But if the buffer contained an average of 1200,48 useful Samper by cycle, you get the exact frequency.  Of course getting 0.48 of a sample is delicate. But the kind of feasible. If you use 48 cycles in the 1201 samples per cycle and the cycles of 52 to 1,200 samples per cycle, the total number of samples per second = 120048. Average frequency will be exactly what you want. Instantly, the frequency is slightly higher or lower than the exact value.  By an alternation of 1200, 1201, 1200, 1201... 1201, 1200 100 cycles that the Jig is fast.  If you group all 1200s whole and all 1201 s frequency hopping may be more sensitive.  If this kind of jitter is acceptable depends strongly on what you do with the release.

    This technique is used in some systems of frequency synthesizer.

    Lynn

  • While trying to upgrade to remote desktop I get the following error message: Setup cannot update your Windows XP files because the language installed on your system is different from the update language.

    KB952155 Setup Error.

    While trying to upgrade to remote desktop I get the following error message: Setup cannot update your Windows XP files because the language installed on your system is different from the update language. Now, that - what it means and how can I fix it? I have installed SP3

    Eivind Aakhus Hello,

    If you have the latest version of Office installed on your computer remotely, then you need to enable the Active X control.

    Follow these steps to activate the ActiveX module.

    a. open Internet Explorer by clicking the Start button, and then click Internet Explorer.

    b. click Tools, point to manage add-ons and then click Enable or disable add-ons.

    c. in the list view, click to view all ActiveX, ActiveX controls downloaded controls.

    d. choose the one you want to activate, and then select Enable.

  • XP has disappeared from the network and I can't get it back

    My XP machine does not appear on my network more.  My network with both XP and a MAC wireless machines worked fine until I added a desktop Windows 7 computer.  Now, one of my XP machines disappeared from the network and I can not get it back.  I have run the Configuration Wizard from the network a million times, but the device still does not appear.  What I am doing wrong?

    From the other thread: http://answers.microsoft.com/en-us/windows/forum/windows_xp-networking/windows-xp-machine-does-not-show-up-on-network/fadc36ac-73de-428f-9018-bedebd72cb2d

    Title: Windows XP machine does not appear on the network after that Windows 7 has been added. Also have Mac on the network as well.

    I set up a home network with two XP machines connected to my router and a Mac with a Wi - Fi connection.  I added a Windows 7 machine and now one of the XP machines does not appear as a member of the Working Group on all machines (including itself!) even after the wizard as many times.  Curiously, I can share files and printers.  How can I get this machine to appear on the network?

    original title: home network problem

    Hello

    The following article might be useful:

    Solve problems with computers not appearing is not in the network map

Maybe you are looking for

  • Mac App Store: The Apple ID, you have entered could not be found...

    I just upgraded to Sierra and get this error when I try to upgrade all the apps in the Mac App Store: The Apple, ID you entered could not be found or your password is incorrect. Please try again The password is correct, as I can check my account with

  • Left Handed orientation in Yoga book

    If looking for left-handed use in Draw mode, the screen will refocus itself to that effect? I guess so, but not sure. Thank you.

  • T60 taken under warranty?

    My take on my t60 is upward. The laptop will beep as if someone pulled the plug power on and off while I'm typing. It has never been dropped and has a 3 year warranty this would be covered? Thanks for any input.

  • BlackBerry smartphones print from a BlackBerry smartphone: it is possible

    http://www.BerryReview.com/2009/01/20/review-PlanOn-Printstik-PS910-Bluetooth-BlackBerry-printer/ Review: PLANon PrintStik PS910 Bluetooth printer BlackBerryJanuary 20, 2009 I quote: The PrintStik works as advertised and print wireless from your Blac

  • Not a dba and need help for Oracle 11 G

    I have install an output db in space and I can't get the client that I work to install the spacewalk to connect to the db.output in the configuration of the client space (research forward and reverse and can ping by short/longname and IP.)# output ex