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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="Cache-Control" content="no-store" /> | |
<meta http-equiv="Cache-Control" content="no-cache" /> | |
<meta http-equiv="Pragma" content="no-cache" /> | |
<meta http-equiv="expires" content="mon, 27 sep 2010 14:30:00 GMT" /> |
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
#cs | |
write_this_folder_to_user_path_env.au3 | version 1.0 | written in AutoIt 3 | |
Description: This script writes the path of its folder to user PATH environment | |
(HKEY_CURRENT_USER\Environment - Path). First it checks, if the path exists, | |
and if not, then gives the option to write it. | |
Author: Tibor Repček | |
Web: https://gist.github.com/tiborepcek/be334bae9a1851796df37626b8c2c57b | |
#ce | |
$currentUserPaths = RegRead("HKEY_CURRENT_USER\Environment", "Path") |
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
#NoTrayIcon | |
#include <Clipboard.au3> | |
MsgBox(0, "", StringStripWS(_ClipBoard_GetData($CF_UNICODETEXT), 8)) |
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
#NoTrayIcon | |
#include <Array.au3> | |
$fileCSV = @ScriptDir & "\test.csv" | |
$fileCSVinArray = FileReadToArray($fileCSV) | |
$fileCSVinString = _ArrayToString($fileCSVinArray, @CRLF) | |
$fileCSVinString = StringStripWS($fileCSVinString, 4) ;remove double (or more) spaces between words |
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
<script> | |
document.getElementById('frm-notes').disabled = true; | |
document.getElementById('frm-notes').value = 'text of a note'; | |
</script> |
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
$settings_file = @ScriptDir & "\settings.ini" | |
$url = IniRead($settings_file, "auto-dl-unzip", "url", "default") | |
$output_file = StringSplit($url, "/") | |
$output_file = $output_file[$output_file[0]] | |
RunWait(@ScriptDir & "\curl.exe -o " & $output_file & " " & $url, @DesktopDir) | |
RunWait(@ScriptDir & "\7za.exe x " & $output_file, @DesktopDir) |