Antwort auf den Beitrag "Re:MacOS: Tastatur-Shortcut als Desktop-Icon speichern" posten:
Nickname:
Passwort:
Thema:
Nachricht:
>>Ich möchte gerne selten benutzte Keyboard-Shortcuts auf dem Macbook Air als Desktop-Icon oder ähnlich einfach nutzbar speichern. >> >>sehr konkretes Beispiel: >>Einen Fensterinhalt als Datei speichern erfordert 4 Tasten. >> >>Halte diese Tasten gleichzeitig gedrückt: Umschalttaste, Befehlstaste, 4 und Leertaste. >>https://support.apple.com/de-de/HT201361 >> >>Ich suche etwas, was ich meinem Vater auf den Desktop legen kann. Am besten 1 Taste wie PrintScreen am PC. >> >>Hat da jemand einen Tipp? > >Geht sicherlich mit Apple Script. Zu faul gerade zu schauen, falls du via Google nichts findest dürfte dir ChatGPT sicherlich auch ein passendes Script bauen. > >Edit: > >tell application "System Events" > set theWindow to (name of first window of application process "ApplicationName") > set theDesktop to (path to desktop folder as Unicode text) > set theDate to do shell script "date +'%Y-%m-%d_%H-%M-%S'" > set theScreenshotFile to theDesktop & "screenshot_" & theDate & ".png" > tell process "ApplicationName" > set theBounds to bounds of window theWindow > end tell > do shell script "screencapture -R" & (item 1 of theBounds) & "," & (item 2 of theBounds) & "," & (item 3 of theBounds) & "," & (item 4 of theBounds) & " " & quoted form of theScreenshotFile >end tell > > >In this script, you will need to replace "ApplicationName" with the name of the application you want to take a screenshot of. The script uses the "System Events" application to set the window name and bounds, and to run the screencapture command. The -R flag is used to specify the coordinates of the window to capture, and the date and time are used to create a unique filename for the screenshot, as in the previous example.
mailbenachrichtigung?