Skip to content

Commit fb3d690

Browse files
✨ Add Messages MMSShowSubject command (#332) (#351)
Co-authored-by: Owen Hayes <[email protected]>
1 parent 09f4a3c commit fb3d690

File tree

6 files changed

+94
-0
lines changed

6 files changed

+94
-0
lines changed

docs/.vitepress/config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,15 @@ export default defineConfig({
436436
{ text: 'Dock Icon type', link: '/activity-monitor/icontype.md' },
437437
],
438438
},
439+
{
440+
text: 'Messages',
441+
items: [
442+
{
443+
text: 'Show Subject Field',
444+
link: '/messages/show-subject-field.md',
445+
},
446+
],
447+
},
439448
{
440449
text: 'Miscellaneous',
441450
items: [

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ defaults rename ${domain} ${old_key} ${new_key}
181181
- [Update Frequency](./activity-monitor/updateperiod.md)
182182
- [Dock Icon type](./activity-monitor/icontype.md)
183183

184+
### Messages
185+
186+
- [Show Subject Field](./messages/show-subject-field.md)
187+
184188
### Miscellaneous
185189

186190
- [Help Menu position](./misc/devmode.md)
15 KB
Loading
19.7 KB
Loading

docs/messages/index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Messages
3+
description: Messages serves as a comprehensive messaging platform in macOS, allowing users to send and receive iMessages, photos, videos, and audio messages seamlessly across Apple devices. When connected with an iPhone, users can send and receive SMS and MMS messages directly from their Mac.
4+
head:
5+
- - meta
6+
- property: 'og:title'
7+
content: macOS defaults > Messages
8+
- - meta
9+
- property: 'og:description'
10+
content: Messages serves as a comprehensive messaging platform in macOS, allowing users to send and receive iMessages, photos, videos, and audio messages seamlessly across Apple devices. When connected with an iPhone, users can send and receive SMS and MMS messages directly from their Mac.
11+
---
12+
13+
# Messages
14+
15+
Messages serves as a comprehensive messaging platform in macOS, allowing users to send and receive iMessages, photos, videos, and audio messages seamlessly across Apple devices.
16+
When connected with an iPhone, users can send and receive SMS and MMS messages directly from their Mac.
17+
18+
## Keys
19+
20+
- [Show Subject Field](./show-subject-field.md)
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Show Subject Field | Messages
3+
description: Show the subject field which appears above the iMessage/Text Message field in Messages. Text entered in the subject field will be sent in bold (unless there is no text in the iMessage/Text Message field; in this case, the text in the subject field will be sent without the bold effect).
4+
head:
5+
- - meta
6+
- property: 'og:title'
7+
content: macOS defaults > Message > Show Subject Field
8+
- - meta
9+
- property: 'og:description'
10+
content: Show the subject field which appears above the iMessage/Text Message field in Messages. Text entered in the subject field will be sent in bold (unless there is no text in the iMessage/Text Message field; in this case, the text in the subject field will be sent without the bold effect).
11+
---
12+
13+
# Show Subject Field
14+
15+
Show the subject field which appears above the iMessage/Text Message field in Messages. Text entered in the subject field will be sent in bold (unless there is no text in the iMessage/Text Message field; in this case, the text in the subject field will be sent without the bold effect).
16+
17+
<!-- break lists -->
18+
19+
- **Tested on macOS**:
20+
- Sonoma
21+
- **Parameter type**: bool
22+
23+
## Set to `true`
24+
25+
Show the subject field in Messages
26+
27+
```bash
28+
defaults write com.apple.MobileSMS "MMSShowSubject" -bool "true" && killall Messages
29+
```
30+
31+
<img
32+
src="./images/show-subject-field/true.png"
33+
alt="Messages app with subject field showing"
34+
height="550"
35+
/>
36+
37+
## Set to `false` (default value)
38+
39+
Hide the subject field in Messages
40+
41+
```bash
42+
defaults write com.apple.MobileSMS "MMSShowSubject" -bool "false" && killall Messages
43+
```
44+
45+
<img
46+
src="./images/show-subject-field/false.png"
47+
alt="Messages app with subject field hidden"
48+
height="550"
49+
/>
50+
51+
## Read current value
52+
53+
```bash
54+
defaults read com.apple.MobileSMS "MMSShowSubject"
55+
```
56+
57+
## Reset to default value
58+
59+
```bash
60+
defaults delete com.apple.MobileSMS "MMSShowSubject" && killall Messages
61+
```

0 commit comments

Comments
 (0)