Welcome, Guest
Python Scripts for ComicRack

TOPIC: [Request] When Then

[Request] When Then 6 years 2 months ago #16494

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 233
When Then is a portable application for Windows which monitors user-specified programs and processes to perform an action when they reach a certain state. It is a great tool for automating tasks so that a specific process can be immediately initiated, stopped, etc in response to actions performed by other processes and applications.
For example:

When selected Process ends (e.g. Firefox.exe), display message (e.g. Browser closed).
When selected Application (e.g.Chrome) stops, start External file (e.g. uTorrent.exe).
When selected process, application, or timeframe is reached, Shutdown Windows.









I would wish to request a script on the same lines for ComicRack.

This would be useful in a lot of repetitive scenarios, like:
  • When a file is added to the 'Add Scan Info' list, run the 'Add scan info' script
  • When a file is added to the 'Convert CBR to CBZ' list, run the 'export to CBZ' command
  • When a file is added to the 'Cover only' list, move the file to the folder C:\AnyPath
  • When a file is added to the 'Delete me' list, delete the file
I feel that this would be a great companion to the excellent Library Organizer...

Any of our talented developers have an opinion on this..? :unsure:
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re: [Request] When Then 6 years 2 months ago #16639

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 233
A bump in the hope of finding an interested developer..:blush:

A website also provides similar features: If this then that

Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 6 years 2 months ago by 600WPMPO.
The administrator has disabled public write access.

Re: [Request] When Then 6 years 2 months ago #16647

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 921
  • Thank you received: 268
  • Karma: 173
Good idea.

Unfortunately I don't think this is currently possible since as far as I know scripts can't hook into most of those triggers.
The administrator has disabled public write access.
The following user(s) said Thank You: 600WPMPO

Re: [Request] When Then 5 years 5 months ago #24094

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 233
From this post:
oraclexview wrote:
Depending on how much you don't want to do this manually every time you add new books, and only when you need to add new titles to the list, you could maybe even right a script that auto-starts every time you start ComicRack and it puts that new Genre value to every book in those titles that don't already have it. The script could store the list of titles in a simple config text file. This was is a more work up front, though it saves a few more manual steps down the road.

@Stonepaw: Can we trigger certain events on startup? :unsure:
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re: [Request] When Then 5 years 5 months ago #24095

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 921
  • Thank you received: 268
  • Karma: 173
Yes scripts can be run on startup now.
The administrator has disabled public write access.

Re: [Request] When Then 5 years 5 months ago #24096

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 233
Stonepaw wrote:
Yes scripts can be run on startup now.
That's certainly a good thing for us!

I know I have already bugged you enough in the past :unsure: but would it be possible for you to think about a 'if-this-then-that' kind of script that would make possible what oracle says above?
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.
Time to create page: 0.213 seconds

Who's Online

We have 203 guests and one member online