Win
Win: Check ‘bitness’ of a binary
Written by marcelpetrick on July 8, 2015
Invoke
1 |
dumpbin.exe /headers filename > target.txt |
The value for “machine” will determine the bitness: 14C stands for x86; 8664 for x64.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Microsoft (R) COFF/PE Dumper Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file C:\.... \qtmaind.lib File Type: LIBRARY FILE HEADER VALUES 8664 machine (x64) 79 number of sections 52813031 time date stamp Mon Nov 11 20:29:53 2014 E1A6 file pointer to symbol table 184 number of symbols 0 size of optional header 0 characteristics |
Left-click multiplier (or: ‘avoid carpal tunnel syndrome’)
Written by marcelpetrick on January 13, 2015
A small helper-script to prevent fatigue. The task itself could not be automated, but the amount of emitted clicks could be.
So here is a small AutoIt to trigger the needed clicks at the current mouse-position.
Some “exit the script”-sugar could be added, but I did not do.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
HotKeySet("+c", "captureB") ; brief: if caps+c is pressed, then emit 18 LMB-clicks at the current position Func captureB() ; for tracking ConsoleWrite("captureB called" & @CRLF) ; send ten left clicks For $i = 0 To 17 Step 1 ;18 is half the max amount MouseClick("left") ConsoleWrite($i & @CRLF) Sleep(10) Next EndFunc ; body While 1 Sleep(200) WEnd |