Generating pre-defined events for system or applications ?

I would like to write a script of some kind which generates a series of pre-defined events to the system or an active application: such as "a mouse is clicked on position x,y", a "mouse is dragged to position z, w", a "key is pressed", etc. How do I even approach this? And what exactly it should be (probably not an application...)
Thanks in advance.

The short answer: it can be done with Applescript.

Similar Messages

  • How to use pre-defined scenarios for RosettaNet with XI 3.0

    Hi all.
       I am working in Comgroup Shanghai co. ltd. which is partner of SAP China.
       We have a potential customer who use RosettaNet as their Supply Chain EDI system.
       I would like to make a demo for demostrate the pre-defined scenarios for RosettaNet RNIF 2.0 packages.
       Where can I find such guideline ? I have checked the article: implementing RosettaNet with XI 3.0, but it cannot help me.
       Another question is how I can develop my own scenarios for the RNIF standards which are not included in XI RosettaNet business package ?

    Hi Andy,
    See the instructions below after you installed the RosettaNet STK.
    Below given is the sample config for PIP3B2 Scenario. Part I is using STK and Part II is using 2 XI systems.
    <b>Part I. Test Using STK</b>
    In your XI ID:
    1) Define both the parties 1) Shipper(Your Partner) 2) Receiver(Your company) with identifiers like DUNS Number.
    2) In ID goto>Tools>Transfer Integration Scenarios from IR-->select the scenario "PIP3B2_Receiver" from the drop down list.
    3) Follow the 4 steps in the config wizard.
    4) While creating your CC, create it from the channel template delivered with the RosettaNet BP.
       4.1) Specify the URL for STK which should be in the following format
    http://<STK Server>:<port>/rosettanet/servlet/listenerServlet?userId=<Party Name>
       4.2)In the location fields, enter your location and your partner location.
    In your STK
    1) Start the RosettaNet STK.
    2) enter the UserID<Partner Name in XI>
    3) Select the Test Scenario, 3B2V01.01-AdvanceShipmentNotification-0001-Scenario-Shipper
    4) Enter Global Business ID(DUNS Number) and Location ID for both the partners. These fields should be same as in your R/3 Party configuration.
    5) Enter the URL as follows:
    http://<XI Server:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    If everything is configured correctly as mentioned, you should be able to test your single-action scenario.
    <b>Part II Test using another XI System</b>
    For these follow the steps above for XI Config.
    Configure one XI System as PIP3B2 Shipper using the Scenario "PIP3B2_Shipper" and config wizard as mentioned above.
    Configure the other XI as PIP3B2 Receiver using the scenario "PIP3B2_Receiver" and config wizard.
    In the Url field, specify the URL as follows:
    http://<XI host>:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    Hope this helps.
    Regards,
    Sam Raju

  • Where would someone turn if they think they may be interested in apple/mac software development for systems and applications?

    Where would someone turn if they think they may be interested in apple/mac software development for systems and applications? I do have some experience with industrial machine control programming. Not that it directly applies, however I have been involved in some types of programming.

    You might start by reading this: http://www.guardian.co.uk/technology/gamesblog/2009/feb/10/gameculture-apple
    I would check out the refurbished section of the online Apple Store before buying a used one from Craislist. They go quickly so you have to check often. It will be more than sufficent for you to work with.
    There are more than a few such books, go to a book store near you and browse them yourself to see which one works for you.
    For items 3 and 4 wait until you are ready for a commercial app and then seek help from a lawyer and an accountant.

  • Pre-define filter for query in a BEx Report

    Hi all experts, I have a question, I have created a report with WAD and Query Designer, and I need a pre-define filter for different user or different role. Anyone knows where should I set this pre-define filter to the query ? In the WAD itself, or must do it in backend ? My scenario is, lets say User A login to this report, he will have value A, B, C as filter value in characteristic Z, User B login to this report, he will have value D, E, F as filter value in characteristic Z. Perhaps you guys can understand what I trying to say.

    Hi,
    You can set a customer exit variable on characteristics Z. the value for Variable is populated in customer exit written in CMOD using I_STEP = 1.
    You also need to maintain a mapping table for value of characteristics Z to user. Now if user A checks the Report, using the sy-uname you lookup to the mapping table and get the corresponding values of characteristics Z and populate the default value of the variable or straight away restrict it in the query by not making it ready for input.
    Hope it helps....
    Regards,
    Umesh

  • Question about generate key press event to system. help plz.

    I am wondering if it is possible to write a java program to generate key press event(not receiving)to the local system so all the other program in the system receive those key press event also. Thanks.

    Hi,
    :. I don't know what exactly you intend to accomplish. But, I have used the following code in order to simulate keys pressing inside a Java application.
          /* - - - Simulates TAB (java.awt.Event)
          EventQueue evtq = Toolkit.getDefaultToolkit().getSystemEventQueue();
          evtq.postEvent( new KeyEvent(this, KeyEvent.KEY_PRESSED,
                          0, 0, KeyEvent.VK_TAB, KeyEvent.CHAR_UNDEFINED) );
          evtq.postEvent( new KeyEvent(this, KeyEvent.KEY_RELEASED,
                          0, 0, KeyEvent.VK_TAB, KeyEvent.CHAR_UNDEFINED) );
          /* - - - Simulates Shift+TAB (java.awt.Event)
          evtq.postEvent( new KeyEvent(this, KeyEvent.KEY_PRESSED, 0,
                          InputEvent.SHIFT_DOWN_MASK, KeyEvent.VK_TAB,
                          KeyEvent.CHAR_UNDEFINED) );
          evtq.postEvent( new KeyEvent(this, KeyEvent.KEY_RELEASED, 0,
                          InputEvent.SHIFT_DOWN_MASK, KeyEvent.VK_TAB,
                          KeyEvent.CHAR_UNDEFINED) );:. However, as far as I know to send keys to the whole OS you have to create a 'Hook' as described inside Win32API documentation. That's for Microsoft Windows naturaly.
    Cheers.
    Roque

  • Pre defined BAPI for Change Master

    - Is there any Pre defined BAPI or Function Module which will serve the functionality similar to the RFC “RFC_CREATE_CHANGE_MASTER”.

    Hi Nikhil,
    For the SAP R/3 4.7 version, there is the BAPI_ECMORD_CREATE BAPI Function Module.
    NOTE: To find the BAPIs in the R/3 system, you can use the BAPI transaction.
    Regards,
    Daniel Carvalho.

  • How 2 define alias for WD Component / Application

    Hi all,
    There are methods in IWDDeployableObject to get WD Component / Application (WDDeploableObjectPart) by alias.
    But how to define alias for them? Where should definition be placed and what is the format? Could anyone share working example or point to related documentation?
    VS

    Noufal & Bharathwaj,
    Probably there is a confusion here: HTTP aliases are related only to corresponding service, and affects how URL is composed / interpreted.
    On other hand, aliases I mentioned are related to  deployment service (in this case: lookup deployable object part by alias). By the way, they cover both WD applications and <b>components</b> (probably component interfaces and more).
    Valery Silaev
    EPAM Systems
    http://www.netweaverteam.com/

  • Impact of generating a new key for Secure Store Application

    I inherited my development environment from a predecessor, who did not document the secure store pass phrase anywhere. There are a couple of projects doing development on the system that cannot be impacted, but I need to get Project Server running on the
    system, and I cannot get the secure store to accept the credentials I set for the target application. I have recreated the target application several times, but nothing works.
    MossHostSsoHost.GetSecureStoreCredentials: Failed to get credentials from Secure Store. SecureStoreProvider threw a SecureStoreException. Exception: Microsoft.Office.SecureStoreService.Server.SecureStoreServiceException: Access is denied to the Secure Store
    Service.     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.GetCredentials(Guid
    rawPartitionId, String applicationId)     at Microsoft.Office.SecureStoreService.Server.SecureStoreProvider.GetCredentials(String appId)     at Microsoft.Office.Excel.Server.MossHost.MossHostSsoHost.GetSecureStoreCredentials(String
    secureStoreApplicationId)
    So, I am wondering if I need to generate a new key for the secure store application, and what impact that would have on the existing target applications. Can someone please tell me if I generate a new key, will this break the existing applications? Thanks.

    Hi Susan,
    Once you decide to generate a new encryption key, you could follow the steps in Generate an encryption Key part in the link below:
    http://technet.microsoft.com/en-us/library/ee806866(v=office.15).aspx
    You should back up the database of the Secure Store Service application before generating a new key. Then refresh the encryption key to propagate the key to all the application servers in the farm.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Need help - Pre-defined length for JSpinner

    Hi,
    How do I set the length for JSpinner editor while constructing it self? As of now, we are trying to use the key listners to determine the length and restrict.
    Thanks,
    Raj

    Hi,
    you can use method setMaximum of SpinnerNumberModel, see
    SpinnerNumberModel API docs
    http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/SpinnerNumberModel.html
    JSpinner API docs
    http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JSpinner.html
    Ulrich

  • Pre-defined performance PMP_PROC_REJ u201CReject Overall Appraisalu2019

    Hi Experts,
    we are using the SAP pre-defined performance EHP4 system.
    We have created a template in our DEV system and are able to create the appraisal document from the Manager and update by the employee.
    At the dnd of the process of the overall appraisal, if the employee selects the pushbutton to u201CReject overall appraisalu201D this seems to stop the appraisal from being edited by the manger nor the employee.
    I would have expected a workflow to be generated or a means for the manager and the employee to have an offline conversation and then the manager could re-open the te team members document to make the final change and complete the document.
    The pushbutton PMP_PROC_REJ u201CReject Overall Appraisalu2019 only has subsequent status of u201CClosed rejectedu201D
    Please can someone tell me if they did any additional config or found a solution to this issue?
    Many thanks
    Oliver

    Hi Swapnil,
    we decided to stop the process when the employee hits reject overall appraisal and had a new workflow to go to HR and the Manager to notify them of the rejection.
    it may be possible to write some custom function to automate phap_admin but I would think extremely difficult as it would have to pass the correct credentials from the Portal to the backend to phap_admin and change the status to in process.
    It may be better to have client process to be informed of the rejection to understand why the employee did reject and for HR to control re-setting the status using phap_admin.
    Hope this makes sense
    Thanks
    Oliver

  • Pre-defined performance - MSS - Cascading team Goals

    Hi Experts,
    we are using the SAP pre-defined performance EHP4 system.
    We have created a template in our DEV system and are able to create the appraisal document from the Manager and update by the employee.
    Within the team goals screen (iview) of the pre-defined template, we can select the view u201CDirect Reportsu201D which allows us to Cascading of team Goals.
    Our issue is if we select the view u201COrg Unit structureu201D or the u201CEmployee structureu201D then we get a Portal crash
    The other related issue is the goal end date is being defaulted as 31.12.9999 and we are getting the error u201CEntered dates must be in the current yearu2019 where the plan start date is 01.08.2010 and the end date is 31.07.2011.
    Does the start and end date of the goals have to be a calendar year?
    Please can someone tell me if they did any additional config or found a solution to these issues?
    Many thanks
    Oliver

    Hi,
    in the standard the team goals period is limited to a maximum of one year. But SAP provides two enhancements (enhancement spot HRHAP00_GOAL_PERIOD) that can be used to allow different periods. These are:
    - HRHAP00GOAL_PERIOD_GEN For the generic UI
    - HRHAP00GOAL_PERIOD_PMP For the predifined process
    So you may use these to fulfill your requirement. Just take into account that the Goal assessment for the goals (if they are valid more than one year) would be the same for all the validity period of the goal.
    Regards,
    Ana

  • Pre-built EULs for Payroll/HRMS

    Where can we obtain pre-built EULs for the following Applications modules Payroll/HRMS?

    Hi,
    You will have to load import the EUL stored in $AU_TOP/discover using the adupdeul.sh script. See note 257798.1 for full details.
    Rod West

  • Cannot Apply User Define Serial for ITEMS

    hi ,
    we have to generate user define serial # for items . for that we need to upload the MAC addresses as serial number from a excel spread sheet can any one help regarding that please
    Thanks & regards
    Moni.

    Moni,
    You have to do some coding to achieve this:
    1. Create a table with three columns like serial_id, serial_number,taken_sts.
    2. Load your serial numbers from spreadsheet to this table using an insert or SQL Loader.
    3. Oracle gives you this package user_pkg_serial with nothing coded in package body. Add your logic to this body to return only one serial number at a time. That is the reason I asked you to create table with three columns. Maintain taken_sts column as N for only one serial number at a time and return that serial number (out parameter of the package body).
    4. It is extremely important to return the x_return_status as 'S' otherwise this will not work.
    5. Run the Generate Serial Numbers program and your serial numbers can be seen in the mtl_serial_numbers table.
    Please let me know if you need more info.
    Thanks
    Nagamohan

  • Generate Listbox Edit Event

    Hello,
    I am using a multicolumn listbox to allow a user to edit and view channel information.  They add new channels and rename them through editing the cell, which I monitor using an event structure.  I added a function to watch for the "tab" key, which will move the edit position over one column, just like users are used to in Excel.  However, I am having trouble, because when they hit the tab key, the "edit cell" event doesn't get generated, and the entry from the column to the left is lost.  Basically, the item names don't get updated unless the user presses "Enter" to accept the edit of the current cell.
    Is there a way to generate the edit event for that listbox, or to otherwise save the edit before moving on to the next column?  I know that tables can accomplish this pretty easily, but I didn't go that way for other reasons that made the development harder.
    Thanks,
    Rob

    Normally, you'll get a value changed event when you hit tab. So if you catch the tab key, and manually skip to the next cell, you don't get that. In fact, you still get the value change event, but only after the table looses focus.I guess you found out about that...
    If you still want to trigger the value change event, you can simply read the value of the table (with a property or local) and put it in a "value (signalling)". Then, the value changed event will be triggered.
    The only difference is that the old value will be the same as the new value. You can get around that by manually buffering the old value in the value event. So you'll have another table with the old value, and update it only when the value changed event is called. If you need the old value, of course.
    Regards,
    Wiebe.

  • Custom Pre Process Event Handler in OIM 11g for middle initials

    Hi,
    I am trying to congiure a Custom Pre Process Event Handler for generating middle name in OIM 11g and I am following the steps as given in metalink ID: *1262803.1*
    Even after successfully performing all the steps I am not able to get the middle initials in Admin Console when I create a new user.
    1) Directory structure for the application that I have created through JDeveloper.
    CustomApplication/
    |-- CustomApplication.jws
    `-- CustomProject
    |-- CustomProject.jpr
    |-- classes
    | `-- com
    | `-- example
    | `-- custompph
    | `-- CustomPreProcessEventHandler.class
    `-- src
    `-- com
    `-- example
    `-- custompph
    `-- CustomPreProcessEventHandler.java
    2) Directory structure for Plugins directory
    My Plugin.xml :
    <?xml version="1.0" encoding="UTF-8" ?>
    <oimplugins>
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass="com.example.custompph.CustomPreProcessEventHandler"
    version="1.0" name="CustomPreProcessEventHandler" />
    </plugins>
    </oimplugins>
    plugin/
    |-- lib
    | `-- com
    | `-- example
    | `-- custompph
    | `-- CustomPreProcessEventHandler.class
    |-- middlename.zip
    `-- plugin.xml
    Copied the middlename.zip in the plugin folder in OIM_HOME and registered it successfully.
    3) Created a EventHandlers file and imported it successfully using importmetadata.
    My EventHandlers.xml:
    <?xml version='1.0' encoding='utf-8'?>
    <eventhandlers>
    <!-- Custom preprocess event handlers -->
    <action-handler
    class="com.example.custompph.CustomPreProcessEventHandler"
    entity-type="User"
    operation="CREATE"
    name="CustomPreProcessEventHandler"
    stage="preprocess"
    order="10"
    sync="TRUE"/>
    </eventhandlers>
    I checked the logs as well but could not find something which can help me to proceed.
    Also please advise is their any mapping that I need to do in *"Design Console"*
    Please advise !!!!!
    Thanks

    My lib file contains the package as mentioned in the metalink.
    Heirarchy in Plugin folder :
    1) plugin.xml
    2) Lib ( lib contains 3 folders : com/example/custompph; And inside custompph is my CustomPreProcessEventHandler.class file)
    You mean to say i should not copy the entire package in lib but only the jar file of the CustomPreProceessEventHandler.class* file.
    If i put only a .jar file in lib i get the following error.
    "Error occured during the use of plugin registering utility. The plugin zip does not contain the definition of plugin class com.example.custompph.CustomPreProcessEventHandler"
    Thanks
    Edited by: 870050 on Jul 4, 2011 4:30 AM

Maybe you are looking for