![]() I was in a Tinderbox Meetup last week, which was more about Hook than Tinderbox. I may release this tool if there is a demand for it. It feels like you’re editing a Markdown text with an AI pair. RubyGPT can be helpful in programming sessions, brainstorming, or general inquiry. I also created a corresponding AppleScript that passes the currently edited file from BBEdit into the `rubygpt` gem, parses the request then updates the file, making it feel like an editable conversation. It can be used directly from the command line or integrated into almost any editor and used like an interactive REPL. I encourage you to watch it to understand better how this tool can make interacting with ChatGPT more efficient. This is why I decided to create a Ruby gem, RubyGPT, built on top of the newly released ChatGPT API which will enable me to chat with ChatGPT from the command line. It is widely known for being quite powerful and having impressive natural language processing capability (especially for programming). 22:12 Apple Script, Application, Automation, macOS, Reminders No RepliesĪs an AI language model, ChatGPT has gained a lot of attention lately. I haven’t tested these on earlier systems. Set theReminderURL to do shell script "echo \"" & theReminderURL & "\"|sed 's/x-apple-reminder:\\/\\//x-apple-reminderkit:\\/\\/REMCDReminder\\//g'" Set theReminderURL to the id of theReminder Set theReminder to make new reminder with properties New Item (this one can be a bit slow unfortunately) Set theURL to "x-apple-reminderkit://REMCDReminder/" & theReminderIdentifier Set theReminderIdentifier to do shell script theSQLCommand Set theSQLCommand to "/usr/bin/sqlite3 \"" & remindersDatabasePath & "\" \"SELECT ZCKIDENTIFIER from ZREMCDREMINDER WHERE ZTITLE = '" & theReminderName & "'\"" Set theReminderName to value of UI element 2 of UI element 1 of UI element 1 of reminderOutline Set reminderOutline to first UI element whose selected of UI element 1 is true Property remindersDatabasePath : "/Users/yourusername/Library/Group Containers//Container_v1/Stores/Data-some-UUID.sqlite" Replace this with your Reminders database path. Use AppleScript version "2.4" - Yosemite (10.10) or later Reminders are matched by title, so if we have multiple reminders with the same title, the script may fail to link the proper one. ![]() We have to replace the remindersDatabasePath property with the proper database path which is different for everyone.The “Get Address” script uses the backing SQLite database to find the ID of the selected reminder by title. I also made sure that I have a “New Item” part too, so I can create reminders directly from Hookmark. I updated my Reminders/ Hookmark integration script recently to make it faster on Sonoma.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |