|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Apprentice |
I'm disappointed with examples of AppleScript/FScript that I've been able to find for DayLite. Although FScript may be a more powerful language, it seems limited in its ability to interact with other programs. Most of the programs I use on the Mac are AppleScriptable and come with great examples of how to use the built-in AppleScript support. Because of this, it is easy to build powerful workflows with Automator.
I'm trying to use AppleScript to create a new note/incoming call/outgoing call based on a phone number that I supply via AppleScript. I'd like to be able to attach the note to the contact with that phone number. Does anyone have an example of a script that does something similar? Has anyone been able to build any interesting workflows with Automator for DayLite? Thanks, Brad |
||
|
|
Marketcircle Team |
Hi Brad,
You should be able to achieve the same results as in other apps. The trick is to pass the basic types. For example, if you use F-Script to grab the 'ObjectContext', that object will not coerce properly into an AppleScript object, but if you get the data using F-Script, then it should work. Essentially any 'leaf' data should work. For example, Contact will not work, but firstnane, lastname etc... will work. The following objects are coerced properly:
When it comes down to it, all data in Daylite is one of those 5 things and mostly NSString or NSNumber. |
|||
|
|
Apprentice |
I have also been challenged to find ways of automating Daylite into my personal information workflow and have used the XML weblead procedure in the past (creating my own XML list from an Excel spreadsheet.)
Initial glance at F-script cured me of the desire to learn (another) scripting language and Daylite does not have a useful Applescript dictionary although I love the power Daylite provides in contact management. So, using the UI scripting tools in Mac OSX 10.3 and higher, I wrote an Applescript that takes contact information from a single line in Excel, then automates the manual entry of that info into the New Contact window. Pretty it ain't but work it does. Here's the link: NewDayliteContact Applescript |
|||
|
|
Apprentice |
Thanks, John for your example. AJ, we need some real world examples. I posted this request over a year ago and am no closer to a solution.
Daylite REALLY needs AppleScript integration. I just don't have the time to learn another scripting language to use for this single application. Having AppleScript (and Automator) support would make it easy to build workflows with other applications. Do you have any example AppleScript/F-Script scripts that create a note or contact in Daylite and allow you to modify that note/contact? Thanks, Brad
|
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

