Marketcircle    Forums  Hop To Forum Categories  Daylite  Hop To Forums  Share Zone    HUD Notes Widget v1.0
Page 1 2 
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Pro
Picture of Andy Warwick
Posted
As per the request on this thread

"Contact note" HUD

A 1.0 version of the ‘HUD Notes Widget’ is now available for comments.

HUD Notes Widget

Simply download, unzip, place in the appropriate folder (~/Library/Application Support/DayLite/HUDTemplates/) and re-start Daylite.

The Widget will loop through all of the Notes attached to an object and display all those it finds with the title ‘HUD’, newest at the top.

It can be applied to Contacts, Organizations, Projects, Groups and Opportunities.


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Veteran
Picture of Howard
Posted Hide Post
Kudos Andy! It works fine. Now I wonder if you might accept a suggestion for a little tweak. I notice that if you edit or create a note with it's title as HUD it won't update in the HUD display unless you leave that contact and come back to it again. Is it possible to add some code to update the HUD itself after editing or creating the note?

Thanks!

Regards,

Howard


Regards,

Howard
 
Posts: 857 | Registered: June 18, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andy Warwick
Posted Hide Post
I noticed that too, and I'm not sure it is something you can correct directly with code in the HUD (though someone may be able to correct me on that).

Clicking on the HUD itself and hitting Command-R (File->Refresh) will cause the HUD to reload manually, which is a good workaround in case it can't be done.

See this thread.


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Wise Guy
Picture of Mike Guilbault
Posted Hide Post
Andy... I downloaded the widget, placed it into the correct folder (although I did have to create the DayLite and HUDTemplates folder in my Applications Support folder - should it already be there?) and restarted DL, a couple of times, but the Notes HUD is not showing up. In the HUD display area, I click on the "+" sign to manage widgets, but it's not there to select.
I created a note for an organization and named it "HUD"... but still nothing. Any ideas why it's not showing up?

Also... can the note Name contain more than just "HUD"? For example, often I need a short note of only a few words that I simply use the Name area for, without adding any detail. If I simply include "HUD" in the name somewhere, will that work?
 
Posts: 384 | Location: Barrie, Canada | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andy Warwick
Posted Hide Post
To be clear, that's the Library folder in your home folder, yes?

I'm not sure if the HUDTemplates folder is pre-created, but I was under the impression that the DayLite folder is created when it's installed. (But I might be wrong...)

Did you un-zip the widget when you downloaded it?

You should have a single folder called ‘HUDNotes.dlwkt‘ in the HUDTemplates folder, which itself contains three files: ‘hud_notes.css’, ‘Info.plist’ and ‘Template.html’.

And no, the Note name can't contain anything else but ‘HUD’; AFAICT the template syntax can't do a logical search for sub-strings of the data, so it's an all-or-nothing option. (But, again, I might be wrong smile )


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Wise Guy
Picture of Mike Guilbault
Posted Hide Post
Yes, it was in the home folder. Do I copy all three files there? I just copied the hud_notes.css.
 
Posts: 384 | Location: Barrie, Canada | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andy Warwick
Posted Hide Post
You should have the following folders/files:

~/Library/Application Support/DayLite/HUDTemplates/HUDNotes.dlwkt/hud_notes.css
~/Library/Application Support/DayLite/HUDTemplates/HUDNotes.dlwkt/Info.plist
~/Library/Application Support/DayLite/HUDTemplates/HUDNotes.dlwkt/Template.html

In other words, the ‘HUDNotes.dlwkt’ folder, and the three files it contains, are placed directly in the ‘~/Library/Application Support/DayLite/HUDTemplates/’ folder.

Restart Daylite and it should then work.

I'm looking further into just having the ‘HUD’ as a sub-string of the title, as per your request, but haven't cracked it yet smile

HTH

This message has been edited. Last edited by: Andy Warwick,


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Wise Guy
Picture of Mike Guilbault
Posted Hide Post
Hi Andy... worked like a charm! Thanks!

Nothing critical.. but the text font in the notes HUD is about double the size of the others, and is different as well. Can it be made to match the other HUDs?

Other than that... this is going to be VERY useful.

thanks again
 
Posts: 384 | Location: Barrie, Canada | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andy Warwick
Posted Hide Post
That sounds like the ‘hud_notes.css’ file isn't loading correctly; are you sure it's in the right place?

It should be at the same level as the ‘Info.plist’ and the ‘Template.html’

You might have to close the Widget, restart Daylite, and re-open the Widget to get it to ‘take’.

Make sure you don't have multiple copies of the ‘HUDNotes.dlwkt’ folder in your HUDTemplates.


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Wise Guy
Picture of Mike Guilbault
Posted Hide Post
You're right - it wasn't loading - it wasn't even there! I copied it over and everything is hunky-dory now.
Thanks for the followup Andy - really appreciate it.

Now I'm off to enjoy my new widget smile
 
Posts: 384 | Location: Barrie, Canada | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Scott McCulloch
Posted Hide Post
quote:
Originally posted by Mike Guilbault:
Also... can the note Name contain more than just "HUD"? For example, often I need a short note of only a few words that I simply use the Name area for, without adding any detail. If I simply include "HUD" in the name somewhere, will that work?


I'm wondering the same thing... I think the issue is whether there's the ability in the system that's being used to have "contains" instead of "==". Page 31 in the developers' kit shows the acceptable operators, but I don't know which (if any) would be used as "contains"
 
Posts: 160 | Location: San Jose, CA | Registered: June 14, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andy Warwick
Posted Hide Post
See this thread.

It looks like it isn’t possible to find a sub-string within a Notes title directly, but there may be a work around using Javascript.

I'll have another look at this when I get a chance, but for now you'll have to live with the limitation of having to name the Notes in question exactly ‘HUD’.

Sorry frowne


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Apprentice
Posted Hide Post
Andy - Thanks for the contribution, it works great! Nice to be able to have a key note or two for quick reference.

Regards,
 
Posts: 20 | Location: Massachusetts, USA | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
Journeyman
Posted Hide Post
Thanks a lot for this great widget, Andy. It works like a charm on my machine. An option that searches for any notes with HUD in the title would be nice, but the current solution is a great help anyway. I often like to now one or two specific details about a contact, and the actual widget allows me to put those details into the HUD note and to see it without any action when I look a the contacts details pane.

Maybe the guys at Marketcircle could add something to the next DL version, that:
1. Makes OS X the .dlwkt folder to be recognized as a package with a own icon

2. Installs those widgets with either a doulbe click or via drag and drop onto the Dock icon into the right place

3. A refresh option inside DL so that new widgets could be loaded without having to quit and restart Daylite. The refresh could occur when you click the (+) button to add a new widget.

Those things would simplify the use of widgets for all DL users.
 
Posts: 43 | Location: Germany | Registered: June 24, 2006Reply With QuoteEdit or Delete MessageReport This Post
Pro
Picture of Andy Warwick
Posted Hide Post
Thanks for the kind words Martin (and others).

I do intend to look at some solution to search the titles and react if the string ‘HUD’ is found, but it will take a little time.

As for your suggestions, all get a +1 from me; suggest you also copy them to daylite-feedback (at) marketcircle.com if you haven't already done so.

Cheers


--
Andy Warwick
www.creed.co.uk
 
Posts: 216 | Location: Nottingham, UK | Registered: June 22, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community Page 1 2  
 

Marketcircle    Forums  Hop To Forum Categories  Daylite  Hop To Forums  Share Zone    HUD Notes Widget v1.0

© Copyright 2006 Marketcircle Inc. All rights reserved.