AEV2.png

Æv-Recorder

AppleEvents Utility

© Cocoa Pod, 2012



The author, Miguel Saro, has put a lot of effort into the conception of Æv-Recorder, but cannot guarantee it to be free of errors. If you chose to use it, do so at your own risk. Any comments or observations (in English or French) will be welcomed by: Cocoa Pod

Æv-Recorder succeeds to Æv-Utility.  

Æv-Recorder has 2 new buttons. One is Record<->Pause and other permits to stop application under test.
Now, AppleEvents are displayed immediatly when they appears.

Purpose of Æv-Recorder:


This software is aimed at developers and provides models for writing Apple Events.  An understanding of AppleScript, Apple Events and Cocoa is advisable to make the best use of it.

Interest of Æv-Recorder: Fonctionnement:

 Le logiciel exécute normalement  la suite d'opérations suivantes:
User's Guide:
First try:

In Script editor write text of script below:

   global listName
    set listName to {}
    tell application "Mail"
        set compte to count of every mailbox
        if compte > 2 then set compte to 2
        repeat with x from 1 to compte
            set end of listName to name of item x in every mailbox
        end repeat
    end tell

Save this script as "Application-Run Only".  Drag and drop this application on Æv-Recorder main window.  Æv-Recorder displays list of AppleEvents sent and received by application you created.


Observations:


Les AppleEvents sont des objets opaques dont la structure n'est pas publiée. Apple à prévu des représentations des AppleEvents à l'usage des développeurs. Le logiciel utilise "Apple Event Logging" pour obtenir ces représentations. "Apple Event Logging" fonctionne lorsque les variables d'environnement du shell AEDebugSends et/ou AEDebugReceives sont mises à 1. Si l'application cible modifie ou supprime ces variables,  Æv-Recorder a toutes les chances de se bloquer. Si Æv-Recorder ne bloque pas, les résultats seront partiellement faux et/ou incomplets!