How to disable the saveAs dialog or set default path?

Hi Scripters,
i have big task doing for "enable for commenting in adobe reader"
i have using js code for menu actions is working fine, but after the menuactions the dialog box will shown in "Save As", how to the dialog will disappear or set as default path or save as the same file
below my JS menuactions code
app.execMenuItem("Open");
var mys = this.path;
app.execMenuItem("Annots:ReaderEnable");
this.path;
regards
CSM_PHIL

Hi George,
thanks for your reply,
However, i need to saveas the file with same name that all.
if i the this line: app.execMenuItem("Annots:ReaderEnable"); the dialog box will shown in saveAs the same file with replace yes.
this is possible or not?
regards
csm_phil

Similar Messages

  • How to disable the reminding dialog when close the webi report viewer

    Dear all
    How to disable the reminding dialog when close the webi report viewer
    Background
    When user close the webi report viewer in inforview by click the button in the right-top of the webi report viewer frame. It always prompt a dialog to remind user that the modification will be lost without saving.
    But customer need to disable this dialog, and can clost the report viewer directly.
    So is there any ways to modify this?
    I think it shoule modify some .js file under tomcat, but can not find the solution.
    Thanks a lot, any information woulde be appreciated.
    David Zhang

    I've had the same issue bugging me since installing Snow, er, lion, er, cat, er, cougar, er, Mountain Lion. Incredibly ANNOYING.
    It's stupid stuff like this and reverse scrolling that really turn long-timer users off. I'm personally glad Forstall got fired for blunders such as these.
    I'm serious peeved that turning off iCloud Documents & Data actually deletes documents and data locally. That's just incredibly stupid.
    MANY thanks mende1 for the answer on how to fix it.

  • How to disable the Save button For a pdf?

    Hi,
    I have a requirement that when you open the livecycle developed pdf, the Save option available in the toolbar (Save As icon) and File menu of the Reader should be disabled. A button will be provided in the form separately to provide the Save functionality. Can anybody help me reg. this? Is there any setting available for this in Adobe Pro or any other tool?
    Regards,
    Maria

    It's not really difficult to disable the save button. But it depends on the context from where you want to delete it. even if you disable the save button the user has the option to print screen and create a fresh pdf. So your question has some philosophical aspects to deal with. Please mail me at [email protected] incase of further quries. I've understood your problem and have got a solution but it's not somewhat legitimate to do. I can share it with you through email.

  • HOW TO DISABLE THE SAVEAS OPTION OF A BROWSER?

    Hi all,
    Nice to be back again folks.....
    Well I need to develop an Applet (perhaps even a swing) which when loaded by any browser would disable the SaveAs option of the browser's File menu.
    I tried using the Frame class of java.awt package, the code is:
    import java.awt.*;
    import java.applet.*;
    public class WinAppl extends Applet
    int mc;
    String str="NO OF MENUS: ";
    Font fnt=new Font("Arial",Font.BOLD,12);
    MenuBar mb;
    Frame frame=new Frame("SNODX");
    Window window;
    public void init()
    frame.setBackground(Color.red);
    frame.setForeground(Color.black);
    this.setFont(fnt);
    mb=frame.getMenuBar();
    if(mb!=null)
    mc=mb.getMenuCount();
    str+=mc;
    else
    str+="ZERO";
    public void paint(Graphics g)
    g.drawString(str,50,50);
    but when this applet is loaded ALL the menus of the browser disappear .i.e when this frame applet is loaded by the browser only the title bar of the browser and a red colored window appear, no menus. I dont want all the menus to be hidden, just the SaveAs option of Browser's File Menu to be disabled.
    Thanks in advance.
    True to my nature I am posting this question in some of the other Java forums as well. And as usual sorry for the multiple postings.
    snodx

    Applets usually have absolutely no control over the browser they are running in (with the exception of loading other web pages and other very high level stuff). You won't be able to write an applet that disables entries in the menu bar. And even if you could it wouldn't really help you because most browsers write everything they download to disc (to the cache) where it can be recovered by anybode.
    Last but not least: there are lots of tools for mirroring web sites that will allow users to download and save anything that is accessible for browsers.
    However, you may be able to disable the menu bar and perhaps even change entries in some browsers like ie by activeX controls or javascript. Still this is not a very friendly way for a website to behave...

  • How to disable the save icon in the Acroread plugin

    I am able to tweak some parameters related to printing using the following file on my LINUX box
        .adobe/Acrobat/9.0/Preferences/reader_prefs
    However, I cannot find any documentation about available settings/parameters for this file.
    So not sure how, if even possible, I can remove certain buttons/options from the plugin ...as I would like at a minimum to
    prevent users from saving files they are viewing to the system running the browser they are using.
    Can I disable the icon that allows for "Save a copy..."?

    Long click on this notification a sub menu having field "App info" would appear goto App Info. You can goto there by "Manage Apps">"Skype" also. 
    Uncheck Option "Show Notifications" A dialog will open. Don't worry about notifications for now just click OK. Now the notification icon skype has also been removed. 
    Now simply check "Show notification again". After doing this you would get notifications but skype icon would not be shown in the status bar anymore.
    Issue: this is just a trick you need to repeat this every time sign out and sign in again. Mostly you don't do that so no need to worry.

  • How to disable the save as feature in secured pdf

    Hello ! i have a small issue i recently create a secured pdf file with enable comment option.so save and save as will enable. but i need to disable save as feature because anyone can save it to another format. so then secured feature will disable. please give me a good answer if anyone knows. it'll really help me.

    But of course read carefully and BELIEVE AND UNDERSTAND the warning when you set security

  • How to suppress the Save Dialog before closing the form?

    Dear all,
    I created a form which will open a data connection on a button click.
    I catch the error on failure and code to close my form by app.execMenuItem("Close");
    but a Save Dialog will appear before I can close it.
    (may be because I have done something on opening the form),
    is it able to suppress it? Or simply cannot?
    Best Rgds.

    but it seems that after event.target.closeDoc(true);
    the codes that follow will continue to run,
    but this doesn't happen if I use app.execMenuItem("Close");
    I already include the closeDoc inside the try catch.

  • How to disable the open dialog when I open preview?

    Hi,
    I click on an PDF in the Finder.
    Preview launches, opens my PDF AND OPENS A OPEN-DIALOG (iCloud) ?
    Why? iCloud is nice, but things like that are annoying and I wish sometimes I can go back to Snow Leopard.
    Is there a secret workaround to fix this?
    Maybe a secret scew driver?
    Many greetings to all!
    rob

    I've had the same issue bugging me since installing Snow, er, lion, er, cat, er, cougar, er, Mountain Lion. Incredibly ANNOYING.
    It's stupid stuff like this and reverse scrolling that really turn long-timer users off. I'm personally glad Forstall got fired for blunders such as these.
    I'm serious peeved that turning off iCloud Documents & Data actually deletes documents and data locally. That's just incredibly stupid.
    MANY thanks mende1 for the answer on how to fix it.

  • How to disable "Page Expired " dialog

    Hi,
    I have a problem about session expire. in my web application while time inactive (no request, no access) then "The page has expired" dialog on browser. how to disable the message dialog. dialog title is "Page expired".
    dialog Image link here: http://codeplay.net/wp-content/uploads/2011/05/expired.png
    thanks
    juddi
    Edited by: juddi on May 24, 2011 9:41 PM

    Thats correct the page expired warning does not come when the value is set to 0.
    But , if you remove the page expire warning message by setting the warning value to 0 .The expired page stays there and it the user does a ppr on that expired page he will get an ugly java exception message in popup. If the user does an action which causes a full page refresh there wont be a problem but ppr causes exception in popup like Error in ppr#36 java.lang.NullPointerException.
    If you want to handle that scenario you would need to override ADF Exception Handler http://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler and redirect to error page rather than show an exception in popup. Additionally, if you notice in the custom exception handler when such an view expired exception occurs the message of exception contains ADF_FACES-30108 . So you can check the message and redirect to a custom view expired page.
    Thanks ,
    Achinto Banerjee

  • Is there anyway to suppress or disable the save as jpeg options dialog box on individiual images/pic

    Is there anyway to suppress or disable the save as jpeg options dialog box on individiual images/pictures?

    UI dialogs are an application setting, not a file property. Selectively suppressing them on a per-file basis is not possible, but you can of course create an action and suppress the dialogs...
    Mylenium

  • How can I Hide(not Disable) the Save As and Exit options in the File menu of Excel Documents in SharePoint 2013?

    Hi,
    I want to hide(not disable) the "Save As" and "Exit" options in the File Menu of Excel Documents in SharePoint 2013.When I make changes in the excelribbon.css file of xlviewer.aspx,all the options under File menu are getting hidden but
    I want to hide only these two options while retaining the others.
    Kindly suggest me a method to achieve this.
    Looking forward to your reply at the earliest.
    Thanks in advance.
    Regards,
    Sanjana

    Hi Sanjana,
    To hide the “Save As” and “Exit” options in xlviewer.aspx page in SharePoint, I recommend to use the code below(however it is not recommended):
    <style>
    div.cui-menusection li.cui-menusection-items:nth-child(2)
    display:none !important;
    div#m_excelWebRenderer_ewaCtl_menuJewelSaveAs{
    display:none !important;
    div#m_excelWebRenderer_ewaCtl_msJewelSecondary{
    display:none !important;
    </style>
    As “:nth-child()” selector is supported in IE 9 and later versions, please use IE 9 or later versions’ IE browser.
    http://www.w3schools.com/cssref/sel_nth-child.asp
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How disabled the save icon of pdf document ?

    Hello,
    My gool is to disable the save icon of pdf document when i open the pdf document inside flex application.
    Have you any idea?
    Thank you

    You can not.
    But you can apply document security or apply Digital Rights Management.
    If you can get the users to add a special Acrobat/Reader application folder JS file, you could remove the button, but you would still have the menu items for 'Save' and 'Save as' and the keyboard short cut of '<Ctrl> + S'.

  • I need to disable the save to online account

    How to disable the feature to save a document to online account    

    If that's all you need Public Fox for, then you're better off locking preferences. Firefox can be started in safe mode either by holding down the Shift key or launching ''firefox.exe -safe-mode''
    * https://support.mozilla.org/questions/867180
    For example, if your configuration is Manual proxy
    <pre><nowiki>
    lockPref("network.proxy.type", 1); // lock proxy type to Manual
    lockPref("network.proxy.http", "127.0.0.1"); // lock proxy address
    lockPref("network.proxy.http_port", 8080); // lock proxy port
    </nowiki></pre>
    Also make sure the file permissions don't allow the user account(s) in question to modify or delete them.
    * [https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/acl_set_permissions.mspx?mfr=true Windows XP | To set, view, change, or remove file and folder permissions]
    Notes
    * By default, Notepad will append the .txt extension to saved files. To avoid this, wrap the filename in quotes when saving, e.g. entering ''"mozilla.cfg"'' in the save dialog box will save the file with that exact name.
    * In Windows Vista and later, it's not possible to directly create or modify files under the Program Files folder. To save files there, you can right-click Notepad (or your text editor of choice) and choose Run as Administrator.

  • Is here a way to disable the print dialog box?

    I am trying to disable the print dialog box so that a page can print directly from a javascript "print" command. How can I disable the print dialog box so that it will print automatically?

    You can try creating a new boolean preference - '''print.use_native_print_dialog''' - and set it to '''false''' and see it that still works. That pref was removed from about:config a number of versions ago, but the underlying code might still be present, so give it a try.
    http://kb.mozillazine.org/About:config

  • MS Word: This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box.

    This is not a question. I believe I've found a new issue and the fix for it.
    The situation:
    A brand new iMac 27" running Yosemite 10.10.1
    MacMini server running 10.8.5 server.
    The issue:
    Client on iMac trying to work on MS Word documents stored on server was requiring him to save the documents to his desktop and then copy them back to the folder on the server. The exact error message was, "This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box."
    The issue is unique to this computer in an office of 10 client computers and three servers.
    Attempted fixes:
    Verified that the ".Temporaryitems" folder existed and the permissions were set properly.
    Repaired permissions on the client and the network share.
    Definitive fix:
    By default, Yosemite 10.10.1 uses SMB for connecting file shares. When I overrode the default and switched to AFP protocol, the issue went away.
    I hope this helps someone else.
    Rob

    That was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.

Maybe you are looking for

  • JSP, Data Web Bean, BC4J: Setting the where clause of a View Object at run time

    Hi, I am trying to develop a data web bean in which the where clause of a View Object will be set at run time and the results of the query then displayed. My BC4J components are located in one project while the coding for the data web bean is in anot

  • Can I use this G4 as a server?

    I've got a Mac Pro, a G5 and a Powerbook (non-intel) that I use as primary machines. I have an old G4 running 10.4.11. I'd like to use it as an always-on server, but can I reach it from the Mac Pro network? It doesn't show up as a normal networked ma

  • IPhone: Using embedded QT movies that either Loop or Loop Back and Forth

    Hi to everyone, I'm working on a very simple iPhone app: it has several buttons that launch different QuickTime movies embedded in the application, that will either Loop or Loop Back and Forth. The desired looping behaviour is already set within Quic

  • Disable duplicate email check for external candidate registration

    Hi, I am working with eRecruitment 6.0 and I would like to disable the duplicate email check on the external candidate registration page. Has anyone done this before? I have chased the code down to where it check for correct email syntax but I can't

  • Transfer Button in Siebel Accounts Assets

    Hello all, The Transfer button in the Accounts > Assets screen is showing the following error: Cannot create business component 'Bulk Inventory Txn Popup VBC' for applet 'Asset Bulk Inventory Txn Popup Applet'.(SBL-UIF-00300) We added the Business Co