Disable cut option in Indesign CS5.5

Hi,
I want to disable CUT option in indesign once document is opened. I have added ActionFilter.cpp in my project and added following code in "FilterAction" function,
IDocument* myDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();
    if (myDoc)
       switch(actionID->Get())
               CAlert::WarningAlert("1");
            case kCutActionID:
            case kCopyActionID:
            case kPasteActionID:
               CAlert::WarningAlert("2");
                *componentClass = kSampleActionComponentBoss;
                break;
            default:
                break;
But it is failed to disable CUT menu. and even warning alert "1" is not displayed. Am I missing anything in this? please let me know.
Thanks in advance

Hi,
I have solved this issue
took help of SuppUI sample code of indesign.
Thank you

Similar Messages

  • Disabling font tab in InDesign CS5 Control panel

    Hi,
    Is there any option to disable the Font change option in the InDesign CS5 Control panel. That is the user should not change the font using Control panel.
    Thanks,
    Gopal

    What I need here is, whenever the user change the font using Control panel, an alert should be made to the user and the font should not be changed.
    I am confused why the method the user chooses matters.
    Why is it a problem if they use the Control panel but not the Character panel?
    I don't think you can achieve this with scripting.
    With substantial effort, you maybe able to detect when they change a font and pop up an alert, but it is pretty difficult.
    It would be more doable but still hard in the C++ SDK.

  • Turning off Keep Options in InDesign CS5

    I'm having a real nightmare with Keep Option in ID CS5.
    I was hoping I could use them to stop orphans but they seem to create them unnecessarily.
    I turned on some Keep Options in my style sheet for my body text and I couldn't get them to work the way I wanted.
    Now I just want to turn all the Keep Options off and have the text flow normally - when it reaches the end of the text frame to go to the next regardless of where it is in the paragraph.
    So I have all the Keep Options turned off in the Paragraph Style Sheet and the lines are still breaking too early.
    Is this a bug?

    Hello Jongware, I take your point that the Keep Options in the Paragraph Styles is pretty self explanatory and I have to admit to causing some of the confusion myself.
    But to prevent widows and orphans selecting "Keep Lines Together", then filling in 2 in the "At Start/End of paragraph" Start and End lines, unfortunately breaks 3 or 4 line paragraphs at the beginning of pages.
    (I read somewhere that widows are at the top of pages/columns; orphans at the bottom).
    Also I find the Keep Options dialogue box from the Paragraph palette rather confusing:
    The "Keep with Previous" with a check box followed by an indented "Keep with Next" just throws me!
    But thanks to you and everyone else, I pretty much get it now.

  • Assigning a Scratch Disk in Indesign CS5

    Hello,
    I just installed CS5 after working with CS4. This may be a silly question... but I am wondering if there is a way to assign a scratch disk in Indesign CS5?
    I have located something in Preferences > file handling - Document Recovery Data. I see that you can browse and select a folder for recovery data to go to but I don't think this is what I am looking for.
    Correct me if I'm wrong but the scratch disk is used to temporarily store information such as things you've copied & pasted and helps alleviate memory issues? When I was working in CS4 I had a memory error issue and we fixed it but installing more memory and assigning an external hard drive specifically used as the scratch disk. I'm trrying to prevent any future issues...
    In Indesign CS4 I use the Preferences Panel to set up the scratch disk location. I've also been able to set up the scratch disk in Photoshop CS5 but I'm not able to locate the same option in Indesign CS5.
    Any input would be greatly appreciated! Thanks!  

    Eugene Tyson wrote:
    InDesign doesn't have a scratch disk, that's photoshop you're thinking of.
    A scratch disk is basically your hard drive. It uses the drive as temp swap (or virtual memory/paging file) when the RAM isn't able to cope. But InDesign does not need this.
    If you want you can increase your Paging File in Windows but it's not for the feint hearted and may have adverse affects on your system performance overall.
    On the Mac you can assign more memory to an application http://support.apple.com/kb/TA21666
    Hi, Eugene:
    The Apple support reference piqued my interest because I wasn't aware of memory management in OS X, except that Parallels and VMware Fusion offer the ability to favor the demands of the host OS (Mac OS X) or the hosted OS (like Windows, Linux, etc) - the favored one gets more resources, and the other gets the short end.
    This Apple support note states it's for OS versions through 9.x, so there's no benefit to systems running InDesign.
    If it's an important requirement to the original poster, it's worth filing a formal feature request at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • 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 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

  • InDesign cs5 keeps crashing whenever I try to alter the footnote formatting via Type Document Footnote Option or Paragraph Styles using Span Columns

    InDesign cs5 crashes whenever I try to alter the footnote formatting by going to Type > Document Footnote Option > and then I try to select a Paragraph style I've already set up. The Paragraph style I need to use includes Span Columns, which I think may be the issue. I think this because when I then I tried to create a new document and re-import the styles, it won't even let me add Span Columns feature to the Paragraph Style in question.
    I can send screen shots of everything (e.g. dialog boxes) if that would be helpful in understanding the issue I'm having.
    Any help would be greatly appreciated!!!!!!!!!!
    Thanks.

    It does require running a script to accomplish what you want. Here's the one usually recommended:
    http://www.kahrel.plus.com/indesign/footnotes_columns.html
    Here are instructions for installing scripts:
    How to Install a Script in InDesign That You Found in a Forum or ...

  • I am using Indesign cs5 version 7.0.4 with a mac OS X version 10.9.4. I am having an issue where the save and save as option disappears. I am exporting the file as .idml and then resaving to avoid losing work but has to import all the images which takes a

    I am using Indesign cs5 version 7.0.4 with a mac OS X version 10.9.4. I am having an issue where the save and save as option disappears. I am exporting the file as .idml and then resaving to avoid losing work but has to import all the images which takes ages. Any help out there?

    I believe there are a couple of similar threads about CC or CC2014 behaving this way that might give yo some hints, but CS5 is not supported on your OS and may not run properly regardless of what you do. An in-place OS upgrade or an attempt to migrate the application would both be major problems for ID, so if you did either of those things you'll want to uninstall, run the cleaner tool (CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3) and reinstall.

  • Indesign CS5.5 ePub export option missing

    Hi there
    I have just upgraded indesign CS5 to 5.5 - specifically to publish ePub books and I come to do my first one and the option isnt available under the "export for" option there is just a greyed out Buzzword option. I am probably doing something wrong but I have looked at all the options and searched the Internet and cant find an answer - any ideas?
    Many thanks
    Howard

    For a single document, just use File>Export and choose EPUB from the pop-up labelled Format at the bottom of the Save dialogue. (That's what it's labelled on a Mac, may be slightly different if you're on Windows.) If you have a book, there's an Export Book to EPUB... command on the fly-out menu on the Book panel.
    Crashes InDesign every time when I try it lately. That's probably just me, but don't say you weren't warned.

  • How can I change the import options for an Excel table in InDesign CS5.5?

    Hi,
    I have a problem with an InDesign script that works this way in ID CS4 and ID CS5, but stops working in ID CS5.5.
    What the script should do, is to change the import preferences for a table saved in an Excel file so that I can place an unformatted table into a new textFrame in my InDesign document. The Excel document is an .xlsx-File.
    function setExcelImportPrefs() {
        with (app.excelImportPreferences) {
             app.excelImportPreferences.tableFormatting = TableFormattingOptions.excelUnformattedTable;
    What the script does (or at least seems to do) is: nothing. The table that is placed into the textFrame by the script is always formatted, as this seems to be the standard preference of InDesign CS5.5 for importing tables out of excel files.
    Does anybody have a hint for me how to make the script work in ID CS5.5?

    Okay, now it is working. I had to save the XLSX-file into the older XLS format, but that seems to work quite well.
    But I won't ever understand why InDesign loses its backward compatibility from one version to the other.
    Thank you, -hans-.

  • InDesign CS5 lag slow on Snow Leopard 10.6

    I am reaching the end of patience with this one and starting to wish i'd not paid for a CS5 upgrade.
    I installed under Mac OS 10.5 originally, did all updates and had font and other deathly slow issues in Photoshop.
    In the end, I enacted a TOTAL system maintenance routine and upgraded to System 10.6 in order to try and get round probs with CS5.
    I since have ditched all prefs, reset all caches, cleared all logs, done total font checks and removed a couple of corrupt ones, repaired disk permissions etc etc etc....  Photoshop 'appears' to work ok, although saving and saving to web can be sluggish (pizza wheel waiting for it....)
    InDesign CS5 is now taxing my productivity. I thought it was my Wacom Intuous 3 tablet, but find the issue (at the mo as I've not noticed anything significant yet in Illustrator or Photoshop) only occurs with InDesign CS5.
    The issue is the glitchy interface - stepped or delayed movements of objects across the page, selecting menu dialogue boxes can take a second when i click on a value, slightly steppy movements make selecting the tiny up and down arrows on some menus very tricky to be accurate.  PLUS saving and saving PDFs in particular as well as PLACE images CMD-D can be deathly slow.  It used to be almost instaneous, slowed only by the hard drive firing up. Now i try to do things and have to wait on many actions. It's doing my head in!  This is NOT PRODUCTIVE.
    In InDesign i have tried turning off Live Redraw, dropping display quality to fast (makes working almost impossible as i need to see what i'm doing), and disabled the Preflight option that is on by default, and i'm sure other options too i've seen on forums.  But no better.
    I have a Quad Core 3Ghz Intel Mac with 14Gb RAM, and an NIVIDIA GeForce 8800 GT graphics card.
    IS this APPLE or ADOBE issue?  How on earth can i get my speedy productivity back so i can move around the screen smoothly, save and place quickly, and select menu dialogues without waiting for it to react..... HELP!

    markmld wrote:
    thanks for the heads-up Peter.  Id not have thought to deactivate Adobe stuff first.
    I've ordered a new WD Caviar Black (larger cache than i have on current drive) so a slight upgrade of drive, and as you say, a preserved backup.  I dont have any spare bays in my Mac as i've filled them with other drives used for backups and other stuff, so i may need to buy an external case for the SATA i'm taking out.  No matter, it will be sorted this weekend.
    thanks all for help. fingers crossed this rather drastic step works!
    Glad I thought of it. However, if you're keeping the drive, and don't have other installations, you can keep the backup drive installations active if you'll have a use for them if you boot from that drive. With your slow performance issues, you'll probably not want to use InDesign on that drive, but perhaps you'd want to use some other rarely-used apps from that drive. Yes, space, the final frontier.
    OWC has USB drive adapters that work with many types of drives, including SATA, for about $30. They're open gizmos - no enclosure, no power supply, no fan, etc. They also have notebook-sized (2.5") drives up to 1TB  with USB portable enclosures under $200, less for smaller.
    Consider an extra empty drive for use with Time Machine, as an ongoing automatic backup. It's very comforting. An alternative or supplement is yet another drive that you use with Carbon Copy Cloner or SuperDuper, inexpensive shareware, that make complete and/or incremental backups, on demand or on schedule. I use Time Machine to back up a Time Capsule drive - wired or wirelessly - and CarbonCopy Cloner to back up to a portable USB drive that's Velcro'd onto the top case of my MacBook Pro.
    Oh, and for suspenders to go with my two belts, or maybe that's a belt to go with my two suspenders, I also use Carbonite online backup - wirelessly or wired, about $5/month for unlimited storage. Their gotcha is that data is kept while it's on your drive, and then they delete it from your storage 30 days after you delete it from your drive. I had tried other online storage - Mozy, and some others, but at that time, about a year ago, they didn't work reliably. Probably better now. Not sure if they keep data after you delete it from your drive, or for how long after you delete it. I think also that some online storers define "unlimited" differently.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Indesign CS5 Buggy Crashes Many times per day

    I manage to crash CS5 at least 10 times per day. Cut and paste from one layter to another seems to do it alot. Running on a new Core I7 machine. Very disappointed. CS4 rarely crashed. Also I wish Adobe would focus on performace of their programs. CS5 has a few marginal things over 4 but to Adobe performance never seems to matter.
    Rob

    There are quite a few document elements I've ran into that were valid in CS3 layouts that InDesign CS5 will not copy and paste. I've not ran into any elements created in CS5 that didn't copy and paste expected.
    Generally I've found it to be elements that were never meant to be text frames that have been converted to text frames via the text tool click to create frame option. It's mostly when elements that should have been type on path through that tool being created as a frame.
    Also, though this forum occasionally has some venting is generally support oriented. This late into CS5 most people aren't really concerned with the relative displeasure of new users. Getting used to it is the best way and someone may come along with the link to the feature request for to vote for what you want to see. I'll sympathize that things aren't going to get better and performance is likely to continue to degrade, that much of the new stuff is designed for next generation hardware and won't perform even on great hardware now, such as live screen drawing and not making me swear with files that used to not make me swear (particularly EPS which although I know is dead is very much alive in the history of a 20+ year old art departments past files).

  • Unable to debug indesign cs5 plugin in windows

    Hi, again. Originaly posted here: http://forums.adobe.com/thread/766469?tstart=0
    We are having some problems with an indesign sc5 plugin, it works perfectly in macosx but in windows it causes indesign to crash. Anyway after some trouble shooting we tried running it in debug indesign. Problem is that the debug version of indesign wont even start, it fezzes in the splash screen on "Registering xxx plug-ins". It hangs before we can write anything in log files and thatching a debugger gives nothing. Closer inspections
    revealed that all the indesign treads is in "waiting" state. Waiting for what? Don't know. Killing one of the threads allows indesign to start but it will not have loaded the plugin and we are back on square one unable to debug.
    Anyway I installed the osx version of debug indesign and starting it gives an assert like: 
    No translation of key 'com.adobe.rc.operationalmessages' to British string. 
    BreakStrToDebugger
    ASSERT_FUNC
    Examining the stack of the indesign main thread in windows gives pretty much the same thing:
    0, ntkrnlpa.exe!KiDeliverApc+0xb3
    1, ntkrnlpa.exe!ZwYieldExecution+0x19ae
    2, ntkrnlpa.exe!NtWaitForSingleObject+0x9a
    3, ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
    4, ntdll.dll!KiFastSystemCallRet
    5, kernel32.dll!WaitForSingleObject+0x12
    6, PMRuntime.dll!ClientShowAssert+0x8d
    7, PMRuntime.dll!BreakStrToDebugger+0x15
    8, PMRuntime.dll!ASSERT_FUNC+0x117
    9, NETAPI32.dll+0xbe86972
    (as reported by the ProcessHacker process viewer)
    So the win version is trying to show an assert window but fails, locking indesign in the splash screen? Stoping indesign before any plugin execution?
    As we cant get any debug information out we don really know what the problem is, making it rather hard to debug. We have triple checked the build and linking options. Studied the plugin exports. Inserted an ridiculous amount of trace statements in the code, doesn't work in the debug version but anyway.
    Have anyone had a problem like this or know what might cause it?
    What happens in the indesign startup process, what does the “Registering plug-ins” actually do? It's not executing any plugin functions and the the initialization of the plugins doesn't happen until later.

    You are correct in that none pf the plug-in code is executed during the "Registering ### plug-ins" phase. What is done here is simply loading the plugins by reading from their resource definitions. For example, if you try to load a CS4 plug-in in InDesign CS5 or if you try to load a release plug-in in debug version you will get errors and popups here and your plugin will not load and be available (these are just example errors and may not be relevant to your case). As far as I know InDesign should not crash just because there is a problem with your plugin, but there could be bugs.
    I would recommend:
    1. Remove your plugins and verify that InDesign debug starts properly without any 3rd party extensions.
    2. Compile one of the SDK sample plugins (debug target) and make sure that InDesign still starts properly.
    3. Create a new project using DollyXs, compile it and make sure it loads in InDesign.
    4. Remove the template files and add your own source files except the basic .fr file and make sure it still loads in InDesign.
    5. Keep changing things one at a time in your .fr file and verify it still loads until it looks exactly like your original .fr file.
    Good luck.
    Note: "No translation of key 'XXX' to British string." errors is in general quite harmless. It's only a problem with the string translation and should only affect string output in menus/dialogs etc. They should of course be fixed, but can generally be ignored for a while unless an infinite ASSERT loop prevents you from debugging.

  • Cross reference or hyperlinking not working for InDesign CS5 Book to ePub

    I cannot get hyperlinks or cross reference links to work when generating an ePub from InDesign CS5. (7.0.0.355, Mac OS 10.6.2)
    Here's how to recreate a simple test demonstrating the issue.
    1. Create a new InDesign Book (File -> New -> Book)
    2. Create document one (File -> New -> Document)
    3. Create a text box and type "Table of Contents"
    4. Create document two (File -> New -> Document)
    5. Create a text box in it and type "Story One"
    6. Create a new paragraph style and assign it to the Story One text
    7. Save document 2. I just kept the name Untitled-2.xhtml
    8. Back in document 1, add a cross-reference and select document 2, the style you created, and then "Story One". "Story One" should now appear under the previously typed Table of Contents text, and when highlighed, should show it is an active cross reference in the Hyperlinks panel.
    9. Save document 1. I just kept the name Untitled-1.xhtml
    10. Add both documents to the Book and save the book.
    11. From the Book panel, select Export Book to EPUB...
    12. Save the epub file and open it in Adobe Digital Editions.
    Note that the text "Story One" appears as a hyperlink but when clicked does not switch to the document 2. It does nothing apparent when clicked.
    Looking at the XHTML source for the first document, it is immediately evident why. The filename for document 2.thml is missing.  It looks like this: <a href="#anchor-anchor">
    When it should be : <a href="Untitled-2.xhtml#anchor-anchor">
    The same thing works if you create a hyperlink instead of a cross reference.
    I note then when I use the option to go to the destinate reference in the Cross Link (hyperlink) panel, it does switch to the second InDesign docuemtn. So the cross reference is functioning (in InDesign). But the link is broken in the ePub for the above mentioned reason.
    Bug? Something I'm overlooking?
    Entire source of Untitled-1.xhtml:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Untitled-1.xhtml</title>
    <link href="template.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="untitled-1">
    <div class="generated-style">
    <p class="basic-paragraph" xml:lang='en-us'><span class="no-style-override">Table of Contents</span></p>
    <p class="basic-paragraph" xml:lang='en-us'><span class="no-style-override"><a href="#anchor-anchor">“story one”</a></span></p>
    </div>
    </div>
    </body>
    </html>

    As far as I can tell, it has NOT yet been fixed in CS5.5.  I'm having the same problem.  I have about 90 hyperlinks to fix.
    And the explanation that Teus Dejong gives indicates it's not going to be that helpful:  "we have found that only the links in documents split by the CS5 exporter will be fixed. For books the script does only work for references to earlier documents in the book, not for forward references. This means in practice that for most books the script will not repair the links and should be seen as a means to add the year only. At the moment I see no way to repair this, because the book epub output of InDesign does not contain sufficient information to repair links referencing forward to others documents in a book."
    It's pretty discouraging.

  • Is it possible to print duplex from InDesign CS5?

    There is no "duplex" option in the print dialog box of InDesign. I have duplexers on both my printers. When I tried to save it as a pdf and print that way, half the page sides are oriented upside down. I don't have a choice of "Flip on long side" or "Flip on short side", which I expected to see in either Adobe reader or InDesign.
    jp

    What Jacob Bugge said.
    In InDesign CS5:
    Print (brings up window) > Printer (tab at bottom of print window; clicking brings up another window) > Layout (drop-down menu) > Duplex Printing & Margin > click "Duplex Printing" and modify Print Area and Stapling Side
    In Adobe Acrobat 9 (full version -- don't know if it's the same in Reader):
    Print (brings up window) > Copies & Pages (drop-down menu)  > Duplex Printing & Margin > click "Duplex Printing" and modify Print Area and Stapling Side
    I have a Canon printer. Don't know if all the submenus are exactly the same, but I'd imagine they're similar.

Maybe you are looking for

  • Making a Form to send to my email address

    Hey, I have no idea how to use scripts or what they mean. All im trying to do it make up a form with Name,email address and tick boxes as a whole form to be sent to my email address. Ive read in the other forms about how to do it but since i don't un

  • How can I add extra tick-box columns to the Evaluation report template?

    Is there a simple way to add additional tick-box columns to the evaluation report template? I want to have a column for every day of the week.

  • Ountbound delivery with MB1B movement type 311

    Hi, I would like to create an outbound delivery when I make the tcode MB1B movement type 311. Somebody could tell me where is it in SPRO? Thank you Regards Kari

  • No conecta mi imessage ni mi facetime

    Hola: Llevo aprox un año usando mi macbook y en todo ese tiempo logre usar mi facetime y mi imessage sin problemas pero ahora que subi a maveriks simplemente no conectan y se quedan pensando... Alguien sabe por que sucede esto?

  • Did bill gates sneak in when they programmed leopard.

    I installed Leopard last week and i have to say that I'm not very impressed with it. First off my itunes stopped working, so i have got that going again now, but my computer seems to be running a lot slower than it was. I know that this has been out