|
|
|
Add an iPhone call log to iCal via AppleScript
I love the look of this but can't get it to work. I get a plist 'no such file or directory' message.
Anybody else?
Add an iPhone call log to iCal via AppleScript
Actually, yes it does. Terminal just gives me an output that makes me think it doesn't. I'm quite new to this command line stuff.
I would recommend this quite highly. One problem though. When I change the seconds to minutes in the calllog2ical.rb file the output numbers stay the same, so instead of 1140 seconds call duration iCal just claims it's 1140 minutes instead. Can anybody help me tweak or point me in the right direction?
Add an iPhone call log to iCal via AppleScript
I think you need to change the part that reads "call.duration.to_s" also. I don't know Ruby so I don't know if ".to_s" means "to string" or "to seconds", but you should be able to get decimal minutes by dividing "call.duration.to_s" by 60.
Add an iPhone call log to iCal via AppleScript
I am not a Ruby expert, but I belive it should be
newEvent.setNotes("Length of call: " (call.duration/60).to_s + " minutes.") I have not tested it, I just added it to the hint for reference so it is easier to find. .to_s in Ruby is a toString method.
|
SearchFrom our Sponsor...What's New:HintsNo new hintsComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
The Editor's Corner...Here are some of my (robg) other projects...
Hints by TopicNews from Macworld
The macosxhints PollWhat version of OS X are you running as your main OS?
Other polls | 11,476 votes | 42 comments
|
|
Copyright © 2009 Mac Publishing LLC (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.03 seconds |
|