Below is my dexterity code that resides in a startup procedure. I am attempting to set a function key (F1) to run a script. Currently the only thing the script does is produce a warning message. The tag is consistenly being returned as a 0. How can I set the script to run as a function key?
lItemTag = Command_GetTag(command AAExpenditureSetup of form AAExpenditureCommands);
lResultCommand = Command_SetAccelerator(lItemTag, COMMAND_SHORTCUT_KEY_F1, ascii("F1"));
if lResultCommand = false then
warning "F1 Command is not set. " + str(lItemTag);
end if;
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156