How to disable the option of "Overprint [Black] Swatch at 100%" in Indesign by Java Scripting

Hi Guys,
We have a requirement where we have to disable the option of "Overprint [Black] Swatch at 100%" in Indesign. This option is available when we go to Indesign ---> Preferences----> Appearance of Black.
Also, if a user opens a file, in which the swatch is already enabled, then it should prompt him for disabling.
I am aware of doing it through AppleScripting, however I would be needing it on both mac as well as Windows Workstations and hence as such I require a JavaScript here.
I am novice to JavaScripting and any help would be highly appreciated.
Thanks Everyone,
Abhishek

Thanks for your response!!
However, currently this action gets applied to only active documents.
Can we keep the status disabled after we close the indesign document. We need to have it disabled in the preferences panel.
Thanks again for your help !!
Regards,
Abhishek

Similar Messages

  • How to disable the option of "Overprint [Black] Swatch at 100%" in Indesign by Apple Scripting

    Hi Friends,
    I am new to Indesign Scripting by Apple Script. As a beginner, I am trying to do some basic scripting in Indesign by Apple Script.
    My aim is to disable the option of "Overprint [Black] Swatch at 100%" in Indesign. This option is available when we go to Indesign ---> Preferences----> Appearance of Black.
    Also, if a user opens a file, in which the swatch is already enabled, then it should prompt him for disabling.
    I can make a display dialog in AppleScript. But, I am bit unsure as how can I go ahead and disable this option. I tried this below script:
    tell application "Adobe InDesign CS4"
          tell every layout window to set overprint preview to false
    end tell
    However, it is changing the view option to overprint preview.
    Appreciate your help and suggestions!
    Thanks,
    Abhishek

    tell application "Adobe InDesign CS5"
              tell the active document
                        set overprint black of document preferences to false
              end tell
    end tell

  • How to disable the validity of a particular Role for 100 users, in a single

    Hi
    How to disable the validity of a particular Role
    which is assigned to 100 users. (disabling the role of change the validity of the role )
    at present am doing manually, by entering into each user and changing the validity of the role
    Thanks.

    > How to disable the validity of a particular Role for 100 users, in a single ...
    ... shot?
    Assign a reference user to the 100+ users and create events in the factory calendar which assigns and removes the role from the reference user only.
    The downside is that it is not scalable for many of the same concepts at the same time, because a dialog user can at one logon time only have one reference user assigned to them.
    Cheers,
    Julius

  • How to disable the option of Resart for application error in SXMB_moni

    Hi Experts,
    I have a scenario of JDBC to Proxy.In this we have created Fault message type to capture any error.The requirement is to disable the option of Restart in SXMB_MONI for application error generated with Fault message.We have made coding for generating application error in inbound proxy code.Looking for a quick reply.
    Thanks
    Deepak

    Hi Mayank,
    I am looking for disabling the "Application Error" generated from Fault message of inbound proxy to "Resart" using Resart button in SXMB_moni of Application system ECC.what I am referring to is how to disable u201Crestartu201D (not resend) of the messages in SXMB_MONI if they have errors.
    For example, the interface to load some entries calls a proxy which may load some messages successfully and some may result in errors. This would appear in the SXMB_MONI with application errors with restart capability. If the user restarts the message it will post the entries again which were successfully posted earlier. We would like to prevent this from happening.
    Thanks
    Deepak
    Edited by: deepak jaiswal on Mar 2, 2010 5:19 PM

  • How to disable the  Options for a decision workitem at runtime

    I want to  disable the  Options (in this  case, Approve  and Reject ) for a decision workitem  at runtime (depending on a condition).

    Hi Dhavalshree,
    As vijay have mentioned, I will not be possible to Disable option of a decision step at runtime.
    You can get this functionality by following the steps mentioned below
    1)     Have one more step (CONDITION STEP) before this decision step in workflow definition
    2)     In the condition step, with the step name say (approve or reject)
    3)     In the condtion tab, define a flag say &YFLAG&
    4)     Write the expression to this flag as &YFLAG& = Y
    5)     Define two outcomes for this condition step i.e. True and False
    6)     Under u2018Trueu2019 give the outcome name as APPROVE
    7)     Under u2018Falseu2019 give the outcome name as REJECT
    8)     Based on the path have two different decision steps in each path of condtion step
    9)     In the Approve Pathu2019s decision step define only one option i.e. Approve
    10)     In the Reject Pathu2019s decision step define only one option i.e. Reject.
    Hope this will help you.
    Regards,
    Deepa Kulkarni

  • How to disable the select options button, while audio is playing in the question template in captivate 8?

    How to disable the select options button, while audio is playing in the question template in captivate 8?

    Apologies for late reply.
    I mean "On Question screens audio keeps on playing even after we have selected an option or options depending on the question type and clicked Submit. How do we stop the audio on selecting an option?"

  • Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?

    Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
    Thanks in Advance

    I don't think there is a way for Edge Code. I'm not sure about Reflow.
    Why don't you just upgrade? That will stop the notifications.
    Randy

  • UCM - WEBDAV - How to Disable the New Folder option in the action popup

    I am trying to implement WebDav functionality. I don't want the users to create folders in the folder mapped to a security group. As long as the user has privilege to contribute to the security group he/she can checkin documents but they should not be able to create folder under it. I did not find documentation as to how to disable the new folder option in the context action menu that pops up on mouse right click. Is there any way we can do that?
    Thanx.
    Edited by: user10991492 on Nov 1, 2010 11:24 AM

    This is the boilerplate text often used in connection to networks in general. It is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe:
    If you are opening files over a network or saving them to a network server, please cease and desist immediately in the event you are currently experiencing problems with one or more files.
    Working across a network in general is not supported by Adobe.
    See: 
    http://kb2.adobe.com/cps/406/kb406793.html
      Copy the CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
        Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work.  It should.
        Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
      If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.

  • How to disable drill option for one column in the WebI Report

    Hi,
    How to disable drill option in a column in WebI?
    When the Drill option is enabled by default all the column in the report will have that enabled,
    I ahve added Hierarchy in the Custom hierarhcy list in Universe.
    I am using BOXI3.1 WebI Reports.
    But I wanted only the hierarchy column to have that drill option enabled, rest all column should display text data.
    PLease let me know if you have any idea.
    Thanks in advance.
    Regards

    Cretae the variable at the report level (may be with the same definiton) and then use that variable in the table
    to disable the drill. It will be displayed as normal text object.
    Drill functionality is enabled only on the objetcs coming from the universe.
    Regards,
    Rohit
    Edited by: rohit12 on Mar 11, 2010 10:12 AM

  • How to disable delete option in the receipt work bench thorugh formpersonal

    Hi Team,
    Please let me know, how to disable delete option in the receipt work bench through form personalization

    Hi.
    Condition
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: RGW_FOLDER.M_PAYMENT_METHOD_DSP
    Actions
    Type: Property
    Object Type: Block
    Target Object: RGW_FOLDER
    Property Name: DELETE_ALLOWED
    Value: FALSE
    Note: The button will remain visible and if the user presses it, the system will ask if he/she want to delete the receipt. However, if the OK button is pressed the receipt will not be deleted and a message will be shown ("You cannot cannot delete this record")
    Hope this helps.
    Octavio

  • How to disable the "close" option of the Explorer from an applet

    Hi, i'm developing a little applet an i would like to know if it is posible to disable the options of maximize, minimize and close of the Internet Explorer from the applet code. If it is posible how?
    Thanks.

    If you disable the close funstion, the user would need to reboot their machine to close the browser. Even if it is possible, it seems dangerous.

  • How to complete disable the option to "restore previous session"?

    I wish to disable the option to "restore previous session".
    This should be disabled from the History tab.

    Maybe disable session restore.
    * http://kb.mozillazine.org/Session_Restore

  • How I can disable the option "Full Screen Multimedia"?

    I am creating a PDF that contains a video. I need to disable the option "full multimedia screen" that appears when I press the right mouse button on the video.
    I am using Acrobat X PRO.
    Thanks !!

    My workaround...
    - Convert Vedio to SWF (using Media Encoder + Flash Pro or 3rd party utilities)
    - Import the SWF Video to Acrobat
    - In the "Edit SWF" -> "SWF" -> Select "Pass context menu click to SWF"
    - Assign Document Permission to lock the setting
    The playback control will pass to Flash Player, it will disable the "View in Floating Windows" and "Full Scrren MultiMedia"

  • How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID promts the previously used email user IDs... Want to disable this feature---How can ot be done ?

    Question
    How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID prompts the previously used email user IDs... Want to disable this feature---How can it be done ?

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    * Tools > Options > Privacy > History: "Remember search and form history"
    * https://support.mozilla.com/kb/Remembering+passwords
    * https://support.mozilla.com/kb/Form+autocomplete

  • How to disable the selection of "Title and logo URL of a SharePoint 2013 site" from browser

    how to disable the selection of "Title and logo URL of a SharePoint 2013 site" from browser or How can we able to set our custom default log to the sp2013 site using code.So that users are not allowed to change from browser again.
    Thanks & Regards, Krishna

    Hi  Krishna,
    For your issue, you need to deploy a farm solution using HideCustomAction to hide site settings link. For example to hide “Title, description, and logo” link you can use below code:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <HideCustomAction
    GroupId="Customization"
    HideActionId = "ProjectSettings"
    Location = "Microsoft.SharePoint.SiteSettings">
    </HideCustomAction>
    </Elements>
    Reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/92f002b7-0e9c-424e-836a-de40c4e5d81f/hide-option-from-site-settings-page-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    http://blog.milanchauhan.com/2013/06/add-custom-section-in-site-settings.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • How do I access iWeb and iDVD on my new Macbook Air?

    I just bought a new MacBook Air and read that I can load iPhoto 11, iMovie 11, and GarageBand from the app store, which I did. I don't see iWeb or iDVD anywhere, on the MacBook or in the app store. I guess iWeb and iDVD are part of the iLife 11 packa

  • Invalid Account Code error when posting AP Credit Note

    Dear Experts, I hit this error message when posting an AP Credit Note based entirely on an existing AP Invoice (nothing was changed in the credit note). Invalid Account Code [Message 173-9] I have found 2 notes, but I dont think they're relevant [Not

  • Manual Activity in SNOTE

    Hi All, Would like to know if adding a new field to the ABAP structure is a manual activity or not in a SNOTE. Regards, Vinodh.

  • Automatic approval of CAT time data

    Dear All, Generally the boss should approve the working times of the employee in CATS. But the issue is that once the employee click on release button, timesheet gets approved automatically. But this approval should be done by supervisor. He was not

  • Quiero cambiar mi id de icloud

    no se como id de icloud el cual actualmente y por error es [email protected] quiero cambiarlo por [email protected] y no se como hacerlo, podria alguien ayudarme con eso?