I have a couple of questions regarding WORDLIB:-
1) I have purchased the plugin via the runrev store and got a license key, Where do I use this to register?
2) I am able to use the following to open a word document, however it doesnt keep any of the document formating - it seems like wordlib isnt being used to open the document?
Code: Select all
on mouseup
global rootPath
put label of me into theFile
set the itemdelimiter to tab
split theFile by tab
put theFile[2] into theFile
set the itemdelimiter to " "
split theFile by " "
put theFile[3] into theFile
put rootPath & theFile into theFile
put htmlTextOfDocument (theFile) into theImport
if item 1 of theImport is "error" then
-- display error message
answer error item 3 to -1 of theImport
else
-- display document in field
set htmlText of field "docField" to theImport
end if
end mouseup
Can anybody help?
Thanks.