Welcome, Guest
Python Scripts for ComicRack

TOPIC: Move Files - Relocate eComics within ComicRack

Re:Move Files - Relocate eComics within ComicRack 8 years 6 months ago #3582

  • wadegiles
  • wadegiles's Avatar
  • Offline
  • Gold Boarder
  • Posts: 248
  • Thank you received: 3
  • Karma: 20
The following describes how to set the destination folder to always be a certain folder.

Remember to indent the line you insert with the tab key. I think it's two tabs to properly align it.

With that stated, insert the following:

folderDialog.SelectedPath = "Your\\path\\here"

Put your customized version of the above right before the following line:

if folderDialog.ShowDialog(ComicRack.MainWindow) == DialogResult.OK:
Last Edit: 8 years 6 months ago by wadegiles.
The administrator has disabled public write access.

Re:Move Files - Relocate eComics within ComicRack 8 years 6 months ago #3583

  • wadegiles
  • wadegiles's Avatar
  • Offline
  • Gold Boarder
  • Posts: 248
  • Thank you received: 3
  • Karma: 20
Oops, that wasn't what you wanted. I think the script selects the folder of the first item you selected as the default destination but I'll check to make sure.
The administrator has disabled public write access.

Re:Move Files - Relocate eComics within ComicRack 8 years 4 months ago #3973

  • Jim
  • Jim's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
winxp - 32b - cr09.109dev :

whenever the target folder contains a file of the same name cr freezes

Jim
The administrator has disabled public write access.

Re:Move Files - Relocate eComics within ComicRack 8 years 4 months ago #3976

  • wadegiles
  • wadegiles's Avatar
  • Offline
  • Gold Boarder
  • Posts: 248
  • Thank you received: 3
  • Karma: 20
Yes, I can reproduce this so I'm looking into it.
The administrator has disabled public write access.

Re:Move Files - Relocate eComics within ComicRack 8 years 4 months ago #3977

  • wadegiles
  • wadegiles's Avatar
  • Offline
  • Gold Boarder
  • Posts: 248
  • Thank you received: 3
  • Karma: 20
New version posted to stop the script from hanging ComicRack when moving eComic to a folder with same name as an existing eComic.
Attachments:
Last Edit: 8 years 4 months ago by wadegiles.
The administrator has disabled public write access.

Re:Move Files - Relocate eComics within ComicRack 8 years 4 months ago #3978

  • wadegiles
  • wadegiles's Avatar
  • Offline
  • Gold Boarder
  • Posts: 248
  • Thank you received: 3
  • Karma: 20
Oops
Attachments:
Last Edit: 8 years 4 months ago by wadegiles.
The administrator has disabled public write access.

Re: Move Files - Relocate eComics within ComicRack 6 years 5 months ago #14855

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Updated to crplugin format with package description and new icon..

File Attachment:

File Name: MoveFiles1.4.crplugin
File Size:5 KB


Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.
The following user(s) said Thank You: jericko

Re: Move Files - Relocate eComics within ComicRack 6 years 5 months ago #14863

  • James Spaceman
  • James Spaceman's Avatar
  • Offline
  • Gold Boarder
  • Posts: 199
  • Thank you received: 6
  • Karma: 5
thanks for the update on this one, needed a quick fix and this should help. thanks again :)
The administrator has disabled public write access.

Re: Move Files - Relocate eComics within ComicRack 4 years 4 months ago #35378

  • the_grip
  • the_grip's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
I am new to CR... I copied the script files to the Scripts folder, but I don't see them under the Automation menu when I restart CR. How do I run this script?
The administrator has disabled public write access.

Re: Move Files - Relocate eComics within ComicRack 4 years 4 months ago #35379

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Download from here. Double-click to install.

600WPMPO wrote:
Updated to crplugin format with package description and new icon..

File Attachment:

File Name: MoveFiles1.4.crplugin
File Size:5 KB
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 4 years 4 months ago by 600WPMPO.
The administrator has disabled public write access.
Time to create page: 0.227 seconds

Who's Online

We have 307 guests and 2 members online