|
Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
|
07-31-2008 15:04
Just an idea,
Filter inventory for only notecards. Select all and drop them into a prim. The prim has a script that can open each notecard in turn looking for the search text.
Possible? Impossible? Comments?
Rock
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
07-31-2008 16:10
It is possible, certainly 
_____________________
From Studio Dora
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
07-31-2008 16:33
Possible, if you can live with the constraints. llGetNotecardLine is throttled to 10 lines a second (per script), and truncates lines to 255 characters (and doesn't tell you if it truncated).
|
|
Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
|
07-31-2008 18:26
Thanks for the responses.
I wonder how many notecards actually have lines longer than 255 chars? I think I will write a script that checks for the length of each line in each notecard and flag the ones that are 255 chars (and are thus likely to have been truncated). If the number of notecards where this has occured is small it is an easy matter to edit the notecard and add a CRLF to break up long lines.
Incidently, what is the definition of a 'line'? Is the following two lines or one?
John and Fred. Bill and Eric.
Or is the the following?
John and Fred. Bill and Eric.
Rock
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
07-31-2008 18:46
From: Rock Vacirca I think I will write a script that checks for the length of each line in each notecard and flag the ones that are 255 chars (and are thus likely to have been truncated). Yep. What I use in formatted stuff is a fake limit of 254, so I can flag anything else as "too long". From: someone Incidently, what is the definition of a 'line'? Is the following two lines or one? It goes by the line feeds, so one long word-wrapped line is still one line. One confusing bit is that the SL editor doesn't select lines as lines, shift-end will go to the right edge of the window even if the actual line spills over, and they left out triple click :/
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
07-31-2008 19:02
a line ends when you hit return, if it wraps on its own its still 1 line
|