Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2013, 06:02 PM   #1
alanHd
Addict
alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.
 
Posts: 322
Karma: 1403383
Join Date: Jul 2012
Location: UK
Device: Kindle Touch, Ipod Touch, Ipad Air
Custom Column Icon Help

Hi,

I have a custom column which is configured for long text like comments. I use this column to keep track of what i have done with that book, mainly Read of Reading.

I am trying to put a custom icons in this column to replace the text. eg an open book for reading and a closed book for Read.

The problem i am having is that when i set the icon to match the word read it also picks up on the word Reading. Is there any way to restrict it to just Read and not the word Reading.
alanHd is online now   Reply With Quote
Old 02-04-2013, 04:09 AM   #2
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,784
Karma: 1212746
Join Date: Jan 2010
Location: France
Device: Many android devices
You should use the "pattern" match with a regular expression. Although it isn't possible to say what regexp to use without knowing all the possible text structures in the column, the general approach is to use a pattern that matches only "read". Perhaps you could match "read" at the end of the string (read$), or "read" not followed by an i (read[^i]), or use two contains conditions to check read and not reading.
chaley is offline   Reply With Quote
Old 02-04-2013, 04:30 AM   #3
alanHd
Addict
alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.alanHd ought to be getting tired of karma fortunes by now.
 
Posts: 322
Karma: 1403383
Join Date: Jul 2012
Location: UK
Device: Kindle Touch, Ipod Touch, Ipad Air
Thanks (read[^i]) worked great.
alanHd is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Tag Browser Custom Icon for Languages MartyTX Library Management 1 02-03-2013 04:44 AM
how to move value(s) of tag column to a custom made column zoorakhan Library Management 0 12-08-2012 04:53 AM
custom date column from two state column Dopedangel Library Management 7 01-03-2012 09:20 AM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 06:35 AM
Custom Icon Issues allovertheglobe iRex 0 10-26-2008 04:40 PM


All times are GMT -4. The time now is 01:12 PM.


MobileRead.com is a privately owned, operated and funded community.