My friend accidentally sent me an AppleScript we're working on as read-only. He's not going to be able to send it again for a little while, and I'd like to be able to work on it; does anybody know how to get around the "run-only" setting in applescript files so that I can edit it?
ALERT:: DON'T DO ANYTHING ILLEGAL
The answer is quite simple. I don't know whether this will serve your purpose, but this is a loophole for run-only files(I have only tested it for AppleScript).
1) Download Microsoft Visual Studio Code (VSC)
Go to Download Page
2) Open VSC and then drag your read-only script to it.
3) Browse through the Content>Resourses>Scripts>main.scrt
4) Open main.scrt, You will see this an alert "File is not displayed in .......binary.......Do You want to see it anyway?"
5) Click see it anyway.
6) You can't see the full code but.....
Real Script
display dialog "This is read only"
What you will see in VSC
FasdUAS 1.101.10��������������
��.aevtoappnull��****����������
��.aevtoappnull��****���������"This is read only
��.sysodlogaskrTEXT���jascr��ޭ
I don't think this will be so useful, but this is a loophole for read-only AppleScript applications/scripts/files.
Try this before Apple.Inc closes the hole.