7 posts in this topic
I like to use au3 abbreviations. 'mb2' is often used. But I don't remember them very long. So I wanted to have a little tool looking for it.
This tool is embedded as a command inside SciTE.
First the tool itself:
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_Comment=Looks for an au3-abbreviation of a word in Clipboard or $CmdLine. #AutoIt3Wrapper_Res_Description=Looks for an au3-abbreviation of a word in Clipboard or $CmdLine. #AutoIt3Wrapper_Res_Fileversion=220.127.116.11 #AutoIt3Wrapper_Res_LegalCopyright=Simpel #AutoIt3Wrapper_Res_Language=1031 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <File.au3> Global $Ini = @ScriptDir & "\au3abbrev.ini" Global $au3abbrev = "PUT IN HERE THE PATH TO\au3abbrev.properties" ; mine is at …\AutoIt3\SciTE\au3abbrev.properties Global $aGetEntries Global $sSearch, $sOutput FileCopy($au3abbrev, $Ini, 1) ; make an ini from the properties file _FileWriteToLine($Ini, 1, "[Dictionary]") ; inserting '[Dictionary]' at first line, to make ini searchable #Region - Look for the right searchstring If StringLeft($CmdLineRaw, 13) = "/ErrorStdOut " Then ; if not compiled but run with F5 to test $sSearch = ClipGet() ElseIf $CmdLineRaw <> "" Then $sSearch = $CmdLineRaw ElseIf ClipGet() <> "" Then $sSearch = ClipGet() Else MsgBox(0, 'Fehler', "Kein Wort zum Suchen gefunden.") ; error Exit EndIf #EndRegion _GetDefinition() $sSearch = _Clean($sSearch) $sOutput = _Search($sSearch) MsgBox(0, 'au3abbrev.properties', "Ergebnisse für '" & $sSearch & "':" & @CRLF & @CRLF & $sOutput) Exit #Region - Functions Func _GetDefinition() If FileExists($Ini) Then $aGetEntries = IniReadSection($Ini, "Dictionary") If @error Then MsgBox(0, 'Fehler', "Keine Sektion [Dictionary] gefunden.") ; if inserting of "[Dictionary]" failed Exit EndIf EndIf EndFunc Func _Search($sInput) Local $iCounter = 1 Local $sfOutput For $i = 1 To $aGetEntries If StringInStr($aGetEntries[$i], $sInput) Then ; something is found $sfOutput = $sfOutput & _Clean($aGetEntries[$i]) & @TAB & _Clean($aGetEntries[$i]) & @CRLF & @CRLF $iCounter = $iCounter + 1 EndIf Next If $sfOutput = "" Then $sfOutput = "KEINE ÜBEREINSTIMMUNG" ; no matches found EndIf Return $sfOutput EndFunc Func _Clean($sData) $sData = StringReplace($sData, "|", "") ; erases "|" because it causes the array to jump to the next entry $sData = StringReplace($sData, '"', "") ; erases '"' because it sometimes causes the array to jump to the next entry Return $sData EndFunc #EndRegion And now the part at SciTEUser:
# 41 LookAU3Abbrev command.41.*="H:\_Conrad lokal\Downloads\AutoIt3\_COX\AU3-Abkuerzung.exe" "$(CurrentSelection)" command.name.41.*=Look Abbrev command.shortcut.41.*=Ctrl+Shift+Alt+A command.save.before.41.$(au3)=2 So I mark a regular AutoIt command inside SciTE (with double clicking) and press Ctrl+Shift+Alt+A. I will get a messagebox as answer what abbreviations will contain my sended command. But be careful, not all of these listed abbreviations will expand with space while coding. Abbreviations you want to use have the be declared inside the au3abbrev.keyword.properties(?)
This Epubmanager is good for short loadingtime and Detailed Information about the Books. With the manager it comes an full-reader with readout-function (TTS), using installed voices.
This Program is used to Manage e-books/epubs. You can import directorys. A lot of information is read from the epub and saved in a database.
Most important is the speed of loading books, because the management should be used for lots of epubs.
All chargings are displayed. There is also an Sql-Console, if you want to edit a lot of entry, otherwise you can do a rightclick and edit every Element in another window.
Also there is a Epub-Reader to read the epubs just with a doubleclick at any entry.
Information saved in the database (if they can be read in the epub):
identifier, author, description, title, genre, creationdate, path, speach
Information about Epub-Reader:
The Epub-Reader opens Epubs and they can be read chapter by chapter.
At the left side there is a Listbox, where you can select the chapters
There is also a read out function, reading your epub. (You can change Voice and Audiooutput, but you need to have installed a TTS-Speach).
Also you can edit the font-size.
I have designed and created a simple Clipboard manager in AutoIt. The project is open for any ideas, I hope you found it useful (and if you did please like my post so I can continue making software).
[Done] Can store data in up to 5 slots.
[Done] Options form.
[Done] System Tray menu.
[Done] Supports Hot-keys when pasting/copying data.
[Done] Ability to copy and store text.
[Done] Clipper theme.
[Coming soon] Ability to copy and store files and folders.
[Coming soon] Clipboard history form. ( currently logs history into a text file )
And Much Much More!
If you find any bugs or you have any ideas you are free to leave them here.
Please give this script a try because it took time. If you enjoyed this script PLEASE smash the like button, Thanks!
ALSO: Have any script ideas? Please share them with me because I will make them!
SCABBRMAN - SciTE Abbreviations Manager
Description: This tool is designed to manage SciTE editor abbreviations.
Tested on SciTE4AutoIt3 version.
Been working on this, SNMP UDF is a bit incomplete, but found a way to make it work as I wanted.
Restarts wan connection Retrieve connected devices (Local IP/MAC address/device name) Displays: router external ip | up time | brand & model I made this for my home router, but probably works on others models and brands (except the restart function, that is a TP-LINK exclusive xD)
TP-Link Manager v0.7.1.zip (v0.7 - 38 downloads)