hydrusnetwork / hydrus

A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers.
http://hydrusnetwork.github.io/hydrus/
Other
2.34k stars 153 forks source link

Client API: get selected files #1583

Open 86482t opened 1 month ago

86482t commented 1 month ago

/manage_pages/get_page_info already exists, and it would be better if the not simple response also gave what files are currently selected in the gui, maybe return a list with the indexes of the selected files. Currently, what I use to do this is to send the keystrokes to trigger the hotkey that copies the selected hashes to the clipboard, but this would be a much nicer way to do it.

bbappserver commented 2 weeks ago

Related for short scripts just pass a list of hashes right to STDIN https://github.com/hydrusnetwork/hydrus/issues/270