Please help create a button detach that detaches a document that I have attached with a button join

Let me apologize in advance for what is somewhat a complicated question. I found a thread on this forum that I was allowed to attach a file with a click of a button - now I want to remove this file.  Here's how I'm away.

I created a form in Adobe Acrobat DC that allows you to attach a document in the form of a click of a button.  The way in which it is programmed, it's that the button itself with an action of mouse upward, the following Javascript code is executed:

If (app.viewerVersion < 11) {}

import_pre_11();

} else {}

import_11();

}

Then, there's a document level javascript to attach the file that is scheduled as follows:

Initialize the attachment number

attachment_num = 1;

Original location of file attachment icon

The value of x is incremented below

FOPI var = {x_init:-72, 72 - x:, y: - 72};  In the lower left corner of the page

function import_pre_11() {}

If (app.viewerType = 'Reader') {}

App.Alert ({}

CMSG: "you must user Reader version 11 or later to attach files to this form."

CTitre: "attach file error"

nIcon: 3,.

nType: 0

});

return;

}

Invite the user to import a file

App.Alert ({}

CMSG: "click the OK button to select a file on your system.',

CTitre: "attach a file",

nIcon: 3,.

nType: 0

});

try {}

var rc = this.importDataObject ("Attachment" + attachment_num);

If {(rc)

attachment_num += 1;

App.Alert ({}

CMSG: "attachment successful.\r\rOpen Panel attachments to access attached files.",

CTitre: "attachment Successful."

nIcon: 3,.

nType: 0

});

} else {}

App.Alert ({}

CMSG: "attachment canceled.",

CTitre: 'attachment cancelled. "

nIcon: 3,.

nType: 0

});

}

} catch (e) {}

App.Alert ({}

CMSG: 'could not attach file.',

CTitre: 'could not attach the file.

nIcon: 3,.

nType: 0

});

}

}

function import_11() {}

try {}

var annot = addAnnot({)

page: event.target.page;

type: "FileAttachment,"

Author: the form "user."

name: "attachment".

point: [oFAP.x, oFAP.y].

content: "the folder entry on:" + util.printd ("yyyy/mm/dd hh: mm:", Date()) new, "."

attachIcon: "Trombone".

});

annot.cAttachmentPath; Prompt the user to select a file to attach

oFAP.x += 18;  Increment the x for the icon location

} catch (e) {}

App.Alert ({}

CMSG: "could not reach file.\r\rPlease report this error."

CTitre: 'file attachment error. "

nIcon: 3,.

nType: 0

});

}

}

This process works perfectly.  What I want to do now, is to detach from the same document with the click of a button.  I understand very basic javascript, but using the forum create the script above.  Can someone give me a solution (if it exists), to help me to detach the file attached by the user with the script above? Thank you so much in advance!

Sorry, it's my bad... It must be:

this.syncAnnotScan ();

Tags: Acrobat

Similar Questions

  • I have xp as my operating system. But ineed as my os vista please help me in doing so, that is that I need a CD or can I download for free im of the India

    I have xp as my operating system. But ineed as my os vista please help me in doing so, that is that I need a CD or can I download for free im of the India

    There is no Vista free download legal available.

    Buy online since: newegg, amazon, etc.
    Or try your local computer store to buy Vista.

    See you soon. Mick Murphy - Microsoft partner

  • Please help create an architecture for Forms 11 g on WebLogic Server

    Dear all,

    We intend to deploy Oracle Forms and reports GR 11, 2 on Oracle WebLogic Server 10.3.6 on AIX.

    In addition, we intend to create a domain in WebLogic 11 g for the high availability solution.

    At present, we have four cases (Live, QA, UAT and development) of the applications deployed on Oracle Application Server 10 g.

    Please help create architecture, optimization of resources.

    Can we deploy all instances of the application four (Live, UAT, development and QA) to single instance of WebLogic Server unique? or do we have to install separately to four WebLogic instances on separate servers?

    References to documents are much appreciated (step-by-step specially :-)).

    Thanks in advance.

    Lacotte

    Hi Lacotte,

    you are able to install all the applications forms on the only field of forms / Instance. You can create separate sections in your formsweb.cfg file.

    But I recommend you to separate four environment: 4 x forms Installation in 4 separate servers.

    Four production I'd do decide to install forms in the Cluster for HA.

    More information:

    http://www.DBI-services.com/index.php/blog/entry/install-Oracle-Fusion-Middleware-report-11gr2-1112-in-a-context-of-high-availability

    http://docs.Oracle.com/CD/E23943_01/core.1111/e10106/classic.htm#ASHIA4331

    HTH

    Borys

  • I can't download the last update for Adobe Muse CC. I was in charge of this formum. I have an error message "ERROR Adobe Muse CC met a now error and will exit. Please report the last actions bit that you have taken to this error to th

    I can't download the last update for Adobe Muse CC. I was directed to this forum. I have an error message "ERROR Adobe Muse CC met a now error and will exit. Please report the last actions bit that you have taken to this error to the Adobe Muse CC team. Try to instantiate UID U4691, but lastAllocatedUID is only: 4491 OK

    I would be very grateful if someone can help me solve this problem. I tried the Adobe Muse online chat, but they directed me to you... I'm in the middle of a project for a client and my deadline is Thursday, April 21.

    I'm not familiar with the use of the forums.

    I looked online updates, I have no idea what to do.

    Deb Kelleher

    [email protected]

    has responded to your other thread, , I can't download the last update for Adobe Muse CC. I was in charge of this formum. I have an error message "ERROR Adobe Muse CC met a now error and will exit. Please report the last actions bit you took for this error to th

  • My system is continually showing error 1723 when removing java, it shows that I have problem with my windows install?

    error 1723

    my system is continually showing error 1723 when removing java, it shows that I have problem with my windows install?

    Help, please...
    and could u please suggest ways to update java for the system and for programming.

    Which version of Java should I download for my system to Windows 64-bit operating?
    http://www.Java.com/en/download/FAQ/java_win64bit.XML
     
    Download errors: 1305, 2755, 1606, etc..
    http://www.Java.com/en/download/help/error_installshield.XML
     
    Installation of Java
    http://Java.com/en/download/help/index_installing.XML?user_os=Windows%207

    Download the appropriate java installation file and save it on HD physically disconnect your computer from the internet, it's true - pull the Ethernet cable or disconnect the wireless connection. Install the installation file java (note: no error message). Back to zero (not sure if necessary, but do it anyway).  Reconnect to the internet and your java work.

  • I just got a call from somewhere in India that I have problems with my computer.

    Original title: hoax call?

    I just got a call from somewhere in India that I have problems with my computer. They know this, because I have generated error reports. When I asked how I could be sure who they were they led me to a screen with a ref to no error report. and he cites correctly for me. When I was asked to sign up for control of my computer for them to correct these errors, I refused and hung up. What happens with all those errors that we report to microsoft when our computers generate the error reports and how these appellants knew my error report reference.

    Fake phone calls to technical support

    Such unsolicited telephone calls are almost always a common scam. Do not let them give any info, donot give access to your PC, not give them all the money and donot go to all the websites that they suggest. One moment.

    Error reports contain no personally identifiable information. These people are hoping that your system recently sent to Microsoft to make their call seems more legitimate.

    Please see:

    http://www.microsoft.com/en-gb/security/online-privacy/msname.aspx .

    Microsoft does ever not requested for telephone calls of support or security.

    (such persons may use names other than Microsoft as well)

  • Please help - creating screens in response to a selection of Menu

    I hope someone can help me - I looked everywhere but could not find an example of this:

    We create an Blackmerry application that has a "main Menu" and based on a user selection, will bring this user to another screen.  After the user makes a treatment, the user is the screen and returns to the main menu where you can select another option.

    * nothing * I try either give me a blank white screen or an error.  I am able to create a single screen without problem, it is just to navigate to another screen and back that gives me a headache.  The layout is like this:

    MAIN Menu screen

    |

    |

    + - Option screen 1

    |

    + - Option screen 2

    |

    + - 3 screen option

    |

    Etc.

    Does anyone have a small example (maybe just give a screen with a title) and a way back (i.e. when to use "anti-pop") of the menu option?

    Please, I tried to understand this point for some time now, and I'm not having any luck.

    Thank you

    Bob DeCrescenzo

    If I understand your question, you can call the popupscreen in your second screen. You can override the onClose() method in the screen to achieve this.

    concerning

    Manoj.S

  • Help creating a button and add text inside

    Hi guys...

    I am trying to create a button (or an MC, the same) using only of the code, but it must be what I need, inside...

    var ins_btn:?

    ins var: String = "how to play / Como jugar;

    ins_btn.x = 202,75;

    ins_btn.y = 316;

    ins_btn. Width = 533,30;

    ins_btn. Height = 59.35;

    ins_btn. Ins = text;

    addChild (ins_btn);

    I tried this way, do ins_btn a MC, but it does not work (it does not appear in my screen) and I do that, so, when someone clicks on it, it goes to the two framework:

    ins_btn.addEventListener (MouseEvent.CLICK, instructionF);

    function instructionF(event:MouseEvent):void {}

    ins_btn. RemoveEventListener (MouseEvent.CLICK, instructionF);

    gotoAndStop (2);

    }

    Then... What should I do to make this button or movieclip appears in the scene, with the words how to play / Como jugar inside?

    Thank you very much!

    For a button work, he needs something to click on as a key area. If you need a basic button without making any design, you can use one of the preset buttons (window-> common libraries-> buttons) or just use the component button (window-> components-> UI-> button).

    For example, this one, open the components Panel (window-> components), driving User Interface open, drag the Button component in your library.

    In the code you can use it as simply as this:

    Import fl.controls.Button;

    import flash.events.MouseEvent;

    var: button = new Button();

    Button.label = "how to play / Como jugar;

    button.setSize (150,20);

    addChild (button);

    button.addEventListener (MouseEvent.CLICK, instructionF);

    function instructionF(event:MouseEvent):void

    {

    button.removeEventListener (MouseEvent.CLICK, instructionF);

    gotoAndStop (2);

    }

    If you want to draw your own button, use the graphics class of any display object and draw a background for your button has something to capture the click. You also need a TextField inside the key. For example a blue rounded rectangle button Sprite:

    import flash.display.Sprite;

    import flash.text.TextField;

    import flash.text.TextFieldAutoSize;

    import flash.text.TextFormat;

    import flash.text.AntiAliasType;

    var ins_btn:Sprite = new Sprite();

    addChild (ins_btn);

    background

    ins_btn. Graphics.beginFill(0x6666CC,1);

    ins_btn. Graphics.drawRoundRect (10,10,150,20,10,10);

    ins_btn. Graphics.endFill ();

    text

    var tf:TextField = new TextField();

    ins_btn. AddChild (TF);

    TF. Width = 10;

    tf.autoSize = TextFieldAutoSize.LEFT;

    tf.antiAliasType = AntiAliasType.ADVANCED;

    TF. Selectable = false;

    TF. Text = "how to play / Como jugar;

    tf.setTextFormat (new TextFormat("Arial",11,0xFFFFFF));

    TF.x = 22;

    TF.y = 10;

    has hit

    ins_btn.addEventListener (MouseEvent.CLICK, instructionF);

    function instructionF(event:MouseEvent):void

    {

    ins_btn. RemoveEventListener (MouseEvent.CLICK, instructionF);

    gotoAndStop (2);

    }

  • None of my screensavers does not work and that they have problems with direct3D

    Original title:

    I HAVE WINDOWS VISTA AND NOW IT SAYS SCREEN SAVER IS NOT COMPATIBLE WITH DIRECT3D, I HAVEN'T CHANGED ANYTHING WHAT CAN I

    I have windows vista home edition and have not upgraded to windows 7.  Now all of a sudden, I get a message that none of my screen savers work and they have problems with direct3D.  I don't know what happened.  What can I do? t

    Also, I need the sp1 and sp2 to upgrade my internet explore for later and I can't find these service packs for free anywhere. Please what can I do?  Thank you Tamara

    Hi Tamara,

    1. What is the brand and model of graphics card?

    2 - is the question also occur with the screen savers that come with Windows Vista?

     Download and install the latest video card driver.

    a. visit the system manufacturer's Web site, download the Vista compatible video card driver and install it.
    b. restart the computer so that the changes take effect after the driver installation.

    http://Windows.Microsoft.com/en-in/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    See Run the DirectX Diagnostic tool

    Now for the question of the service pack:

    How you try to install the service pack?

    You can check these links:

    Learn how to install Windows Vista Service Pack 1 (SP1)

    What's included in Windows Vista Service Pack 2 (SP2)

    How to obtain the latest Windows Vista service pack

    It will be useful.

    Please return to the State of the question.

  • Windows calls home to tell you that you have problems with your computer

    I get phone calls from windows

    I get phone calls from windows

    It's a scam. How does Microsoft know that you have a problem? Hang up on them the next time they call. Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • has anyone else had a phone call saying that they come from Windows and you say that you have problems with your pc?

    I just got a phone call from a female called Janice... She said she was from Windows and told me that I have a problem with my pc, and it continues to send Windows error reports? ... My pc works well. I ask for my e-mail address, she said they don't have it, but they're my only phone number! I'm old, but I know I should have to register an e-mail address with them....

    Anyone ever had this kind of calls? or is it a scam... I ended the call.

    It is a common scam. Do not give them information, do not give them access to your PC and do not go to all the websites that they suggest. One moment. See:

    http://www.microsoft.com/en-gb/security/online-privacy/msname.aspx .

    Microsoft does ever not requested for calls.

    (such persons may use names other than Microsoft as well)

  • Someone ~ please help! Microsoft remotely downloaded Windows 7 Vista b/c they have messed up my pc, but never saved nor told me that I had only 90 day warranty!

    A Microsoft Technician messed up my PC (I used Vista at the time) and as it was their fault, they downloaded Windows 7 on my PC remotely. However, they didn't transfer or back up all my files or my Microsoft Works, only the word and I talked to a technician and he said my 90 day warranty is up and wants $99 for reinstalling Works. This is NOT right! They screwed up again and they did not even tell me about a 90 day warranty. Who do I go to get my Microsoft Works, without having to pay for a program that I already paid for? Help, please!

    They did this, and they don't at least upload my program works... I don't know how to get in contact with a supervisor! Nor I know how to recover my works, I don't have to pay $99 to get help with this... I have the name of technicians who installed and have not backed up my system!

    Hello littletisme,

    If they did a clean install of Windows 7, then you wouldn't have your old data or programs.

    If you talked to a Microsoft Support Engineer, you should have a case number or Ticket with contact information. Contact them again with your concerns about your problems.

    Thank you

    Marilyn

  • Please help its simple light like that

    I want to know how to get light like that to the right and to the left side.i have waveform I want light only,Nightcore - Begin - YouTube

    This can be achieved by creating an element of lens flare in Photoshop and animating its opacity or a glow effect or exposure to this topic.

    You can also use the Lens Flare effect that comes with AE and tweak it a bit (and added some color correction and masks).

    Otherwise, you could buy a lens flare plugin optical flares or Knoll Light Factory.

  • By RegitryKit told me that I have problems with my 1400 register. I can't find anything in my Windows 7 for the book Dummies on the maintenance of the register. Help, please.

    How to deal with registry issues?

    Thank you

    Registry errors are usually little or no difference in performance of your computer. However big cleaning the registry can cause your computer problems including programs doesn't work don't not or the computer does nothing. Registry cleaners don't consider as a panacea for your computer problems.

    In Windows 7, there is no need to worry about maintenance of the register. Leave it alone. If you have a specific problem, search for an answer specified . People in these forums will be happy to help you.

  • Create a simple form that sends an email with the data

    I am creating a form of simple command for our Web site that allows people to fill out their name and address and have these data by e-mail to me.  I'm familiar with Dreamweaver, but have never looked into this kind of thing before.  I've read several tutorials on the use of PHP script to do this and he's going to 'confirmed' url after clicking on send, but I never have the e-mail.  Our site is hosted on GoDaddy.

    Could someone guide me through this process, or at least point me in the right direction?

    Thank you.

    Here is a link to a video tutorial that can help.

    http://www.Tutvid.com/tutorials/Dreamweaver/tutorials/phpFormHandler.php

Maybe you are looking for