facebook twitter google+ linkedin reddit delicious stumbleupon

Macros

Gang stalking electronic harassment implants website sharing buttons gang stalking electronic harassment implants

gsehi.com > Computing > Software > Mac OS > Macros

Macros Finder icon

ZIP file icon Download Macros (StuffIt X, 6.8 K)

ZIP file icon Download sample macro definitions (StuffIt X, 129.7 K)

Purpose

The extension lets you define macros.

Macros is incompatible with CameraMan 3.0 and WorldText.
Macros can’t override command-Q.

If you want to define a macro for a specific key combination then you have to make a file with a special filename. The contents of that file will be placed on the clipboard and it will perform command + V instead of the key combination when you type that key combination.

The filename needs to start with the key code of the key followed eventually by modifiers, separated by a space. The modifiers need to be in this order: command, control, alt, and shift. For example, “34 control shift” defines control + shift + I.

These macro definition files have to be placed in the Macro definitions folder in the preferences folder.

The key codes can be found using my program Key event calculator.

The filename may start with a remark which ends with =. For example, “P=35 control” defines control + P.

If the file is a text file then it places the data fork on the clipboard as a ‘TEXT’ flavor.

If the file is a resource file then it places the resources on the clipboard. The resource type will be used as the clipboard flavor. There may be only one resource of every type.

If the file is empty then this will empty the clipboard when you type that key combination.

If you make a mistake, for example, if you write an incorrect filename such as “P=35 alt control” or “sdfgsdgf” then the extension will stop processing the following macro definition files. If you want to be sure whether everything is correct, then try the macro which is defined in the last file.

These are good ideas for macros:

Filename Key combination Contents
B=11 control control + B bool
C=8 control control + C const
C=8 control shift control + shift + C ConstStringPtr
C=8 control alt shift control + alt + shift + C const_cast<>()
D=2 control control + D delete
D=2 control shift control + shift + D Deallocator
D=2 control alt control + alt + D #define __file__ "\p" __FILE__
D=2 control alt shift control + alt + shift + D dynamic_cast<>()
E=14 control control + E explicit
E=14 control shift control + shift + E err!=noErr
F=3 control control + F return false;
F=3 control shift control + shift + F false
G=5 control control + G for (SInt32 i=0;i<;i++)return tab{return return}
H=4 control control + H Handle
H=4 control shift control + shift + H HandleLock
I=34 control control + I if ()tab{return return}
I=34 control shift control + shift + I #include ".h"
J=38 control control + J if ()return tab{return return}returnelsereturn tab{return return}
K=40 control control + K while ()return tab{return return}
N=45 control control + N nil
N=45 control shift control + shift + N "\p"
O=31 control control + O OSErr
O=31 control shift control + shift + O OSType
P=35 control control + P private
P=35 control shift control + shift + P protected
P=35 control alt control + alt + P public
P=35 control alt shift control + alt + shift + P pascal
R=15 control control + R return
R=15 control alt shift control + alt + shift + R reinterpret_cast<>()
S=1 control control + S SInt
S=1 control shift control + shift + S StringPtr
S=1 control alt control + alt + S static
S=1 control alt shift control + alt + shift + S static_cast<>()
T=17 control control + T return true;
T=17 control shift control + shift + T true
U=32 control control + U UInt
V=9 control control + V void
V=9 control shift control + shift + V virtual
X=7 control control + X __declspec(export)

These are good ideas for special keys:

Filename Key combination Contents
Tab=48 control control + Tab tab
Return=36 control control + return return
Esc=53 escape (.+)
F01=122 F1 \1
F02=120 F2 \2
F03=99 F3 \3
F04=118 F4 \4
F05=96 F5 «
F06=97 F6 »
F07=98 F7 (
F08=100 F8 )
F09=101 F9 {
F10=109 F10 }
F11=103 F11 [
F12=111 F12 ]
F13=105 F13 \
F14=107 F14 |
F15=113 F15

Use

Drag Macros to the system folder and restart.

Macros is an application extension.

Disclaimer

This software is provided as is. There is no guarantee whatsoever. I will under no circumstance accept any liability for possible damage.

This software is licensed to you, for your own use. This is copyrighted software. You are not obtaining title to the software or any copyright rights. You may not sublicense, rent, lease, convey, modify, translate, convert to other programming languages, decompile, or disassemble this software for any purpose.

You may make as many copies of this software as you need for back-up purposes. In addition, you may use this program on more than one computer.

I disclaim all warranties relating to this software, whether expressed or implied, including but not limited to any implied warranties of merchantability and fitness for a particular purpose, and all such warranties are expressly and specifically disclaimed. I will never be liable for any indirect, consequential, or incidental damages arising out of the use or inability to use such software even if I have been advised of the possibility of such damages or claims. In no event shall my liability for any damages ever exceed the price paid for the license to use the software, regardless of the form of the claim. The person using the software bears all risk as to the quality and performance of the software.

© 2017 Cliff Huylebroeck