Lorsque vous devez effectuer de gros calculs, si vous appelez votre application scriptable depuis un script, celui-ci attendra un certain moment.
If you are doing heavy calculations, when you call your scriptable application from a script, it may remain busy for a while.
Smile est à la fois l'application scriptable que vous piloterez principalement et l'éditeur de script dans lequel vous rédigerez vos scripts.
Smile is both the scriptable application that you will control most of the time, and the script editor where you write your scripts.
Scripting Tools vous permet d'intégrer à votre application 4D toute application scriptable.
Deux cas se présentent, selon qu'il s'agit d'un complément de pilotage ou d'une application scriptable.
How to use your program depends on whether it is a Scripting Addition, or a scriptable application.
Accueil ▸ Documentation ▸ Smile ▸ Calcul numérique ▸ Exploitation de programmes externes ▸ Comment rendre scriptable un exécutable ▸ Surveillance du déroulement d'une application scriptable
Home ▸ Documentation ▸ Smile ▸ Computing ▸ Working with external codes ▸ Making a code scriptable ▸ Polling a scriptable application
Un dictionnaire est rattaché à une application scriptable ou à un complément de pilotage. Il définit une terminologie, c'est-à-dire un ensemble de classes d'objets et de commandes qui lui sont associés, et qui peuvent être utilisés dans des scripts AppleScript.
The dictionary defines the terminology available in a scriptable software, that is the list of the object classes and of the commands associated to that software, and that you can use in AppleScript.
Pour obtenir les instructions permettant de transformer votre code en une application scriptable, téléchargez l'exemple de code depuis la page indiquée ci-dessous et ouvrez le projet SampleApp pour XCode.
For the instructions to make your code into an osax, download the sample code folder from the page below and use the SampleApp project for XCode.