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:
- Displays normalized representation of AppleEvents
- Displays data format for write some functions as
"AEBuildAppleEvent".
Fonctionnement:
Le logiciel exécute normalement la suite
d'opérations suivantes:
- Exécution d'une application cible dans un shell
et capture des AppleEvents reçus ou émis par
cette application
- Affichage de la liste des AppleEvents. Les
détails ne sont affichés qu'à la demande de
l'utilisateur.
User's Guide:
- Launching work:
- Drag and drop application to test or .aevl logging file on main window or on icon of Æv-Recorder.
- Choose "Open" in file menu, then choose application to test or .aevl logging file
- Show details:
- Choose an AppleEvent in main window and details are displayed in console window.
- Save results.
- To save one detail, select detail window content then copy/past to text editor.
- Choose save aevlog in menu File: this save all informations registered by Æv-Recorder.
.aevl
files contain only what is sending by shell. .aevd files contain
what is sending by shell and model to creat these AppleEvents with
carbon FrameWork (C programming)
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 tellSave
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!