Copy to Clipboard action to string together several columns and produce a preformatted string to paste into FanFicFare's personal.ini:
Code:
program:
authortitle = strcat('## ', $author, ' - ', $title);
storyid = strcat('(', $id, ')');
storyUrl = switch_if(
$publisher=='Archive of Our Own', strcat('https://archiveofourown.org/works/', select($identifier, 'ao3')),
$publisher=='FanFiction.net', strcat('https://www.fanfiction.net/s/', select($identifier, 'ffnet'), '/1/'),
''
);
settings = $$#fanficsettings;
copySection = strcat(authortitle, ' ', storyid, character('newline'), '[', storyUrl, ']',character('newline'),settings)
If #fanficsettings is undefined, it copies 'None'. Is it possible to omit this instead?