no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Next revision | |||
— | tadtutorial1 [2017/03/16 16:40] – created admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Tutorial Using AutoIt===== | ||
+ | AutoIt is a nice scripting language that you can use to automate actions. Here is a short AutoIt script which can be executed to show a brief tutorial on how to start the creation dialog | ||
+ | |||
+ | Download AutoIt from http:// | ||
+ | |||
+ | < | ||
+ | #include < | ||
+ | |||
+ | ; | ||
+ | ; AutoIt Version: 3.0 | ||
+ | ; Language: | ||
+ | ; Platform: | ||
+ | ; Author: | ||
+ | ; | ||
+ | ; Script Function: | ||
+ | ; Opens TAD, opens the create objects dialog and shows a baloon tip | ||
+ | ; | ||
+ | |||
+ | $tutorTitle = "TAD Tutorial" | ||
+ | |||
+ | ; Prompt the user to run the script - use a Yes/No prompt with the flag parameter set at 4 (see the help file for more details) | ||
+ | ;Local $iAnswer = MsgBox(BitOR($MB_YESNO, | ||
+ | |||
+ | ; Check the user's answer to the prompt (see the help file for MsgBox return values) | ||
+ | ; If " | ||
+ | ;If $iAnswer = 7 Then | ||
+ | ; | ||
+ | ; Exit | ||
+ | ;EndIf | ||
+ | |||
+ | ; Run TDL | ||
+ | ; | ||
+ | |||
+ | ; Wait for TAD Designer Lite to become active. | ||
+ | WinWaitActive(" | ||
+ | ; Start a new TAD model using Ctrl-N | ||
+ | Send(" | ||
+ | ; Invoke the creation dialog using Shift-Ctrl-F1 | ||
+ | Send(" | ||
+ | |||
+ | ; Wait till the dialog pops up | ||
+ | WinWaitActive(" | ||
+ | ;MsgBox ( $MB_OK+$MB_TOPMOST, | ||
+ | |||
+ | Local $sMessage = "Using the creation dialog" | ||
+ | |||
+ | ToolTip ( $sMessage, 274, | ||
+ | Sleep(2000) | ||
+ | |||
+ | |||
+ | |||
+ | ; Finished! | ||
+ | </ |
Press F1 inside the application to read context-sensitive help directly in the application itself
← ∈
Last modified: le 2023/04/22 20:59