Check if Text-Frame was deleted

Hi,
i tried "before.." and "after delete" as events to check wether a text-frame is deleted. But it seems that all "objects" in InDesign except the document and placed images/PDFs do not trigger events.
Therfore i have to questions:
- can i "do" something to my text-frame to become an event-triggering obejct?
- if not, how can i check if an text-frame was deleted?
regards,
Frank

You can't do this and this is the wrong approach anyway. The quick answer is triggers are not supported on sys objects, this is to prevent you from corrupting the data dictionary. The longer answer is that v$ views aren't in fact views of tables they are views of memory space of the Oracle executable, made to look like views. They aren't 'inserted' or 'deleted' in the way that regular tables are, the views are 'updated' by the Oracle code updating it's own memory during the course of execution.
To track an application that has no instrumentation, you would need to trace the database session(s) that the application uses. You need to read about sql_trace (AKA event 10046) and the dbms_monitor package (on 10g) or dbms_system.set_ev packaged procedure (9i and earlier). You very unhelpfully did not provide your Oracle version. This will produce a trace file that can be anaylsed using tkprof (comes with the database), trace analyzer (requires Metalink) or any of a whole number of 3rd party trace file tools, some free, some commercial.
If your application uses PL/SQL, the DBMS_PROFILER package is also very useful.
Google, search these forums.
HTH
Chris

Similar Messages

  • How can I verify my iCloud account when my email account was deleted?

    Hello,
    I would like to know how to verify my iCloud account after it being "not verified".Also, my previous email was deleted and it asks me to check my email in order to verify the iCloud account. I am worried that if I delete my iCloud account and create a new one, all my data will be wiped out and I will not be able to transfer important data among multiple devices.
    Please find a solution for this problem,
    Thank you!

    But I can't complete the verification because it asks me to check my email (which was deleted)
    But I have an idea! Do you suppose I can reset my iPod touch to default>Have all my data on iTunes/folders>Set iPod touch as a new device> Create a new account with my fresh email>Connect to iTunes>Back up!
    Reply if you think this would work so I can actually do it
    Thank you

  • Indesign CS3 text frame parameters and export PDF

    could use some help with the following:
    I need to edit and export a large number (7000) Indesign documents (one page)
    1. check for locked text frames and unlock
    2. group all text frames
    3. set grouped text frames at x=8 millimeters, y 10 milimeters
    4. export the documents to PDF in a subfolder called "Out"
    5. save and close the documents in the same subfolder as an Indesign CS3 document (orig is CS2)
    This is what I've been trying soo far:
    Now only checking one text frame - should be all text frames
    "close document 1 saving yes" doesn't work because the originals are from CS2
    I get a PDF called "Adobe Indesign SC3"
    set processFolder to choose folder with prompt "Choose a folder that contains Innd Docs to process"
    tell application "Finder"
    if not (exists folder "OUT" of processFolder) then
    make new folder at processFolder with properties {name:"OUT"}
    end if
    set the destination_folder to folder "OUT" of processFolder as alias
    end tell
    tell application "Finder"
    try
    set listFiles to (files of contents of processFolder) as alias list
    on error
    set listFiles to (files of contents of processFolder) as alias as list
    end try
    repeat with thisFile in listFiles
    tell application "Adobe InDesign CS3"
    with timeout of 120 seconds
    activate
    set properties of view preferences to {horizontal measurement units:millimeters, vertical measurement units:millimeters, ruler origin:page origin}
    open thisFile
    set myDoc to document 1
    set docName to name
    tell myDoc
    set transform reference point of layout window 1 to top left anchor
    set myBox to text frame 1 of page 1
    set properties of myBox to {locked:false}
    move myBox to {8, 10}
    end tell
    export document 1 format PDF type to (destination_folder as string) & docName & ".pdf" using PDF export preset "[Drukwerkkwaliteit]" without showing options
    close document 1 saving yes
    tell application "Finder" to move thisFile to destination_folder with replacing
    end timeout
    end tell
    end repeat
    end tell
    end
    end
    Any help is greatly appreciated - Doing this manually is a lot of work!!!!!
    Peter

    You're asking for the name of the application, not the document -- you need<br />to do it after your "tell myDoc".<br /><br />You could also get the name from the alias you open, rather than the open<br />document, something like:<br /><br />repeat with thisFile in listFiles<br />set oldDelims to AppleScript's text item delimiters<br />set AppleScript's text item delimiters to {":"}<br />set docName to text item -1 of (thisFile as Unicode text)<br />set AppleScript's text item delimiters to oldDelims<br /><br />You should also move your "set properties of view preferences" line to after<br />your "tell myDoc".<br /><br />-- <br />Shane Stanley <[email protected]>

  • Do text frames have an (internal) "number / creation date"?

    Assumption:
    I suspect, that (automatic list + paragraph) numbering depends on when a text frame was created.
    Situation:
    I have made a paragraph text style with paragraph numbering and list numbering. Works fine, so far: I can even create multiple text frames (the three green ones in the below picture) that are not connected with / chained to each other and the numbering still is correct.
    Problem:
    But when I create a new text frame (with the color pink in the picture) later on, which shall be inserted as e.g. second in order, the numbering still orientates at the frame creation. Correct would be: the pink paragraph "5. new frame" should be numbered as "3.new frame", the green paragraph "3. drei" should then be numbered as "4. drei" and so forth.
    Question:
    How can I change the frame creation number? Can it be changed at all?

    Thank you, jmlevy, this works!
    But when dealing with an object with many pages, this can be tedious, though. So, is there another way? Is there a way to change the text frame order by e.g. entering a new value for its number somewhere within InDesign?

  • Deleting text frames without a specific fill color

    I was wondering if someone might be able to tell me a simple way in javascript to scan through all the text frame in my active document that are NOT filled with the following RGB values...
    fillColor.red = 11
    fillColor.green = 142
    fillColor.blue = 196
    Windows 7 64 bit, CS4

    I changed my concept to make it more dynamic for my purpose. I am checking to see if the fillColor typename is RGBColor or GrayColor. I am deleting anything that is GrayColor. Thought I would share the code for the community to use as you wish. Hope it helps somebody!
    var doc = app.activeDocument
    var allText = doc.textFrames;
    var readFillColor = [];
    for(i=0; i<allText.length; i++)
      textItemsRange = allText[i].textRange;
      readFillColor[i] = textItemsRange.characterAttributes.fillColor
      if(readFillColor[i].typename == "RGBColor")
      //alert("Found RGBColor")
    else{
      //alert("Found GrayColor")
      textItemsRange.remove();

  • Finding What text was deleted in a Document

    How do I find out what text has been deleted in a document?
    the public void removeUpdate(DocumentEvent e) method is called when the document has already been updated, so the offset and length in the document event seem to be useless. The UndoableEditEvent seemed promising, but apparently the modifications stored in the UndoableEdit are not accessible...
    This shoudln't be that hard! Off course, I could keep a copy of the document text updated, but that seems awfully inefficient!

    I found a solution, but I'm not entirely satisfied, so the question is still opened. The solution is to extend one of the default document classes, overriding the remove() method to notify a new type of event, and then invoke super.remove(). This works, but it's not perfect, because if the super.remove() doesn't succede (i.e. throws an exception) what was notified is wrong.
    I'm still very surprised that there is no obvious way of capturing the removed text... please let me know if you can see any.

  • Mac os x leopard how to delete groups of text frames?

    Deleting individual text frames in MS word is time consuming.  How can I delete a group of frames at one time?

    You also may want to repost on the Office for Mac Product Forums, it's a Microsoft forum and where most of the MS Office users hang out.

  • How to check, when the Maintenance Order was deleted

    Hello Experts,
                          Can you please tell me of how to check for the maintenance order that when it was deleted and who has deleted that.
    If any T-Code is there or at the Table level also to check the requirement.
    Regards,
    Yawar Khan

    If you want to track when you have put deletion flag, you can track it using above mentioned techniques.
    If you archived (deleted) permanently, then using archival history only, you can check I guess.
    Check these links. While deleting maintenance order, we can hisorical order with same number. Using that creation date, you can track.
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e6552462a11d189000000e8323d3a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e4d2f462a11d189000000e8323d3a/frameset.htm

  • Please can someone explain how to retrieve deleted text, I was clearing old text when one came through at the same time so was also deleted.

    Can someone please tell me how to retrieve deleted text. i was clearing old texts when a new one came through at the same time and was deleted also.  My last update was  iOS 8.1.2

    You restore from a backup that was created after the text was received but before it was deleted.
    But if you literally deleted it right after it came in, then it's not recoverable.  Have the other person resend the text.

  • Delete Text Frame out of page

    I want to delete text frame either is blank or have text that out of the page in all opened document, below script can delete all text frame in all opened document, but I want to keep the text frame inside the page, can anyone help me?
    var myDoc = app.documents.length;
    for (var k= myDoc -1; k >= 0; k--) {
    var myStories = app.documents[k].stories.everyItem().getElements();
    for (i = myStories.length - 1; i >= 0; i--){
        var myTextFrames = myStories[i].textContainers;
        for (j = myTextFrames.length - 1; j >= 0; j--)    {
                myTextFrames[j].remove();

    Hi creativejoan0425
    Give this script a try:
    It delets all Textframe which are totaly off a page
    It delets all empty Textframes
    Script works for multiple document and multiple pages.
    main();
    exit();
    function main() {
         var myDocs = app.documents.everyItem().getElements();
         for (var j = myDocs.length -1;  j >= 0; j--) {
              var myTextFrames = myDocs[j].textFrames.everyItem().getElements();
              for (var i = myTextFrames.length -1; i >= 0 ; i--) {
                    // is null, if the textfame is totaly off the pagae
                   if (myTextFrames[i].parentPage == null) myTextFrames[i].remove();
                   // deletes empty Textframe
                   else if (myTextFrames[i].contents == "") myTextFrames[i].remove();
              } // for
              myDocs[j].save() // Save the actual Document
              myDocs[j].close()     // close the actual Document
         } // for
    } // main
    Kind Regard
    Dani (from Switzerland)

  • Hi, is there a possibility a text message /SMS) that was deleted before a long time to restore

    Hi, is there a possibility a text message /SMS) that was deleted before a long time to restore

    It can be restored only if you have an iTunes or iCloud backup that contains the message. If not it is gone.

  • Problem with text frame dropshadow not completely printing to pdf file.

    Hi and thanks for your speedy replies!
    I am editing a file that had altered corner text frames with a .25 inset and a drop shadow added, .05 stroke and paper swatch. When I deleted text everything shifted so I had to recreate the special frames on select pages. These new text frames are not showing the top and left sides of the frames when saved to pdf file. The right and bottom drop shadow are showing.  What am I missing?
    Cheers!

    I am using the latest version in CC. I tried several exports directly from ID, PDF/X-3:2002, PDF/X-1a:2001 and the low res setting, all with no changes.  None showed the left or top border on the frames in question.
    So I was getting the first screen shot instead of the second which other similarly formatted frames showed.  I checked every setting I could find and they were all the same.  The problem just occurred after the point in the doc that I had made changes resulting in some pages being deleted and the page formatting being thrown off which I corrected with the appropriate saved page formats.  But when I went to set up the frame dropshadow and accompanying stroke and swatches, the outline just would not show in the pdf although it appeared to be showing in ID.
    I've since discovered a work around for the editing so no pages were deleted, but I need to figure out why this happened and what I am not seeing. Perhaps a setting to show the border? Or maybe it is some overall setting that I need to be looking for? Just weird, weird, weird...

  • Can you change a story or text frame's index? (re autonumbering)

    Does anyone know if there is a way to change the index of a text frame or story without changing the actual visual layout of an InDesign document? So far all I can come up with is to cut the frame and repaste it into the document. You can move a story within the index list of a document, but that visually cuts and pastes the story text.
    actDoc.stories.item(1).move(LocationOptions.BEFORE, actDoc.stories.item(0));
    I can't see any method to change the index of a text frame (other than cutting and repasting).
    I want to put together some tests. I have a bunch of questions. Each question is a single story in a single text frame in an InDesign document. The text frame is linked to an InCopy document. The first paragraph of the question has a "QuestionNumber" style but the para style has no numbering. I want to have only one version of each question (the InCopy story) but to put the questions into different tests in different orders with different numbering. What I do is to create an InDesign template for the tests that has a QuestionNumber para style that includes autonumbering with the "Continue Numbers across Stories" option checked. This works beautifully and the questions are numbered in the order in which the text frames (and stories) are (via a script) copied from the question document and pasted into the test paper document. When the same question/story/textframe is used in two tests it is numbered in the order in which it is pasted into each test paper (but the original stays the same because it has no numbering).
    The next step would be to be able to reorder the question numbers within the test paper (if you wanted to, say, swap questions 18 and 20). To do that you have to change the index of the story because the autonumbering across stories seems to depend on the index of the story.
    What seems to happen is that stories are indexed in the order in which they are pasted into a document, but text frames are indexed in the opposite order. If you paste a text frame with one story into a new document, it is textframe.item(0) and story.item(0). If you then paste a second one into the document it is story.item(1) but textframe.item(0). The first text frame becomes textframe.item(1). When you cut a text frame and repaste it, it is reindexed as if you were pasting it for the first time.
    The autonumbering also seems to be segregated by page. If you have questions 1 and 2 on page 1 and questions 3 and 4 on page 2, you can move around the text frames for 1 and 2 on the page but the numbering stays the same. Likewise for 3 and 4. If you drag 3 across to page 1 it stays as 3 but if you drag question 4 across to page 1 it becomes 3, and the original question 3 on page 2 becomes question 4. It is confusing but makes sense in a weird way once you get the hang of it.
    Anyway, I have probably answered my own question and the best way to renumber the questions in a test is to run the script again and create a new document using a new question order.
    But any other ideas are welcome.
    Thanks.

    hi Brian
    which version of InDesign you have ?
    I have checked these steps on CS3 and CS4:
    first I've set ON to option in preferences to preserve links when placing
    then I've placed DOC file as AnchoredTF in new Story
    then I've copied this AnchoredTF and pasted it on page, and then I've pasted it as another AnchoredTF - each time there was new lick created to the same DOC file
    then I've set OFF to option in preferences to preserve links when placing
    and even when I again copied and pasted this AnchoredTF with placed DOC file - it still add new link on Links palette
    so maybe with InCopy stories there is next bug or next "feature" ...
    [edit]
    ok - I've checked InCopy file - after exporting TextFrame as InCopy Story
    and it's like you've said - pasting on page - new link is created - pasting as Anchored - link isn't created ... no matter if option in preferences is set or not ...
    verdict - we've found new bug
    BUT ... if you link it again - by CTRL+D method - link is preserved even if option in preferences is set to off so you can have more than one InCopy Story placed as AnchoredTF in same parent Story ...
    robin
    www.adobescripts.co.uk

  • How can I get rid of text that was made in iMovie while in FCPX

    I imported a video from my imovie and am in the process of adding text in the frames, is there a way to get the old text that was embedded in the imovie, can it be cut or editied out of the frames, I don't see any options that allow you to select it and delete. I just don't want to have to go back and delete it out as I have already made some major improvements on the exsisiting project.
    Thanks,
    Bob

    Dude, the FCP-X forum is located here: https://discussions.apple.com/community/professional_applications/final_cut_pro_ x?view=discussions
    This is the Final Cut Studio forum.  There are no similarities between the two.
    -DH

  • Adding a graphic or photo behind a text frame in InDesign CS

    Hi Everyone,
    I'm hoping I can get some help please on a problem I'm having. I'm switching from QuarkxPress to InDesign CS -  after having it for nearly six years! - thought it was time learn InDesign. So far, I really like it. But, I've discovered a small problem I never encountered with Quark but I'm having it with InDesign. I have placed a vector graphic separately behind a Headline text frame (also tried a photograph). For some reason, the vector graphic totally covers up the Headline text. I have tried "send to back," that didn't work, it still covered the text. I made sure that there was no fill color at all. I even tried putting the graphic on a separate layer "behind" the Headline text and that still won't work. Could someone please help me. I would so appreciate it.
    Snippet

    Does your image use text wrap? Unlike Quark, by default InDesign's text wrap affects text both in front and behind the wrapped object. This is good becasue if you use transparency you want the text onthe very top to prevent unwanted outlining or rasterization at ooutput. You can change the behavior to mimic Quark in the application preferences, or you can open the text frame options for a frame you don't want to be affected and check the box to Ignore Text Wrap.
    The other posiblility is a stacking order problem. If your text is on a master page it will be behind any objects onthe same or higher layer on the document page. On any given layer, master objects are always behind live objects on the page.

Maybe you are looking for

  • Not able to download songs in nokia music lumia630

    Not able to download songs in music store its showing no free subscription for this mobile model.

  • Front Row No updating Itunes

    I have a strange problem in Front Row and ITunes. When I watch a new video in from my library in Front Row the little blue ball showing a new items goes away but when I open ITunes it's still there. If I go back in to Front Row it's gone. I have had

  • Can't register my UDID

    I've just tried to install iOS 7 on my iPhone, and I just got it into my mind that I have a new device. I tried to register my new UDID. In the member center clicked on Certificates, and I got this screen (on all of my devices): (I still have 45 days

  • UCM certified with Microsoft Exchange Server ??

    Hi, Is UCM certified with Microsoft Exchange Server ? how can we integrate UCM with Microsoft Exchange Server as we have Desktop Integration Suite to integrate with MS Outlook.. Thanks, NL

  • Unix:  Any support for creating com objects?

    I'm looking into migrating a CF 8 server from Windows to Unix. I see in the documentation for CreateObject that com objects are not supported on Unix, "Note: On UNIX, this function does not support COM objects." Obviously, this won't work on Unix: No