I cannot figure out how to add a thumbnail to my module. Can someone advise? My header looks like this:
But I cannot figure out how to set the thumbnail, FG always just yells at me when I put down a path:Code:@@name::My Modulename
@@categoryname::
@@export_author::The original PDF's author
@@export_file_name::my_file_name
@@export_readonly::#1
@@export_playervisible::#1
@@export_thumbnail::
When leaving it out and setting the Thumbnail manually I exports fine, but still yells at me that the thumbnail file is wrong and has no thumbnail:Code:[8/27/2022 12:25:55 PM] [ERROR] windowcontrol: Database type mismatch on path (export_thumbnail) in control (export_thumbnail) in class (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control () anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control () anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (thumbnail_chooser) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (thumbnail_chooser) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (export_author) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (export_author) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (export_author) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control () anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control () anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (thumbnail_chooser) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (thumbnail_chooser) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (export_author) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (export_author) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
[8/27/2022 12:25:55 PM] [ERROR] window: Control (export_author) anchoring to an undefined control (export_thumbnail) in windowclass (library_module_export)
Can someone give me a hint where I'm going wrong?Code:[8/27/2022 12:28:55 PM] [ERROR] Script execution error: [string "scripts/new_library_module_export.lua"]:576: export: Unable to load thumbnail file (ok)
Also, I did a little thing for Sublime so that I can use CTRL+B, CTRL+I and CTRL+U to make text bold/italic/underlined by surrounding it with **, // or __:
Code:[
{ "keys": ["ctrl+b"], "command": "insert_snippet", "args": {"contents": "**${0:$SELECTION}**"}, "context":
[
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
},
{ "keys": ["ctrl+i"], "command": "insert_snippet", "args": {"contents": "//${0:$SELECTION}//"}, "context":
[
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
},
{ "keys": ["ctrl+u"], "command": "insert_snippet", "args": {"contents": "__${0:$SELECTION}__"}, "context":
[
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
}
]