

- #Osascript commands for geektool 3.3.1 how to#
- #Osascript commands for geektool 3.3.1 code#
- #Osascript commands for geektool 3.3.1 download#
If we run this script inside of Script Editor, we can see it working. 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. 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. With the information that I just learned in mind, I set up two repeat blocks. This verbiage is actually all I need to know to get going on a script. There are "lists" which contain "Reminders" that might or might not be "completed" and are identified by their "name". 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.

You'll have to set the refresh rate to be fairly fast on this one so the time stays accurate. Now set it to 48pt type and position it under the previous Geeklet. With this in mind, drag out a new Shell Geeklet and toss in the following code: date +"%l:%M" I'm not usually in such a poor mental state that I can't figure out if it's morning, afternoon or evening. I'll use the twelve hour clock with no zeros and no AM/PM.
#Osascript commands for geektool 3.3.1 code#
Copy and paste the following code into the Command field.
#Osascript commands for geektool 3.3.1 how to#
Now that we can see how to get all the pieces that we need, we can easily toss them all together into a single script. date '+%Y' - 2012 (year with four digits).date '+%e' - 1 (day of month without zero).date '+%d' - 01 (day of month with zero).(* This script displays returns all of your Skype contacts who are online, displays their moodtext (if they have one) and drops the echo123 test contact from the list.See how that works? Here's a larger list that should come in handy. The "widget" for iTunes is simply a Bowtie skin. They may have a demo for you to use, but I can't recall. You can make a menu for just about anything. The left menu that you see open (for the screenshot only) are the currently open apps "Processes".

I called the tab "Drives" in the upper right corner, but you can name them anything. Since my last posting I put my drives in a drop-down also to clean up my desktop even more. It's really easy to use and they have great support. I've tried others, but I like the customizing features the best. Remember to set your refresh times appropriately.įor fonts I just used Helvetica Neue Light, Medium or Regular. Īs far as the Time, Month, Date, and AM/PM separately use the following in the Geektool Shell Command field. With osascript, you are asking it to interpret, and execute the AppleScript command syntax that tells the operating system to do the same thing as pkill. Can be done from the command-line without the need of a script.
#Osascript commands for geektool 3.3.1 download#
She also has the links to download the scripts under the video controls, it'll include directions for the weather. The pkill command is a compiled binary that directly sends a SIGTERM (-15) signal to a process name that you provide to the script. Without getting you completely frustrated with any directions I could possibly put together for the weather including the image, it may be easier for you to watch the following Youtube video.
