How to execute a JavaScript associated with an interactive field?

I need to perform a virtual click from a plugin. Let's say that a set of 3 check box/radio button fields have the export values:
- Yes
- No
- Maybe
I have a script that says that the user virtually clicked on the "Maybe" button. All I have to do is find which of the radio buttons:
radioButton#0
radioButton#1
radioButton#2
contains the "Maybe" export value. So far, this task is very doable. My question is how to perform the following:
I need to call the JavaScript interpreter and execute it, using as an argument the JavaScript code associated with the up mouse even of the button.
Any help will be most appreciated...
TIA,
-Ramon

IF you are trying to do this from a plugin - I would just use Cos APIs to get the appropriate JS from the field's action dictionary  and then pass it to AFExecuteThisScript().

Similar Messages

  • How to get the contents associated with a component.

    How to get the contents associated with a component.
    Like i have 2 buttons and i want to get the contents associated with these button without clicking them i.e without firing the event.
    By Contents i mean, whatever things we get after firing the event,we get some other window and some thing is added to the current page and so on.

    grab all the code inside the actionPerformed(ActionEvent e) method

  • How to know Apple Id associated with that perticular device (Macbook Pro)?

    Hi experts there...!
    How to know Apple Id associated with that perticular device (Macbook Pro)?
    How to change the Apple Id associated with the particular device?
    Okay now the scene is that one of my friend gave me macbook pro as a gift, now we both dont know how to change the associated Apple Id with this Macbook pro. He has his apple id and password which works perfectly with this macbook. But we want to change associated apple id with this macbook. After changing the apple id will it be possible to update mountain lion or to reinstall online completly? Does this process completely disconect from previous apple id and connect with new apple id?

    Welcome to Apple Support Communities
    If your friend's Mac didn't come with DVDs, he has to call Apple in order to deauthorize his Apple ID from the Mac > http://support.apple.com/kb/HE57
    After that, you will be able to register the MacBook Pro with your Apple ID, and you will be able to install OS X, iPhoto, iMovie and GarageBand for free. After doing that, you can erase the hard drive and reinstall OS X, so everything from his Apple ID will be removed

  • How to execute one .exe file with as3 in air ?

    Hi
    How to execute one .exe file with as3 in air?
    I want do this work without fscommand .
    plize help me .

    itsdhanasaraa wrote:
    But as this a web application ... By using Runtime i'm getting some probs ..
    Let me guess, you want your web application to run a program on the client and to your surprise that's not working?
    Ain't gonna happen.
    its taking more time to execute .... that's y is there any other option to execute .exe file other than Runtime.getRuntime().exec("filename");Write proper English and you may be taken more seriously.
    1) it's not "taking more time to execute", whatever that's supposed to mean.
    2) there's no other way to execute something. Not that you should every use even that way anyway
    3) whenever you start thinking of executing external programs from Java, start thinking of not using Java in the first place.

  • How to execute a system command with call executable in teststand 4.2.1?

    Hi All,
          how to execute a system command with "call executable" step in teststand 4.2.1?
          example as i want to quit a application.using "taskkill /f /im xxx.exe".And execute other system command(DOS).
    BR
    Johnny

    Hi, 
    I want to run netstat -an | find "8080" command from command prompt using call executable in test stand. after that i would like take the std output to local variable. 
    Attachments:
    callsettings.jpg ‏404 KB

  • How to know the forms associated with a specific transaction

    Hi..
    Can anyone please suggest me how to know the forms associated with a specific transaction.
    For Example In Finance module.
    I came to know from SDN the form associated with F.64 as F140_acc_stat_01.
    But i need the steps how to track the form name.
    Regards..
    Vinodh

    Hi,
    1.We cann't find the forms associated with a specific transaction.
    2.But,based on requirement we can go for the form selection.
    3.Suppose in account payable and receivable , we have different forms like customer statement, Dunning and Chek form etc.
    4.The functional people can find the form name in SPRO and give the details of the requirement.
      5.If u have the output type or formname u can go for the TNAPR and  TTXFP tables and u can search for the respect object.
    6.For FI u can directly find in the SPRO, by searching it with the form name.
    Regards,
    If helpful reward with points(Don't forget).

  • HT204266 how change the app store associated with my apple id on my ipad?

    I move from canada to australia how change the app store associated with my apple id on my ipad?
    I have try to set evry thing with my new australian data but it told me the it`s not possible...
    What I can do?
    Thanks and Regards

    you could go to settings, then itunes and app stores. you should see an option caleed apple id with your apple id to the side of it. click on it and select the option view apple id. you will have to type in your password. then you will see the details of your acoount. next, select the option called country/region. you will be able to select australia from the list of stores. you willl then change your billling adress (you should be directed). Fill in your adress in australia with your zip code and you will be done.

  • How to get a minus sign with the cost  field in ALV.

    Hi ,
    How to get a minus sign with the cost field in ALV.
    The Ouput will be displayed like  Rs -1500 instead of 1500-
    I can't use concatenate also as i may have to use the sum functionality of ALV .
    Cheers
    Sunny

    Hi sunny,
    1. The OTHER FIELD
       has to be character field of say length 15.
    2. Write the original numeric value to
       this character field (in a loop)
    3. But simply writing won't help.
    4. use this kind of logic.
    5.
    REPORT abc.
    DATA : m TYPE i.
    DATA : chr(15) TYPE c.
    m = -100.
    WRITE m TO chr.
    IF m < 0.
      SHIFT chr RIGHT BY 1 PLACES.
      CONDENSE chr.
      CONCATENATE '-' chr INTO chr.
    ENDIF.
    WRITE chr.
    regards,
    amit m.

  • Executable has become associated with TextEdit

    Basically I have a program that I am trying to execute, but for some reason (probably my own screw-up) it has become associated with TextEdit. So now, when I click on the program launcher it opens up the machine code in TextEdit. I know how to change file associations via the Get Info menu item, but how do I remove an association?
    I haven't had any luck searching the discussion groups for a solution, although I am sure that it is there somewhere.
    Thanks for the help.
      Mac OS X (10.4.4)  

    TextEdit is set as the default.
    Automator, Automator Launcher, Script Editor and Other are the options. If I change the default app to something else like Script Editor, it tries to open the app with Script Editor. I don't see a way to reassign it as an app.

  • How to change the name associated with iCloud email alias??

    I had MobileMe on the iPhone with alias email addresses and I liked how it didn’t attach any “name” to an alias. For example, I had MainUserName, then for aliases I would have [email protected], [email protected], etc. When I sent an email from my iPhone using one of the aliases as the "from" no name would be associated with the alias email address. If it was the MainUserName then it would associate it, e.g. Main User <[email protected]> will show up on the "From" field when I sent an email. But with iCloud on the iPhone (and iPad), it’s Main User <[email protected]>, Main User <[email protected], etc., which I don’t want.  If anything it should be Alias 1 <[email protected]> or Alias 2 <[email protected]>.  Anyway, I don't want any name associated with the aliases, so when I send an email it will simply say [email protected] or just [email protected] with no name association. 
    It works differently if I access iCloud through a web browser.  If I send an email via iCloud on the web, I can customize and have a different name with each alias, e.g., Tom <[email protected]> or Harry <[email protected]>  And the customization carries over to the Mail app on my Mac.  That would be ideal if the customization carried over to the iPhone and iPad, but I'd be happy if there was no name association with alias email addresses.  Hopefully, there's a solution to the iPhone/iPad situation with iCloud as I don't want the name linked with the main iCloud email address linked with all the different email aliases I have.

    Can I change the name associated with an ipod on my Mac?
    Select the iPod in the iTunes source list, click on its name, and type a new name.
    And can there be more than one iPod on one computer?
    Yes.
    (39352)

  • How to change the username associated with "Home"?

    My wife got a new mac (from her job) and I've taken over her previous machine, a Macbook Pro (2008). I've upgraded the system several times already, and now using OS Lion. My problem is that I want — but haven't figured out how (or it it's possible) — to change the name of "Home"  — from (a form of) her name to something else. I'm the only user with administrative privileges, and I thought that would (somehow) change the name associated with "Home" — but no, it has not.
    Is this something that can ( or must) be done via Terminal?

    dawglover wrote:
    At present, I have (sole) administrative control of the computer. But I haven't been able to change the name associated with "Home" to something other than the name originally set by the computer's previous owner/administrator (my wife).
    You can't, the original name is squirelled away all over the machine.
    The only way to get it to be all yours, is to backup all data files off the machine, hold command option r down on a wired keyboard at boot time connected to a fast Internet connection and use Disk Utility to erase the ENTIRE drive, then reinstall OS X with your AppleID and password into the Macintosh HD partition.
    When you reboot, you are greated to the intial install, where you can place your name all over the machine.
    When you erase the drive this way all programs are gone, and only those associated with AppleID can be downloaded from AppStore as they are copy protected.

  • How to get Font's associated with a pdf document.

    Hi All,
    I am currently working on a project related to Document Management in SAP. For this I have a set of pdf document's that needs to be classified as 'searchable' and 'Non-searchable'. I am planning to identify the document based on Font contents i.e a searchable document has some font associated with it, and non-searchable documents do not have any font associated with it.
    I am trying to use the class cl_fp_pdf_object and get the information about font. I see that there is no function which gives me this information directly. Is there any way to get font information of a pdf documents using classes ? or Is there any way to identify directly weather a document is searchable or not ?  Please help.
    DATA: l_fp          TYPE REF TO if_fp,
               l_pdfobj      TYPE REF TO if_fp_pdf_object.
        Create PDF Object.
          l_pdfobj = l_fp->create_pdf_object( connection = p_dest ).
        Set document.
          l_pdfobj->set_document( pdfdata = l_pdf ).
        Set task to get metadata.
          l_pdfobj->set_task_getmetadata( ).
        Execute, call ADS.
          l_pdfobj->execute( ).
    Thanks
    Aditya

    Just curious....why would you make "font" the basis of that classification?

  • How to execute acrobat javascript thorugh acrobat plugin???

    I need to perform a task using javascipt...but i am not able to run javascript from my plugin...I tried it using AFExecuteThisScript method given in  API but it asks for " _gAcroFormHFT"..How can i import HFT into my plugin???
    Is there any other method to execute a javascript from acrobat plugin??

    You need to declare a (global) variable something like:
    HFT gAcroFormHFT;
    Then initialise it in your plugin's PluginImportReplaceAndRegister method, something like:
    ACCB1 ASBool ACCB2 PluginImportReplaceAndRegister(void)
    gAcroFormHFT = Init_AcroFormHFT;
    return true;

  • How to execute plsql stored procedure with DbAccess

    sessionInfo object can give DbAccess .through
    which u can use javax.infobus.DbAccess API to
    execute sql satement and stored procedures according to infobus API .iam able to
    execute simple query by using executeCommand() ,executeRetrival() ?. how to execute stored procedures with executeRetrieval() .
    how to take in and out parameters
    suggestions are welcome
    waiting for your suggestions

    I am also looking for the same.
    Did you get any info on this
    Thanks,
    jagan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by chandra sekhar ([email protected]):
    sessionInfo object can give DbAccess .through
    which u can use javax.infobus.DbAccess API to
    execute sql satement and stored procedures according to infobus API .iam able to
    execute simple query by using executeCommand() ,executeRetrival() ?. how to execute stored procedures with executeRetrieval() .
    how to take in and out parameters
    suggestions are welcome
    waiting for your suggestions<HR></BLOCKQUOTE>
    null

  • How to execute the FM K_COSTS_PLAN_INTERFACE_TOTAL with ranges

    Hi All,
    can anybody suggest me, how to execute the Function module K_COSTS_PLAN_INTERFACE_TOTAL with  range of Cost element(KSTAR)
    and what is the field for Cost Element TO
    The fm is for tcode KP06
    Edited by: Kachi Reddy on Feb 17, 2012 2:26 PM

    Hi, Kachi.
    Try this example:
    REPORT rkkipl1t.
    * The parameters are used to fill the internal table and describe the
    * planning object.
    PARAMETERS: p_kokrs LIKE tka01-kokrs  MEMORY ID cac  OBLIGATORY,
                p_perab LIKE cobk-perab   DEFAULT '001'  OBLIGATORY,
                p_perbi LIKE cobk-perbi   DEFAULT '012'  OBLIGATORY,
                p_gjahr LIKE cobk-gjahr   MEMORY ID gjr  OBLIGATORY,
                p_versn LIKE cobk-versn   MEMORY ID kvt  OBLIGATORY,
                p_kostl LIKE cssl-kostl                  OBLIGATORY,
                p_kstar LIKE cskb-kstar                  OBLIGATORY,
                p_vrgng LIKE cobk-vrgng   DEFAULT 'RKP1' OBLIGATORY,
                p_kwaer RADIOBUTTON GROUP ein DEFAULT 'X',
                p_owaer RADIOBUTTON GROUP ein,
                p_twaer RADIOBUTTON GROUP ein,
                p_waers LIKE coss-twaer.
    DATA: i_rku01_cur LIKE rku01_cur.
    * internal table for function
    DATA: itrku01g TYPE TABLE OF rku01g WITH HEADER LINE.
    REFRESH itrku01g.
    PERFORM fill_itrku01g.
    * Which currency is to be used?
    IF p_twaer = 'X'.
    *   planning in transaction currency
      i_rku01_cur-wtg_man = p_twaer.
      i_rku01_cur-wtf_man = p_twaer.
    ELSEIF p_owaer = 'X'.
    *   planning in object currency
      i_rku01_cur-wog_man = p_owaer.
      i_rku01_cur-wof_man = p_owaer.
    ELSE.
    *   planning in controlling area currency
      i_rku01_cur-wkg_man = 'X'.
      i_rku01_cur-wkf_man = 'X'.
    ENDIF.
    CALL FUNCTION 'K_COSTS_PLAN_INTERFACE_TOTAL'
      EXPORTING
    *    BLTXT                  = ' '
    *    COMMIT                 = 'X'
    *    DELTA                  = ' '
        gjahr                  = p_gjahr
        kokrs                  = p_kokrs
        messages_show          = 'X'
        perab                  = p_perab
        perbi                  = p_perbi
        update_values          = 'X'
        versn                  = p_versn
        vrgng                  = p_vrgng
    *    ONLINE_VB              = ' '
        irku01_cur             = i_rku01_cur
    *    TESTMODE               = ' '
    *    KEEP_TWAER             = ' '
      TABLES
        irku01g                = itrku01g
    EXCEPTIONS
       messages_occured       = 1
       OTHERS                 = 2
    IF sy-subrc = 0.
      MESSAGE s000(15).
    *   Verbuchung wurde erfolgreich durchgeführt
    ENDIF.
    *  FORM FILL_ITRKU01G
    FORM fill_itrku01g.
    * fill internal table for function
      CLEAR itrku01g.
      itrku01g-kostl    = p_kostl.              "for CCA planning
      itrku01g-kstar    = p_kstar.              "must be filled
      itrku01g-wtgbtr   = 12000.                "value when planning
      itrku01g-wkgbtr   = 12000.                "value when planning
      itrku01g-wogbtr   = 12000.                "value when planning
      itrku01g-twaer    = p_waers.              "transaction currency
      itrku01g-fcwkg    = '1'.           "distribution key must be filled
      itrku01g-fcwkf    = '1'.                  "must be filled
      itrku01g-fcwkv    = '1'.                  "must be filled
      itrku01g-fcmeg    = '1'.                  "must be filled
      itrku01g-fcmef    = '1'.                  "must be filled
      itrku01g-fcmev    = '1'.                  "must be filled
      APPEND itrku01g.
    ENDFORM. "FILL_ITRKU01G.
    Best regards,
    George Shlyahov.

Maybe you are looking for

  • How can i restore my iphone 4s without connecting to itunes?

    My iphone 4s wont let me access the phone and keeps saying 'the SIM car inserted in this phone is not supported...' although the sim card inserted in the phone is my original sim which ive always had with the phone. Ive tried inserting other sim card

  • Delimited reports output

    I've been trying to set a report to delimited file output, with no luck. We're using reports 6i. I set destype to localfile, desformat to delimited, and desname to c:\local\path\filename. Mode is set to default. I see the report in the previewer, but

  • Help me run oracle 10r2

    my document installation: http://paste2.org/p/1963836 and i saw this video http://v.youku.com/v_show/id_XNDIxNDI1MjA=.html i was run http://localhost.localdomain:5560/isqlplus ok, but when i restart and login as user oracle and run sqlplus "scott/tig

  • How can I reset a password

    Hello. I'm new here so please bear with me. I have a similar question to the one posed on "Second Ownership Setup." I also have a second hand Mac that I purchased at auction. All of the previous owner's files have been deleted, but I cannot install a

  • Unwanted Fields in OVS outputQuery UI

    Hello, I have build a very simple OVS help in web dynpro application. Now I am using a RFC which fetched data from PA001 HR table which contains a lot of standard field columns. Our ABAPer has built the RFC where he has directly used PA001 as table a