Browse Source

Initial commit

main
Rocketsoup 2 weeks ago
parent
commit
a7306e231b
3 changed files with 20 additions and 1 deletions
  1. 1
    0
      .gitignore
  2. BIN
      NewText.scpt
  3. 19
    1
      README.md

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
1
+.DS_Store

BIN
NewText.scpt View File


+ 19
- 1
README.md View File

@@ -1,3 +1,21 @@
1 1
 # mac-app-newtext
2 2
 
3
-MacOS Script Editor app that will create a new empty notes.txt in your current Finder window
3
+MacOS Script Editor app that will create a new empty notes.txt in your current Finder window.
4
+
5
+## To create app
6
+
7
+These instructions are based on MacOS Sequoia (15.7). There may be small differences in Script Editor options and menus.
8
+
9
+1. Open `NewText.scpt` in the Mac system app Script Editor
10
+   - Make any edits you'd like. E.g. if you prefer a different filename than `notes.txt`, it's fairly obvious where to change that in a couple places.
11
+2. Click File > Export...
12
+3. Pick file format of Application
13
+4. Typically you'll want to export it either to `~/Applications` (for just yourself to use) or `/Applications` (for all users)
14
+5. In Code Sign, pick "Sign to Run Locally"
15
+6. Click Save
16
+
17
+## To use
18
+
19
+Whenever you are in a Finder window, if you want to create a blank `notes.txt` file, just Cmd+Space to invoke Spotlight and start typing "NewText" until it autocompletes, then hit enter to create the file. If you have multiple Finder windows open, it will be created in the topmost one. You can create one on the desktop by clicking the desktop before invoking. If you already have a `notes.txt` in that directory, a `notes 1.txt` will be created, or `notes 2.txt`, etc.
20
+
21
+The first time you run it in Documents, Downloads, network drives, and some other folders, you may be prompted to allow the script access to that folder. You need to click allow for it to work there.

Loading…
Cancel
Save