DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Changing file format with command line option?  (Read 6,751 times)

mtemp

  • Participant
  • Joined in 2006
  • *
  • Posts: 43
Changing file format with command line option?
« on: July 15, 2014, 11:18 AM »
Hi,

referring to my thread: "Feature request: quickly switch between PNG und JPG"

Is there a command line option to change the file format?

In the help file I discovered "only" these options for a running instance of TC:

Quote
Usefile commandline options to use on an already-running copy of ScreenshotCaptor (the second instance won't run but it will pass the command to the first instance):
-ccpath  (copy current/last screenshot filepath to clipboard)
-ccbitmap (copy current/last screenshot image bitmap to clipboard)
-ccfile (copy current/last screenshot file to clipboard)



Thanks a lot!
mtemp

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Changing file format with command line option?
« Reply #1 on: July 15, 2014, 11:51 AM »
You want to change the file format going forward right -- for screenshots taken subsequent to the commandline invocation -- yes?

mtemp

  • Participant
  • Joined in 2006
  • *
  • Posts: 43
Re: Changing file format with command line option?
« Reply #2 on: July 15, 2014, 01:32 PM »
I am searching for a solution to change between these 2 file formats quickly (best: changing it via a shortcut e.g. via AutoHotkey...) and afterwards making a screenshot via the "usual way" = (in my case) by pressing the print screen key and then by choosing an option of the post capture menu (by the way: I added some more shortcuts for this menu with AutoHotKey, e.g. for uploading an image directly to www.abload.de and similar specific needs)...

... and not doing this "circuitous" by right clicking on the icon in the system tray - preferences - choosing the file format - clicking Accept

... because I change this setting very often a day and want to do this "very quickly" :)

PS: sorry, my German is much better than my English ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Changing file format with command line option?
« Reply #3 on: July 18, 2014, 11:37 AM »
I will add this to the next release.

mtemp

  • Participant
  • Joined in 2006
  • *
  • Posts: 43
Re: Changing file format with command line option?
« Reply #4 on: July 18, 2014, 02:16 PM »
Wow, I'm fascinated! :) ... and will download the next release tomorrow ;) ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Changing file format with command line option?
« Reply #5 on: July 18, 2014, 02:20 PM »
Quote
and will download the next release tomorrow

won't be ready by tomorrow -- just watch this space for when i post an update -- hopefully before monday.

mtemp

  • Participant
  • Joined in 2006
  • *
  • Posts: 43
Re: Changing file format with command line option?
« Reply #6 on: July 18, 2014, 02:21 PM »
... it was a silly joke ;)

But "before monday"? -- I am still impressed :)

Original address: https://www.donationcoder.com/forum/index.php?topic=38437.0