-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Thorsten Willert edited this page Nov 23, 2019
·
19 revisions
In Arbeit ...
Bis dahin bitte jEdit4AutoIt benutzen.
Erweitert jEdit zu einer IDE für AutoIt.
- Edit-mode
- Commando files
- XInsert library
- Clipper libraries
- ctags
- Macros
- Console-plugin
- Clipper-plugin
- XInsert-plugin
- Sidekick-plugin
- CtagsSideKick-plugin
An installation of AutoIt3 and all the other tools you want e.g. Tidy ...
- Context Menu
- Column Ruler
- jDiff
- MyDoggyPlugin
- Project Viewer
- TextTools
- WhiteSpace
Creates a new function with description:
; #FUNCTION# ===================================================================
; Name ..........: _FF_DM_DownloadPause
; Description ...: Pauses the specified download
; AutoIt Version : V3.3.0.0
; Requirement(s).: FF.au3 / MozRepl
; Syntax ........: _FF_DM_DownloadPause($iID)
; Parameter(s): .: $iID - Download ID
; Return Value ..: Success - 1
; Failure - 0
; @ERROR -
; Author(s) .....: Thorsten Willert
; Date ..........: Sat Mar 28 00:24:15 CET 2009
; Related .......:
; Link ..........:
; ==============================================================================
Func _FF_DM_DownloadPause($iID)
EndFunc ;==>_FF_DM_DownloadPause
(would be replaced by FreeMarker / FMPP)
With the following statements and constants:
- #define Definition of simple macros
- #undefine / #undef removing a macro
- #ifdef / #elif / #else / #endif Conditional statement (not nestable yet)
- __TIME__ Replaced with the current time
- __DATE__ Replaced with the current date
- __DATE_AND_TIME__ Replaced with the current date and time
- __NAME__ Replaced with full filename
- __FILE__ Replaced with filename
- __AUTOIT_VERSION__ Replaced with the version of AutoIt
- __AUTOIT_BETAVERSION__ Replaced with the beta-version of AutoIt
Replaces:
var++ var += 1
var-- var -= 1
var=(a?b:c) If a Then var=b Else var=c
a?b:c If a Then b Else c
a<<b BitShift(a, b)
a>>b BitShift(a, -(b))
~a BitNot(a)
!a Not a
!( Not (...
a % b Mod(a, b)
a <<= b a = BitShift(a, b)
a >>= b a = BitShift(a, -(b))
a %= b a = Mod(a, b)
For $i : $Array For $i = 0 To UBound($Array)-1
Input e.g.:
; File ............: __NAME__
; AutoItVersion ...: __AUTOIT_VERSION__
; Time ............: __TIME__
; Date ............: __DATE__
#define Text "foo bar"
#define Var1 $ok[$i]
#define Var2 $test
#define Beta
~$b[$i]
$a %= $b
$a <<= $v[$i]
$a >>= $v
#ifdef Beta
#include <test_beta.au3>
#else
#include <test.au3>
#endif
Var1 = ( 1 > $a ? "ok" : Text )
For $i : $aArray
MsgBox(64,"",$aArray[$i])
Next
#undef Var2
#ifdef Var2
MsgBox(64,"","1")
#elif Test
MsgBox(64,"",Var2)
#elif Var1
MsgBox(64,"",Text)
#else
MsgBox(64,"","3")
#endif
Output: (after tidy)
; File ............: pp_test.au3
; AutoItVersion ...: v3.3.0.0
; Time ............: 20:20:35
; Date ............: Mi Mai 2009
BitNOT($b[$i])
$a = Mod($a, $b)
$a = BitShift($a, $v[$i])
$a = BitShift($a, -($v))
#include <test_beta.au3>
If 1 > $a Then
$ok[$i] = "ok"
Else
$ok[$i] = "foo bar"
EndIf
For $i = 0 To UBound($aArray) -1
MsgBox(64, "", $aArray[$i])
Next
MsgBox(64, "", "foo bar")
Macro | Description | Location |
---|---|---|
Insert_Filename.bsh | Inserts at cursor-postion a filename from a file-dialog. | |
Insert_Line.bsh | Inserts a single "line" comment, depending on the buffer mode. | |
Number_decr_1.bsh | Int on cursor position -1 | |
Number_decr_10.bsh | Int on cursor position -10 | |
Number_incr_1.bsh | Int on cursor position +1 | |
Number_incr_10.bsh | Int on cursor position +10 | |
Quoted_String_Delete.bsh | Deletes the quoted string at cursor position. | |
Quoted_String_Select.bsh | Selects the quoted string at cursor position. | |
Quoted_String_Select_Next.bsh | Searches and selects the next quoted string. |
Toggles words at cursor position, depending on the edit-mode.
Mode AutoItScript:
1 | 2 |
---|---|
True | False |
And | Or |
BitOR | BitAND |
$GUI_CHECKED | $GUI_UNCHECKED |
$GUI_ENABLE | $GUI_DISABLE |
$GUI_SHOW | $GUI_HIDE |
$SW_SHOW | $SW_HIDE |
$SW_ENABLE | $SW_DISABLE |
$SW_LOCK | $SW_UNLOCK |
$SW_MINIMIZE | $SW_MAXIMIZE |
Global | Local |
Else | ElseIf |
Select | Switch |
EndSelect | EndSwitch |
Installation of the config-files:
%appdata%/jEdit/toggle/EDITMODE/toggle.config
KeyWord_Search.bsh Online-Help.