Now notice you can also do Double Strikethrough. You can just select single strikethrough and it will strikethrough whatever is selected. Strikethrough is one of the options you get here. Well the trick for that is to go to Show Fonts, or Command T. Well, if you select some text and you go to Font you can see you can make things Bold, Underline, Italic. Say you want to strike something out by putting a line through it. But there are so many little different tips and tricks that even people that use stickies everyday don't know about. A lot of people use it to put little bits of text on the screen to remind them of things, to have a list and other things readily available to them. So stickies has been around for 20+ years on the Mac. Join us and get exclusive content and course discounts. There you can find out more about the Patreon Campaign. MacMost is brought to you thanks to a great group of more than 700 supporters. Today let me show you all sorts of advanced tips and tricks for using stickies on your Mac. The onus is always upon the User to add/use appropriate error handling as needed/wanted.Check out 39 Tips and Tricks To Get the Most Out Of macOS Stickies at YouTube for closed captioning and more options.
If need be, make use of the delay command and adjust its value as/where needed/wanted.Īlso the above example code does not employ any form of absolute error handling and is meant only to show how the individual events can be coded to achieve the objective. The example code above, as is, worked on my system. You may/will need to either adjust the value of any delay command and or add/remove additional delay commands as needed/wanted through any given UI Scripting scenario.
Note: One of the drawbacks of UI Scripting, is at times the needed use of the delay command to ensure the targeted UI Element is available to be acted upon. This AppleScript code can be placed in a Run AppleScript action in an Automator Service workflow.
Set properties of window 1 of application process "Stickies" to
Question How to create a simple keyboard macro with Automator? shows a much simpler Applescript that could be adapted to doing what I describe (I've done such) but I'm frustrated that my simple "Watch Me Do" doesn't work. If I add to the workflow an existing Automator action that launches the Stickies application, then "AW" does get inserted, followed by "Return". This is such a simple action that I believe that I have misunderstood something. I saved the above example as a service and tried executing the service in an empty Stickies note. In System Preferences, Security & Privacy, Privacy I allowed Automator.app and Stickies.app to control my computer. Run script "tell application \"System Events\" Set endDate to (current date) + timeoutSeconds On doWithTimeout(uiScript, timeoutSeconds) My doWithTimeout( uiScript, timeoutSeconds ) It recorded the following (Events were "Type 'AW'" and "Press Return", the rest is the expansion into code): I tried using "Watch Me Do" in Automator to insert text "AW" and "Return" in a Stickies note.