Right Click Booster - add RTF file to right click?

52 views
Skip to first unread message

John Herbert

unread,
Apr 21, 2021, 5:03:52 PM4/21/21
to Hobbyist Software Forum
Mac OS Big Sur -- I downloaded RCB or Right Click Booster. There is a shell script that can execute and create a new text (untitled.txt) file upon right click.  Anyone know how to change the shell to make this file an RTF rich text format on default? 

Thanks !

#!/bin/sh
#Action:{"name":"Create Untitled.txt","param":"-t","requiresDirectory":1}
touchUntitled()
{
    echo "touch $pValue/Untitled.txt"
    touch "$pValue/Untitled.txt"
}

Confused Vorlon

unread,
Apr 21, 2021, 5:17:32 PM4/21/21
to Hobbyist Software Forum
Have you tried just replacing .txt with .rtf everywhere?

Confused Vorlon

unread,
Apr 22, 2021, 7:15:14 AM4/22/21
to Hobbyist Software Forum
stack overflow has this:


it looks like

echo "make rtf $pValue/Untitled.txt"
echo '{\rtf1}' > "$pValue/Untitled.rtf"

Reply all
Reply to author
Forward
0 new messages