Tutorial: Application.setShortcutQueryParams

Application.setShortcutQueryParams

Updates all shortcuts on desktop to contain the given query string. Requires RVM 5.5+.

Example

const newQueryArgs = 'arg=true&arg2=false';
const app = await fin.Application.getCurrent();
try {
    await app.setShortcutQueryParams(newQueryArgs);
} catch(err) {
    console.error(err)
}