Saving new Styled Text to a DB
Posted: Tue May 01, 2012 8:40 pm
Hi,
I'm trying to figure out how to get the new styled text field info into a format I can save into a Database (SQLite, but it could be any!)
Is there a command to get the styledText in a 'serialised' format or a command to do basic serialisation/unserializaion of arrays? The Dictionary is too confusing to actually find anything in regarding this (unless you know precisely what you are looking for!).
And I would also need to know how to put the data from the DB field back into the format for setting the text display field.
There doesn't seem to be any entries on the forum regarding style text (except for setting the styles!) and there are no lessons as yet.
Does anyone have any suggestions?
Thanks,
Dave
I'm trying to figure out how to get the new styled text field info into a format I can save into a Database (SQLite, but it could be any!)
Is there a command to get the styledText in a 'serialised' format or a command to do basic serialisation/unserializaion of arrays? The Dictionary is too confusing to actually find anything in regarding this (unless you know precisely what you are looking for!).
And I would also need to know how to put the data from the DB field back into the format for setting the text display field.
There doesn't seem to be any entries on the forum regarding style text (except for setting the styles!) and there are no lessons as yet.
Does anyone have any suggestions?
Thanks,
Dave