> For the complete documentation index, see [llms.txt](https://docs.daitya.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.daitya.info/macos/mac-hacks.md).

# Mac hacks

### Take screenshots with shadows

Press `⌘` + `shift` + `4` then press `Space`. The selector will then change into a camera icon, and you can take a screenshot of the selected window with a shadow. Screenshot gets stored on Desktop by default.

*(*[*Source*](https://apple.stackexchange.com/questions/14769/how-does-one-make-screen-captures-with-a-shadow)*)*

### Add custom website search to Firefox

#### To save

1. Go to the website (say Stackoverflow)
2. Right click on the SEARCH field, select `Add A Keyword For This Search`

   ![](/files/LIFYWyaVtk2cd6vUsNQY)
3. Save the bookmark with a custom keyword&#x20;

   ![](/files/MHiw1hR7P5A9kBbi5x14)

#### **To use**

1. In the address bar, just type the customer keyword followed by a space followed by the search query: `<keyword><space><search query>`\
   ![](/files/eGuti0ltviiIg6rQc1Mz)

### Reduce file size - good quality filter in Preview

<https://apple.stackexchange.com/questions/297417/how-to-decrease-pdf-size-without-losing-quality>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.daitya.info/macos/mac-hacks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
