Macros gang stalking electronic harassment implants > Computing > Software > Mac OS > Macros

Macros Finder icon

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

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


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 interpreted and the result will replace the key combination that you typed.

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.

There are 3 types of macros:

  1. If the file is a text file then it places the data fork on the clipboard as a ‘TEXT’ flavor. Then it will perform command + V instead of the key combination that you typed.

  2. If the file is a resource file with a ‘CPPC’ accelerated code resource then it uses this code to transform the text on the clipboard. Then it will perform command + V instead of the key combination that you typed.

    The function needs to have the following prototype:

    typedef bool (*TranslateProcPtr)(long in_size,const unsigned char *in,unsigned char **out);

    out is an existing handle which is not locked. You may resize it.

    Return true if it succeeds.

    The demo macro Z=13 control changes the text on the clipboard to lowercase.

  3. If the file is a resource file with a ‘KEYE’ resource then it posts corresponding key events. The resource is: count of events + repetition of keycode + char code.

    The demo macro X=7 control shift types the word ResEdit.

    This feature doesn’t work in the CodeWarrior Pro 6 IDE.

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 ~


Drag Macros to the system folder and restart.

Macros is an application extension.


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.

© 2012-2018 Cliff Huylebroeck