How to trace the save menu in cs3 using javascript?

i can able to add menu items using the following syntex
app.scriptMenuActions.add("Script 1");
but i dont know how to trace the save menu, i want to do certain action while the user try to save their active document.
is it possible in script?
thanks
subha

Hi subha,
re: "i dont know where to get that BeforePrint.jsx, but by using scripting guide i able to trace the menu events."
All of the scripts shown in fragmentary form in the Scripting Guide are included in the associated scripts archive on the InDesign Scripting home page.
The BeforePrint.jsx script shows how to cancel the display of the Print dialog box; I assume that the same techniques will work for the Save dialog box. No time to check right now.
Thanks,
Ole

Similar Messages

  • How to trace the curser event in cs3 using js?

    is it possible to trace the curser event like the menu event tracing?,
    means how?
    thanks
    subha

    Hi subha,
    re: "i dont know where to get that BeforePrint.jsx, but by using scripting guide i able to trace the menu events."
    All of the scripts shown in fragmentary form in the Scripting Guide are included in the associated scripts archive on the InDesign Scripting home page.
    The BeforePrint.jsx script shows how to cancel the display of the Print dialog box; I assume that the same techniques will work for the Save dialog box. No time to check right now.
    Thanks,
    Ole

  • How to trace the device who made purchase using my id? The

    Someone close to me(i believe) has hacked my id and purchade hundreds of dollars at itunes. How can i trace the device itself? Is it possible that i can trace the device by referring to the purchase's reference number?

    I do not believe so.  The sale is tied to your ID, which only you should know the password to.  But, you can contact iTunes store support and speak with them regarding the unauthorized purchases.
    Contact iTunes Support
    http://www.apple.com/lae/support/itunes/contact/

  • How to avoid the "Save As" dialog when using "Close Button"

    Hello All,
    I am facing a problem while closing a pdf file.
    I am using the following code to Open a pdf file.
    CAcroApp objAcroApp = new AcroAppClass();
    CAcroAVDoc objAVDoc = new AcroAVDoc();
    objAVDoc.Open(C:\\new.pdf,Sample);
    objAcroApp.Show();
    After opening the document I am **** some changes (adding markup) in the file.
    Then I am closing the file using the Close Button and in YES for the save confirmation dialog.
    Here is the problem.
    After giving YES, I am getting a Save As dialog with "Sample.pdf" in the FileName box.
    I am getting this only in Acrobat 9.0.
    When I tried the same in Acrobat 8.0 I didnt get Save As dialog. It saved with out "Save As" dialog in "C:\\new.pdf".
    I need to give the same behavior in both Acrobat 9.0 and 8.0.
    Please help me out to fix this issue. Thanks in advance.
    Regards,
    Mohd Mustafa SK

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How to ungroup the particular table in Indesign using javascript?

    Hi,
    I have written a script for removing dotted lines at the end of text,which has presented inside the table.but this script is not working for the table that has grouped in InDesign.First I want to ungroup the particular table and remove dotted lines,then i need to group that table again.please help me if anyone has idea regarding this.
    Thanks in advance!
    Vimala L

    @Vimala Lakshmanan – to access tables inside text frames of grouped objects, you need not to ungroup.
    You could use the Group objects and iterate through all page items of the group, single out the text frames and access their Texts object and their Tables object within.
    By starting with a Group object (in the following snippet the group is selected):
    var myGroup = app.selection[0];
    var allPageItemsOfGroup = myGroup.allPageItems;
    for(var n=0;n<allPageItemsOfGroup.length;n++){
        var myObject = allPageItemsOfGroup[n].getElements()[0];
        if(myObject.constructor.name === "TextFrame" && myObject.texts[0].tables.length > 0){
            var myTables = myObject.texts[0].tables;
            for(var t=0;t<myTables.length;t++){
                //Do your stuff here:
                //Just an example line, that fills all cells in a table to "Yellow"
                myTables[t].cells.everyItem().fillColor = "Yellow";
    This snippet also considers nested groups, anchored text frames and nested text frames.
    It does not consider objects in not active states of MultiStateObjects.
    Uwe

  • How to Enable the SAVE button in the Menu Bar of the Invoice Document.

    Hi.
    How to Enable the SAVE button in the Menu Bar of the Invoice Document as it is disabled for me.
    I would like to save the Invoice document in PDF  format.
    Regards
    Irfan

    Hi,
    Normally, for the archiving or generation of the invoice document in PDF format is handled by maintaining the output records through VV31/VV32 with the relevant printer, storage mode ( 3- print and archive or 2- archive only ), no. of messages ( means no of copies ) in the communication method.
    Then when you click the print button through VF03 in the print options pop-up you get a print at the physical printer and at the same time an archived copy ( PDF copy ) attached with the document.
    So, please make sure the output records are fine to allow a PDF copy generated and then try to print and check in VF03 by entering into the billing document.
    Hope this helps you.
    However, from the print preview you normally would not be allowed to save or print.
    Regards,
    Ram
    Edited by: Ramakrishna Peri on Apr 3, 2009 9:16 AM

  • How to get the standard Menu of Query Designer into Web Template

    Hi Experts,
    is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
    Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
    Thanks & Best regards
    Tobias

    BEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
    You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern  AS THE STARTING POINT.

  • I'm no longer able to copy photos from email to my iPad photo stream.  The Save menu doesn't come up like it did before.  When I press on the image, I only get the option to Copy, and I can't paste it into my photo stream.

    II'm no longer able to copy photos from email to iPa stream.  The Save menu does not come up Shen I press on the image like it did before.

    Hi beerexpert,
    I'm sorry to hear you are having issues with your iPad. If you are having unusual menu or option behaviour, you may want to try restarting/resetting your device, as outlined below:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    You may also want to double-check that you have available space, as noted here:
    See how much storage you've used on your iPhone, iPad, and iPod touch - Apple Support
    Regards,
    - Brenden

  • Why do I have to File Save twice before the Save menu is grayed out?

    Open a file into Photoshop CC
    Add a Levels layer
    Click File>Save
    The Save menu is still available when you click File. Doing another File>Save make the Save menu become grayed out (like it should the first time).
    System info:
    Adobe Photoshop Version: 2014.2.1 20141014.r.257 2014/10/14:23:59:59 CL 987299  x64
    Operating System: Mac OS 10.10.1 (the problem has occurred since Mac OS 10.8.x)
    Thanks for any help.
    Daniel

    I have OSX 10.10.1 and CC 2014.
    So I will open a PSD with an adjustment layer.
    I turn off and on the "eyeball" in the layers panel. It counts as a change.
    If you look at your document tab, you see a star at the end of the filename. It shows you made changes to  the file.
    File > Save would remove that star and File > Save does dim on my Macbook.
    If you are seeing it twice, the Preferences file may be corrupt. I suggest a reset.
    Macintosh - CMD-SHIFT-OPTION immediately after you double-click the PS icon.
    If that doesn't work uninstall/reinstall CC 2014 and updates'
    Let me know how it went and mark the answer correct only if this solved your problem.
    Gene

  • How to trace the wdy application from Portal link?

    Hi
    I have a  req to work with a application,which show the salary slip,through ESS portal,but I am not able to trace out the webdynpro application,is is running behing this?
    can any oe pls tell how to trace out the application,if worked any time.
    secondly req is to insert the logo in the salary slip,when we clk in the SALARY button,its display the slip as PDF,please tell how this PDF is attached inside the application,as if its a Z smart form,than i can insert the logo in it & can reinsert in the webdynpor application,as I think its a case of z smrtform which is called or linked on webdynpro.
    pls tell how to trace the standard application or the smart form.
    regds

    Hi Vipin,
    You can get the webdynpro application name from the portal link or you can ask portal team to get you the webdynpro
    application name from the portal iView of salary slip application.
    After that go to SICF tcode.
    Search for the application name by entering the application name against the field SERVICE NAME and press F8 (execute).
    The system will find you the SICF service for that webdynpro application. Select that service from the list.
    Now click on menu GOTO->OBJECT DIRECTORY ENTRY and get the package name from the popup window.
    Go to tcode SE80 and open that package.
    Expand node Web dynpro->Web Dynpro Applicat.  and find the application there.
    Double click on the application.
    Get the web dynpro component from the application parameter.
    Open the Web Dynpro component in se80 and do the changes as required.
    Regards,
    Vikrant

  • How to trace the missing authorizations using NWBC at object level

    Hi all,
    In SAP R/3 any authorization issue can be tracked down till authorization object level using SU53 tcode and ST01 tcode.
    1 - I have a super user who has all the roles in Solution manager system and test user which I created with just 1 role Incident management role. But when I login with Super user ID I can see in tcode (WDY_APPLICATION - Incident Management ) I have 4 tabs (Overview,Messages,Reports and Queries) but when I execute the same tcode using test ID I can only see Overview and Messages tab. Report and Query tab were missing . Please advice on how to trace the missing authorizations using NWBC at object level? or how to solve this issue......
    2 - How to add a Web dynpro Transaction code (example WDY_APPLICATION - Incident Management )while building a role in PFCG?
    Thanks
    LAK

    Hi Gurus,
    Can anyone please help me with my questions.
    In addition here are few more info that I need
    How to bring in the new authorizations without logiing off and logging in back in NWBC ( Equivalent to Menu-->Refresh in SAP GUI)
    Thanks
    LAK

  • How  to get  the  Save  dialouge box  in   SAP Business One

    Hi,
    How  to get the  Save dialouge box in    Button  click  event  in  SAP Business One.
    Thanks,
    Y.

    Hello,
    You would like to display an SaveFileDialog box?
    may follow this thread, and you can find a sourcecode in vb.net and c# inside (for open dialog, but it is the similar...)
    Regards
    János

  • HOW TO MAKE THE SAVE BUTTON IN GREY MODE IN QA32 INTIAL SCREEN

    Dear friends,
    How to make the save button , in the tcode QA32  intial screen in GREY MODE.
    As  i don't want the screen variant created by me should not be seen by the user.

    Hi
    There is one option ,You can protect yor varient but not hide it.
    To protect>QA32>Mydefault>Varient Attibute>click on protect varient.
    If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
    I hope this can be one of the solution
    Regards
    Sujit

  • How to enhance the context menu in Web Applications - BW 7.0

    We have to enhance the context menu of several Web Applications and,
    initially, we based our solution on the paper "How to enhance the
    context menu of Web Applications", from June, 2002, but the solution
    described on the paper refers to the BW version 3.0 and we need the
    solution for the BW version 7.0. The technical content described on the
    paper, version 3.0, is very different from the content of the version
    7.0, used by us. Is this feature available for the version 7.0?

    Hi,
    did you find a solution already?
    Thanks,
    Frank

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

Maybe you are looking for

  • SAP HANA Attribute View- Not able to add objects

    Hi All, I've created one attribute view in Modeler Perspective. Trying to add tables on data foundation using "Add Objects". But when table name is entered in pop-up window, it hangs (not-responding). And error log got created as below. I'm not able

  • Very Slow preview rendering for lightroom 5 on import

    I am seeing very very slow rendering of preview images only when using the import function in lightroom 5. By slow, I mean for a shoot of 60 shots in raw, it could take 30 minutes before I can preview them all in the pane to see which ones I want to

  • Data Migration of Excise Duty payables at initial upload

    Hi! Can any one tell me, how to upload initial Excise Duty payable in data migration procedure. for example if different excise duty payables like ED, CESS, SEC.CESS for normal goods and capital goods. thanks in advances. regs, ramesh b

  • Servlet Reloading

    Client: Internet Explorer version 4.0. Server: Weblogic 4.5 on Windows NT 4.0 using JDK1.1.X. I have included the following in my weblogic.properties file. weblogic.httpd.servlet.classpath=/xyz;/xyz/test weblogic.httpd.servlet.reloadCheckSecs=10 Thes

  • Design help please

    Hi all, I am trying to create a design for print services, and I'm trying to see if EJB is a good option. If you know of any similar tutorials/case studies, I'd appreciate a reference. I couldn't deduce anything for this case in Sun's tutorials... I