Skip to Content
0
Mar 04, 2021 at 09:54 AM

FB03 ToolbarButton enable/disable

86 Views Last edit Mar 04, 2021 at 10:49 AM 2 rev

Hi all,

I'm doing a script to download/export attachments from journals but sometimes the option export in ToolbarButton is enabled and other does not, my question is how can I detect with a script if the option is enabled or not,

Actually in the script the code is:

session.findById("wnd[1]/usr/cntlCONTAINER_0100/shellcont/shell").selectContextMenuItem "%ATTA_EXPORT"

I need, if the option is disabled select display option to download the attachment.

I hope that you could help me.

Thanks in advance.

Attachments