Skip to content

Commit a7cecdf

Browse files
committed
Writing Tools 1.2
- added option to disable the alert before auto selecting text for apps (that handle text) - refactoring
1 parent 58d80b7 commit a7cecdf

File tree

8 files changed

+417
-285
lines changed

8 files changed

+417
-285
lines changed

Diff for: Writing-Tools/03.jpg

110 KB
Loading

Diff for: Writing-Tools/README.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,26 @@
44

55
<img src="01.jpg" width="848"/>
66

7-
Writing Tools[^1] is an action that can help improve your writing, e.g. by checking your spelling, grammar, and punctuation. Tools are fully customizable (see Edit tools).[^2]
7+
Writing Tools[^1] is an action that can help improve your writing, e.g. by checking your spelling, grammar, and punctuation.[^2]
88

9-
You can mark and send text to the action or have it mark all text automatically. The changed text will replace the selection.
9+
You can select and **send text** to the action or have it **select all text automatically**.[^3]
1010

11-
By default, the action will use your default tool (see Settings). To select a different tool, press `Command` + `Enter`.
12-
13-
<img src="02.jpg" width="848"/>
11+
The changed text will replace the selection.
1412

1513
The action works with any text field in any app. However, **it works best with iA Writer** and its [powerful feature to distinguish between authors](https://ia.net/writer/support/editor/authorship). This way, you can easily see all the changes made by ChatGPT.
1614

1715
If you prefer, you can also use the [BBEdit](https://www.barebones.com) comparison feature instead.
1816

1917
***Note:** The iA Writer paste feature uses [GUI scripting](http://www.macosxautomation.com/applescript/uiscripting/) and may not work properly after an update of iA Writer. Please [report](https://github.com/Ptujec/LaunchBar/issues/new) any issues you encounter.*
2018

19+
## Tools
20+
21+
By default, the action will use your default tool (see Settings). To select a different tool, press `Command` + `Enter`.
22+
23+
<img src="02.jpg" width="848"/>
24+
25+
Tools are fully customizable (see Edit tools).
26+
2127
## Settings
2228

2329
Access the settings with `Option` + `Enter`.
@@ -60,4 +66,5 @@ To use this action, you need an [API key from OpenAI](https://platform.openai.co
6066
This action integrates with Action Updates by @prenagha. Find the [latest version on his GitHub](https://github.com/prenagha/launchbar) and a signed version on his [website](https://renaghan.com/launchbar/action-updates/).
6167

6268
[^1]: I have not had the chance to try Apple's AI Writing Tools, but so far, they do not sound too promising anyway. With this action, you can always benefit from the latest OpenAI models and refine the tools yourself.
63-
[^2]: Please consider privacy and the pitfalls of using LLMs in general as you use this.
69+
[^2]: Please consider privacy and the pitfalls of using LLMs in general as you use this.
70+
[^3]: In the case of automatic text selection there is an alert to protect you from triggering this accidentally. You can disable that alert for a given app in settings (`Option` + `Enter`).

Diff for: Writing-Tools/Writing Tools.lbaction/Contents/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleName</key>
1010
<string>Writing Tools</string>
1111
<key>CFBundleVersion</key>
12-
<string>1.1.4</string>
12+
<string>1.2</string>
1313
<key>LBDescription</key>
1414
<dict>
1515
<key>LBAuthor</key>
Loading

Diff for: Writing-Tools/Writing Tools.lbaction/Contents/Resources/de.lproj/default.strings

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@
3030
"Make sure the API key is the most recent item in the clipboard!" = "Stellen Sie sicher, dass der API-Schlüssel der letzte Eintrag in der Zwischenablage ist!";
3131
"Invalid OpenAI API key" = "Ungültiger OpenAI API-Schlüssel";
3232
"Recommended" = "Empfohlen";
33-
"Select all text?" = "Den gesamten Text auswählen?";
33+
"Select all text?" = "Den gesamten Text auswählen?";
34+
"Disable Alert for Apps" = "Bestätigung für Apps deaktivieren";
35+
"Disable alert before auto selecting text for certain apps" = "Bestätigung vor automatischer Textauswahl für bestimmte Apps deaktivieren";
36+
"No alert" = "Keine Bestätigung";
37+
"Disable alert for this app!" = "Keine Bestätigung für diese App anzeigen!";

Diff for: Writing-Tools/Writing Tools.lbaction/Contents/Scripts/as.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Applescripts for Writing Tools Action for LaunchBar (using Chat GPT)
33
by Christian Bender (@ptujec)
4-
2024-11-10
4+
2024-12-18
55
*/
66

77
const getFrontmostAS =

0 commit comments

Comments
 (0)