![]() I have also tried automating the color picker: can use System Events to control the keystrokes to bring up the color picker but then I am lost: I don'y know how to get System Events or keystrokes or even standard commands to set a specified color.Īny help or hints would be vastly appreciated. How come? Any way make it work with a keyboard shortcut and avoid creating a new/temp document? Though when the Script Editor is open and I click on "Run" it works. And now, if I try to automate this script with a keyboard shortcut it fails, I have tried to create a simple Applescript to set the font of highlighted text ("the selection") to "blue" but I kept getting type reference errors until I opened a new document, pasted the highlighted text into it, changed the color, then copied the text back into the original document. My "simple" objective is to use a keyboard shortcut to change the color of a block of highlighted text in a TextEdit document to (for example) "blue".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |