[JS CS3] A question about clearing scriptArgs

Do parameters remain in the app object until they are cleared? I'm invoking scripts from indesign server, supplying parameters which the scripts read using app.scriptArgs.getValue().
Should I call app.scriptArgs.clear() in all scripts, after the "args" have been read? Or are there other mechanisms clearing these arguments?
Kind regards, Andreas

Hi Lan and Marc,
Unfortunately the DI API has never been particularly stable when processing larger amounts of data over extended periods. The error message you receive may not actually be related to the problem. Some patches are better than others. Are you able to do any testing on a different patch?
Is there any monitoring you can do (eg track the memory usage of your add-on over time) on a workstation?
Also, if you are not already doing so, I recommend you garbage collect any DI API objects as soon as you've finished with them:
public static void DisposeObjects(Object obj)
    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
    obj = null;
    GC.Collect();
Kind Regards,
Owen
P.S. Incidentally the way that the DI API runtime files are copied to the workstation is changing in 8.82 so, if you can't find a solution in your current version, you could look at 8.82 to see if that makes an improvement.

Similar Messages

  • Question about clear page and reset pagination

    Hi,
    I have a question about clear pages and the reset pagination in an URL. What is the reason why a clear page doesn't also trigger a reset pagination on the pages which are cleared?
    I can't really imagine a business case where it makes sense to clear all data of page items on a page and don't reset the pagination of reports on that page which probably use a page item in there where clause...
    The drawback of this behavior is that a developer always has to set the reset pagination checkbox when he clears the target page and the even bigger drawback is that if you specify other pages to clear, you can't reset pagination for them, because reset pagination only works for the target page.
    Thanks for your input.
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Enhancement request filed, thanks,
    Scott

  • Backing up to external drive, and questions about "clearing up" hd space..?

    iPhoto 6. Specs are below.
    I have about 7,000 photos, and I have to clear out my hd to create more space.
    I have "backed-up" my hd using "super duper" and an external firewire seagate pro drive and now need to clear out space on the internal drive on my G4.
    Here are my questions/concerns:
    How do I go about deleting my photos off of my internal hd?
    I want to continue to use iphoto, but need to delete my current photos from it, in order to free up space.
    Will I be able to get access to this drive in, say 10 years from now?
    Will it be safe to store in the closet?
    When I go to back-up iphoto, will it add my "new" pictures to the old pictures I saved?
    My concerns are longevity, and to be able to access these in the future.
    Should I be looking at another process? Back-up to DVD?
    Thanks for your help!!!!
    Feel free to ask me questions as well. These are very important photos, actually ANYONE'S photos are important......just want them safe for the future.

    jp6940
    You can run an entire library from that external disk:
    1. Quit iPhoto
    2. Copy the iPhoto Library Folder as an entity from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Now, when you add new pics, that's where they will go - obviously, as long as the disk is attached to your Mac and not in the closet
    The longevity of storage is a matter of some debate. Optical media (CD & DVD) are rated in years, but none have been around long enough to know if those ratings are accurate. My solution to that problem is to burn a copy of my library to DVD twice a year, so that gets renewed every six months or so. I also upload my library to FLICKR.
    I guess the point of backing up is that it's an ongoing process, not a single event.
    Regards
    TD

  • Question about clearing LR history and backing up

    I know we can clearn LR history on a particular image by clicking "clear all" in the history panel.  Is there a way to do this for all images w/o having to go through all of them?  I don't want LR to keep track of every little thing I did on every little image; if the development is significant, I would use virtual copy or snapshot.  I think having all the history info is waste of space and may slow down LR.
    When backing up LR3, the program only backs up Lightroom 3 Catalog.lrcat, but my LR3 folder is over 2gb.  Is this 20mb Ircat file the only thing we need to worry about?  What are some of the other things in the folder that is taking up so much space?

    yiplong wrote:
    I know we can clearn LR history on a particular image by clicking "clear all" in the history panel.  Is there a way to do this for all images w/o having to go through all of them?  I don't want LR to keep track of every little thing I did on every little image; if the development is significant, I would use virtual copy or snapshot.  I think having all the history info is waste of space and may slow down LR.
    Each history step could be a very small amount of space in the catalogue database. I'm not sure what you mean by "slow down LR." Slow down how? What activities or gestures will be impacted?
    I am hearing you want to reset all settings to some large selection of your images , excepting some or all virtual copies or those with snapshots. It might be better to work with temporary catalogues, merging those into a master catalogue in a selective manner.
    yiplong wrote:
    When backing up LR3, the program only backs up Lightroom 3 Catalog.lrcat, but my LR3 folder is over 2gb.  Is this 20mb Ircat file the only thing we need to worry about?  What are some of the other things in the folder that is taking up so much space?
    Perhaps the preview cache? You can also check to see if your raw cache is in there, too.  I assume your managed photos are in a different directory tree (or trees.)

  • Question about clearing the main drive

    Not quite sure if this is even possible (I'm not the greatest with computers) but I'm interested in just cleaning up my hard drive. I've had the computer for a year and just want to get rid of some of the programs I'm not using in order to improve the processor speed, etc.. I know just dragging stuff to the trash doesn't completely clear it, what is the best way about going through my Mac and clearing off old files and programs.

    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Most applications create preference files which are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can located them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at www.versiontracker.com or www.mackupdate.com.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • [CS3 JS] Question about collecting overridden style settings

    Hi!
    I can use the styleOverridden to check every item in a textStyleRange for overrides. But is there a smart way to collect the attributes actually overridden? (The attributes showing up neatly in the tooltip when you hold the mouse cursor over an overridden style name.)
    My script needs to add a clean character style for every overridden style, recreating the behaviour of the add new character style dialogue, creating the new style based on the overrides.
    Kind regards,
    Andreas

    Ah, it looks like it's beginning to work now :-)
    I thought I had tried some of these things before, but obviously not. Thanks Peter, for your assistance. Now even assigning the whole properties collection of the TextStyleRange objects to the new character style object works! There's a lot of properties created, which I'd really would have preferred not to show up (in the summary of the character style dialogue box), since they are (as far as I can see) the default values, but I like the easy code this approach results in:
    var selText = app.selection;
    var srs = selText[0].textStyleRanges;
    for (var iTSR=srs.length-1; iTSR>=0; iTSR--){
    ]if (srs[iTSR].styleOverridden){
    ]]// This is an overridden style we need to create a style for
    ]]var ch = srs[iTSR];
    ]]newStyle = app.activeDocument.characterStyles.add(ch.properties);
    ]]if (app.activeDocument.characterStyles.item('newstyle'+iTSR.toString())!=null) app.activeDocument.characterStyles.item('newstyle'+iTSR.toString()).remove();
    ]]newStyle.name = 'newstyle'+iTSR.toString();
    I'm not yet quite clear on how to treat overridden paragraph styles. Perhaps I need to check whether the properties of the new character style are already the same as the ones of an possibly applied paragraph style, and if so, not assign (or remove) that property from the new character style.
    Also... possible need to name all uniquley auto-generated styles and find a way to apply the same style again (not to risk creating a large number of character styles just setting "bold").
    Andreas

  • Question about clearing floats....

    I have a three-column layout where (from left to right)
    columns 1 & 2 are
    floated left and column 3 is floated right. Works great...
    what heppens
    when, within the middle column I have the following:
    <div id='container'>
    <img ....>
    <p> blah blah blah</p>
    </div>
    I want to float the image to the right, so the text wraps
    around it but I
    also want to put the following as the last line of the
    "container" div:
    <div style='clear: right;'>&nbsp</div>
    problem is, this last line will clear the ENTIRE right column
    from the main
    page layout. Ahhhh. Can't I somehow clear things relative to
    the column
    and not the whole page?
    Alex

    From the description you have supplied to date this is what I
    am
    getting. Neither clear: right; or clear: both; result in the
    issue you
    describe, so something else on your page is causing issues.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css">
    #one, #two {
    width: 250px;
    float:left;
    #three {
    float: right;
    width: 250px;
    #two img {
    float: right;
    </style>
    </head>
    <body>
    <div id="one">One</div>
    <div id="two">
    <img src="images/logo.gif" width="100" height="100">
    <p>blah blah blah blah blah blah blah blah blah blah
    blah blah blah
    blah blah blah blah blah blah blah
    blah blah blah blah blah blah blah blah blah blah blah blah
    blah blah
    blah blah blah blah blah blah blah blah blah blah</p>
    <br style="clear: both;"></div>
    <div id="three">Three</div>
    </body>
    </html>

  • A question about clearing SM_OBS_DLL in temp folder

    Hi,
    Our users are experiencing issues like this "The requested action is not supported for this object [message 131-171] ". According to the searching result, removing SM_OBS_DLL folder in temp folder could fix this issue. But the problem is our users are processing hundreds of orders every day and these issues impact their efficiency a lot. Is there any permanent solution for this?
    P.S. our SAP B1 version is 8.8 PL17
    Thanks,
    Lan

    Hi Lan and Marc,
    Unfortunately the DI API has never been particularly stable when processing larger amounts of data over extended periods. The error message you receive may not actually be related to the problem. Some patches are better than others. Are you able to do any testing on a different patch?
    Is there any monitoring you can do (eg track the memory usage of your add-on over time) on a workstation?
    Also, if you are not already doing so, I recommend you garbage collect any DI API objects as soon as you've finished with them:
    public static void DisposeObjects(Object obj)
        System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
        obj = null;
        GC.Collect();
    Kind Regards,
    Owen
    P.S. Incidentally the way that the DI API runtime files are copied to the workstation is changing in 8.82 so, if you can't find a solution in your current version, you could look at 8.82 to see if that makes an improvement.

  • I have a question about Configuration of Post with Clearing

    I have a question about confiruation of the post with clearing which is t-doce 'FB05'.
    When I make post with clearing on 'FB05', I can change the additional selections.
    Where can I control the confiruation of the additional selections in t-code 'FB05'
    Please, tell me the menu path.

    Hi,
    In SPRO, go to
    Financial Accounting (New) > Accounts Receivable and Accounts Payable > Business Transactions > Incoming Payments > Manual Incoming Payments > Make Settings for Processing Open Items > Choose Selection Fields
    Hope this helps.
    Thanks

  • A question about restoring from cold backup(control file backup not clear)

    Hi,
    I had another question about restoring the cold backup. My database is in noarchivelog mode and after taking a consistent cold backup, all I need to do is to restore the backup right? -Why I got this question is because: when I backup my control file to trace, I see statements like this:-----
    -- Commands to re-create incarnation table
    -- Below log names MUST be changed to existing filenames on
    -- disk. Any one log file from each branch can be used to
    -- re-create incarnation records.
    -- ALTER DATABASE REGISTER LOGFILE '/uo1/app1/arch1_1_647102958.dbf';
    -- Recovery is required if any of the datafiles are restored backups,
    -- or if the last shutdown was not normal or immediate.
    RECOVER DATABASE
    -- Database can now be opened normally.
    ALTER DATABASE OPEN;
    My database is in noarchivelog mode now so don't know why these statements (of register the logfile) is there in the backup of control file? so when I restore the cold backup of this database, it will still work correct? (there is no logfile I have only CRD files in cold backup -no archive log files.)
    thanks
    Nirav

    Thanks for your inputs! It is most useful to me.
    Regards
    Nirav

  • Some questions about configuration in MAX.

    Hello,everyone!
    I have some questions about configuration in MAX(I am a jackaroo for motion control development),I hope I can get your help.
    I use PCI-7344+UMI-7764+Servo amplifier+Servo motor,my MAX version is 4.2 and I use NI-Motion7.5
    My question as following:
    1,In Axis Configuration,for motor type,why I must select stepper but not servo?my motor is servo motor!If I select Servo,my motor can't run,I don't know why.
     If I select stepper,though motor can work but I can't test encoder in MAX.
    2,In Stepper settings,for stepper loop mode,why I must select open-loop but not close-loop?If I select close-loop,the servo motor doesn't work too.
    3,If I want my two servo motors run at different velocity,How shoud I do?It seems I just can set the same velocity in MAX for my two servo motors.
     My English is poor,Pls pardon me!I come from China.
    Thank you for your help!
    EnquanLi
    Striving is without limit!

    Hi,Jochen,
    Thank you for your kindly help!
    The manufacturer of the drive and motor that I am using now is Japan SANYO DENKI,drive type is RS1A01AA,motor type is R2AA06020FXP00.
    And I use position control mode,thehe encoder's counts per revolution is 131072.I set the electronic gear ratio to 1:1 for drive.
    Now,I can use Close-Loop to control the motor but still has some problems.When I configure it to run in closed loop mode, the motors behave strangely and never move to the target position.When I configure it to run in closed loop mode, the motors behave strangely and never move to the target position.The detail situation is as following
    1,Motor can't run.
    2, Or motor moves to a position, then moves in the same direction agian and eventually stops.
    Except for the  two points mentioned above,"Following Error" is  occured frequently,I don't know why.
    I am still not clear why I must set the motor type be stepper in MAX .
    And I have another question:what the relationship between the steps and the counts?They have the proportion relations?I notice that there are a section said like this in help document: For proper closed-loop and p-command operation, steps per revolution/counts per revolution must be in the range of 1/32,767 < steps/counts < 32,767. An incorrect counts to steps ratio can result in failure to reach the target position and erroneous closed-loop stepper operation.
    I am verry sorry I have too many questions!
    I am very appreciate for your kingly help!Thanks again!
    EnquanLi
    China
    Striving is without limit!

  • Question about using multiple iPods on the same PC

    I've read the FAQs on this subject but I still have a couple of questions about multiple users with separate iPods using the same PC.
    I want to use my family's desktop (A new Gateway with Vista, if it matters) for my new iPod Classic, but my father already has an iTunes account on there for his iPod. I know I can create a new user account on the PC and move iTunes to a shared folder so that we can share music, but will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases and then move new songs into my separate iTunes account via the shared folder? Will it be its own separate iTunes account (separate user name, separate credit card used, etc.) or will it just be a second library that's dependant on the first?
    I want to be able to have my own iTunes account, make my own purchases in it, and maybe occasionally share tv shows or something with my father.
    If this can't be done, would I be better off just creating new playlists for our two iPods from the same library, or creating a second library on my Father's account?
    Also, if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    I hope that made sense.
    Sorry if these seem like silly questions. This will be my first iPod as I'm really excited about the 160gig and want to know if these things are possible.
    Thanks in advance for any help

    Hi, Wes.
    Congratulations on your new iPod Classic and Welcome to the Apple Discussions.
    For no particular reason, let's answer your last question first ...
    ... if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    The iTunes Store operates on a one download per purchase policy so you will have to copy the purchases from one computer to the other and make sure that you authorize the laptop to play the songs.
    As to your first question ...
    ... will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases ...
    Whatever XP User Account you are logged in to doesn't really matter. What's important is which Apple Account you sign in to ... yours or your Dad's or - if you had my Apple ID and password - The Mimico Kid's for that matter. You can sign in to any Apple Account on any XP User Account. Or any computer for that matter.
    Where the XP User Account comes into play is that it will determine where on your computer the purchases are downloaded. Files will be sent to the iTunes Music folder as specified in the iTunes Edit menu > Preferences > Advanced tab > General sub-tab. Default settings will have a different location for each User Account - C:\Documents and Settings\ user name \My Documents\My Music\iTunes - but if you've read this article in the Apple Knowledge Base, you will know you can change the location of the iTunes Music folder in each XP Account to a common location such as C:\Documents and Settings\All Users\Documents\My Music\iTunes.
    Post back if all this hasn't been as clear as mud and you need anything clarified.

  • Question about Kurts comments discussing the seperation of AIA & CDP - Test Lab Guide: Deploying an AD CS Two-Tier PKI Hierarchy - Kurt L Hudson MSFT

    Question about the sentence in bold. What is the meaning behind this comment?
    How would you separate the role of the AIA and CDP from a CA subordinate server? I can see where I add a CES and CEP server which has those as well, but I don't completely understand his comment. Because in this second step, (http://technet.microsoft.com/en-us/library/tlg-key-based-renewal.aspx)
    he shows how to implement CES and CEP.
    This is from the guide located at: http://technet.microsoft.com/library/hh831348.aspx
    Step 3: Configure APP1 to distribute certificates and CRLs
    In the extensions of the root CA, it was stated that the CRL from the root CA would be available via http://www.contoso.com/pki. Currently, there is not a PKI virtual directory on APP1, so one must be created.
    In a production environment, you would typically separate the issuing CA role from the role of hosting the AIA and CDP.
    However, this lab combines both in order to reduce the number of resources needed to complete the lab.
    Thanks,
    James

    My concern is, they have a 2-3k base of xp systems, over this year they are migrating them to Windows 7. During this time they will also be upgrading hardware for the existing windows 7 machines. The turnover of certificates are going to be high, which
    from what I've read here, it worries me.
    http://blogs.technet.com/b/askds/archive/2009/06/24/implementing-an-ocsp-responder-part-i-introducing-ocsp.aspx
    The application then can go to those locations to download the CRL. There are, however, some potential issues with this scenario. CRLs over time can get rather large
    depending on the number of certificates issued and revoked. If CRLs grow to a large size, and many clients have to download CRLs, this can have a negative impact on network performance. More importantly, by
    default Windows clients will timeout after 15 seconds while trying to download a CRL. Additionally,
    CRLs have information about every currently valid certificate that has been revoked, which is an excessive amount of data given the fact that an application may only need the revocation status for a few certificates. So,
    aside from downloading the CRL, the application or the OS has to parse the CRL and find a match for the serial number of the certificate that has been revoked.
    With the above limitations, which mostly revolve around scalability, it is clear that there are some drawbacks to using CRLs. Hence, the introduction of Online Certificate
    Status Protocol (OCSP). OCSP reduces the overhead associated with CRLs. There are server/client components to OCSP: The OCSP responder, which is the server component, and the OCSP Client. The OCSP Responder accepts status
    requests from OCSP Clients. When the OCSP Responder receives the request from the client it then needs to determine the status of the certificate using the serial number presented by the client. First the OCSP Responder determines if it has any cached responses
    for the same request. If it does, it can then send that response to the client. If there is no cached response, the OCSP Responder then checks to see if it has the CRL issued by the CA cached locally on the OCSP. If it does, it can check the revocation status
    locally, and send a response to the client stating whether the certificate is valid or revoked. The response is signed by the OCSP Signing Certificate that is selected during installation. If the OCSP does not have the CRL cached locally, the OCSP Responder
    can retrieve the CRL from the CDP locations listed in the certificate. The OCSP Responder then can parse the CRL to determine the revocation status, and send the appropriate response to the client.

  • A question about upgrades and mroe upgrades

    I've got a question about the upgrade sequence and costs thereof
    I have CS5.5 Production Premium. Suppose I upgrade to CS6 production Premium. If, when CS6.5 comes out and I decided to upgrade, would it be considered an upgrade from 5.5 or 6 for pricing purposes?
    I presume the older the software the more expensive the upgrade but if I'm upgrading from my CS6 upgrade would it be considered an upgrade from CS5.5 9the original suite) or an upgrade from CS6?
    Thank you

    You have a CS5.5 now. Now, you upgrade to CS6.
    When CS6.5 come out. It will be considered as an upgrade from CS6 (and not CS5.5 which is your original suite). Hope this is clear
    Jagadish

  • Questions about CIN tax procedure choice and pricing schemas

    Hi all,
    I have to implement SAP on a Indian company and I'm verifying all particularity about this country (in particular tax procedures and the great number of differents tax conditions used).
    I have two questions about tax procedures and pricing schemas. Every feedback about thse points will be appreciated.
    a) To choose tax procedure TAXINN or TAXINJ which are the elements that I have to consider?
         I have read lot of documentation about CIN implementation and Iu2019m oriented to choose TAXINN schema, but If possible I  would  to understand better which are on behalf of one choice or another.
    b) To define pricing schemas for India, after check with local users and using examples of documents (in particular tax invoice) actually produced, I have understood that taxes have to be applied on amount defined starting from price list, minus discounts recognized to customer plus surcharges eventually to bill (packing, transport,  etc.).
    Itu2019s correct for any type of taxes that tax amount is calculated on u201Cnet valueu201D defined at item level or there are exceptions to this rule?
    Thanks in advance
    Gianpaolo

    hi,
    this is to inform you that,
    a) About point 1 I know the difference between the 2 tax procedures (conditions or formulas). I also have read in others post in the FORUM that TAXINN is preferable. So I would to understand which are the advantages to choose instead TAXINJ. There are particular reasons or it'a only an alternative customizing setting?
    a.a. for give for posting the link : plese give me the advantages of TAXINJ and TAXINN
    CIN - TAXINN and TAXINJ
    b) About point 2, to define which value has to be used as base amount to calculate taxes isn't a choice, but is defined depending by fiscal requirement of the country, in this case India fiscal requirement. I know that, as Lakshmipathi
    write as answer on my question, exception could be, but it was important for me to understand if I have understood correctly the sequence of the pricing condition in the schema in "normal" situation.
    b.b. you can create your own pricing procedure for this and go ahead.
    hope this clears your issue.
    balajia

Maybe you are looking for

  • Error message Incomplete Book

    I have completed a book but am unable to buy it.  An error message appears. There are no frames that do not contain photos.  Help!

  • Non monotonous graph scale /labview

    Hy, Is it possible to plot a graph with a scale which is not monotonous ? For example, my X scale should goes from 10 to 60 and come back to 10 (from the left to the right). Indeed, the values of Y are different with the same X if it is on the way go

  • X6 FirmWare Wishlist

    hi there if nokia is working on an update for the x6 i hope they look here or hear what the users want. so i searched for a wishlist but i didnt found one. if there is already one plz tell me. so my wishes are: 1 make the contact-overview that is ava

  • Missing the jbo:PostChange in UIX ????

    Hello I studied the old OnlineOrder Application (BC4J). In this application the primary key for the order entity was created through a trigger on the order table. Before doing a <jbo:commit> there was posted a <jbo:PostChange> to send the rowdata to

  • Some web sites dont open fully

    some web sites dont open fully