zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #02934
Command line arguments for AttachmentBrowser
Dear Jaap and other contributors,
I am trying to extend attachmentbrowser.py plugin so that it provides
command line arguments, which allows storing page path of the attachment
folder to clipboard (in case the folder does not exist it is created). It
really speeds workflow in my opinion (possibly I can jump over agreeing
whether I want to create the attachment folder). Since I often download
files and this would be so handy extension, especially when when it can be
assigned to globally accessible keyboard shortcuts in the system.
Currently I have extended the attachmentbrowser.py with Command class, but
I do not know, how to access currently opened page. Possibly it may be
necessary to provide argument differentiating notebooks, in case more of
them are opened at the same time or use the default one.
Thank you in advance for your feedback.
All the best,
NorfCran
Follow ups