This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
This SL5_ContentFinder class is part of the doSqlWeb project, | |
a PHP Template Engine. | |
Copyright (C) 2013 Sebastian Lauffer, http://SL5.net | |
SL5_ContentFinder stands under the terms of the GNU General Public | |
License as published by the Free Software Foundation, either version 3 | |
of the License, or (at your option) any later version. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Switching beetween Editors and zooming text during presentations or so could be complicated. | |
If you used to do it like in notepad++ may this helps: | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#SingleInstance force | |
; written by sl5.net |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
#SingleInstance off ; sonst kriegen wir (zumindest bei kurzen Skripten) die AHK-Meldung | |
/* | |
registriere Nachrichten | |
=========================== | |
Wir könnten hier irgendwelche festen Zahlen verwenden, aber wenn wir Pech haben, führt das zu Konflikten mit anderen Programmen, | |
die dieselbe Zahl für was Anderes nutzen. | |
Also registrieren wir die Nachricht offiziell bei Windows und kriegen den Zahlenwert dafür geliefert. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#IfWinActive,ahk_class SunAwtFrame | |
^>!7:: ; AltGr + 7 | |
useCase:=1 | |
if(useCase == 2) | |
{ | |
; dont work | |
Suspend,on | |
Send,{Blind} | |
Send,{CtrlDown}!{{} ; works | |
;~ Send,{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Example #1: | |
SysGet, MouseButtonCount, 43 | |
SysGet, VirtualScreenWidth, 78 | |
SysGet, VirtualScreenHeight, 79 | |
; Example #2: This is a working script that displays info about each monitor: | |
SysGet, MonitorCount, MonitorCount | |
SysGet, MonitorPrimary, MonitorPrimary | |
monitorTXT := "Monit!or15-06-05_07-57.txt" ; dateinamen für die ausgabe der monitor daten | |
IfExist,%monitorTXT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = getNumberScreens() | |
nNumverScreensExpected = 4 | |
print (Env.getSikuliVersion() , " " , n , " monitors." ) | |
for ScreenId in range(n): | |
print("----------------- ScreenId = ", ScreenId) | |
reg = Screen(ScreenId) | |
print("reg: x, y, w, h = ", reg.x , reg.y, reg.w, reg.h) | |
x = reg.x | |
y = reg.y | |
topLeft = Location(x, y) # equivalent to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetTitleMatchMode,2 | |
#IfWinActive,- IntelliJ IDEA 14.1.3 ahk_class SunAwtFrame | |
^%:: | |
+%:: | |
if(StrLen(clipboard) < 100 ) | |
{ | |
c := clipboard | |
c2 := "{NumpadAdd} "" = " . c . "\n""" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loop, %A_ScriptDir%/*.*, 2 , 1 | |
{ | |
if(StrLen(A_LoopFileFullPath) < StrLen(A_ScriptDir)) | |
{ | |
; thats bullshit | |
continue | |
} | |
;~ ToolTip,A_LoopFileFullPath=%A_LoopFileFullPath% | |
msgBox_A_LoopFileF = A_LoopFileFullPath= %A_LoopFileFullPath% `n A_LoopFileFullPath=%A_LoopFileFullPath% `n A_LoopFileName=%A_LoopFileName% `n A_LoopFileDir=%A_LoopFileDir% `n A_ScriptDir=%A_ScriptDir% `n %A_AhkVersion% = A_ahkVersion (line:%A_LineNumber%) `n Tools: SciTE4AutoHotkey, SL5_AHK_Refactor_engine | |
Clipboard=%msgBox_A_LoopFileF% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.3.0' | |
// NOTE: Do not place your application dependencies here; they belong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Indentation_style: https://de.wikipedia.org/wiki/Einrückungsstil#SL5small-Stil | |
#Include *i %A_ScriptDir%\inc_ahk\init_global.init.inc.ahk | |
; text sugestion for your commit: this commits are fully automatic produced by script automatic-git-push-in-intellij.ahk | |
SetTitleMatchMode,2 | |
feedbackMsgBoxCloseAllWindows() | |
;feedbackMsgBox(A_ScriptName,"18-01-06_16-26") | |
; htdocs master - [C:\xampp\apps\wordpress\htdocs] - ...\README.md [htdocs] - PhpStorm ahk_class SunAwtFrame ; mouseWindowTitle=0x1f0996 ; |
OlderNewer