View Single Post
Old 12-31-2009, 06:50 AM   #1
thijso
Junior Member
thijso began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2008
Device: iRex iLiad, iRex iLiad book ed, Onyx Boox M92
Adding custom action buttons to toolbar

I wanted a way to 'bookmark' my documents that were most interesting to me in a certain location, so I decided I needed to add some buttons to the toolbar.

So that's what I did. See the screenshots for it in action. Then check out my next post if you're really interested. I don't provide anything but the source and some simple instructions (pointers, really) for now, as it's very much something I hacked together in a few hours...

So, if you decide to follow up on it: you're on your own!

Anyway, it works just like deleting something:
  1. you click on the icon
  2. you select something from the content list
  3. you click on the icon again

Once you've done that, what happens is that a custom script in the /home/intent/ folder is called with an index and the location (which can be something different than you think, because of iliads custom symlinks). All this is currently hardcoded in my source, but could be rewritten to take stuff from the registry. So you could use this for completely different stuff too...
Attached Thumbnails
Click image for larger version

Name:	buttons.png
Views:	465
Size:	22.9 KB
ID:	42208   Click image for larger version

Name:	selected.png
Views:	458
Size:	22.7 KB
ID:	42209  
thijso is offline   Reply With Quote