6/21/2023 0 Comments Geektool weather scripts![]() ![]() Now set it to 48pt type and position it under the previous Geeklet. You'll have to set the refresh rate to be fairly fast on this one so the time stays accurate. I set it to ten seconds but if you really need to the second accuracy, you'll have to refresh every second.īrowsing through here, I get the gist of the basic syntax. There are "lists" which contain "Reminders" that might or might not be "completed" and are identified by their "name". This verbiage is actually all I need to know to get going on a script. With the information that I just learned in mind, I set up two repeat blocks. The first goes through and grabs every reminder in the list "Reminders" (change this name if you have a different list in mind) that is not checked off and completed. Set theOutput to (theOutput & item i of theList as string) & linefeed & "-" & linefeed Repeat with i from 1 to (count of every item of theList) Set theList to theList & name of reminder i of list "Reminders" If reminder i of list "Reminders" is not completed then Repeat with i from 1 to (count of every reminder of list "Reminders") osascript /Users/MacBookPrime/Documents/Geeklets/TestScript.scpt The second repeat block adds some formatting to the previous list so the output looks a little nicer. If we run this script inside of Script Editor, we can see it working. #Osascript commands for geektool 3.3.1 download#. ![]() #Osascript commands for geektool 3.3.1 code#.#Osascript commands for geektool 3.3.1 how to#. ![]()
0 Comments
Leave a Reply. |