File Name to Clipboard After Save

  • 3
  • Idea
  • Updated 1 month ago
I am setting up a workflow that uses automatic file naming and safe to a specific folder. What I would LOVE is to be able to then paste the file name from the clipboard following the save action. So the process would be to create a preset that:
  1. Captures a region
  2. Applies default Effects
  3. Opens the Editor for me to review and possibly add additional effects
  4. Click Finish to auto-name the file (which would also copy the resulting file name to the clipboard.)
  5. Return to my editor and paste the file name (oh, oh, and optional path {prefix}) into my editor and get back to work.
That would be heavenly!
Photo of Matthew McDermott

Matthew McDermott

  • 29 Posts
  • 5 Reply Likes
  • optimistic.

Posted 1 month ago

  • 3
Photo of Paul

Paul

  • 1126 Posts
  • 893 Reply Likes
By auto-name, do you mean that you'll accept a system generated name?

If so AND your destination for the screenshot will accept drag and drop (more and more apps do these days) then check out the little-known feature that allows you to drag an item from the recents tray and drop it into a target location.
Photo of Matthew McDermott

Matthew McDermott

  • 29 Posts
  • 5 Reply Likes
I don't need the image. I need the path to the image. The image is saved to disk. 
Photo of Rick Stone

Rick Stone

  • 4489 Posts
  • 2000 Reply Likes
Not trying to thrash a deceased equine here, but what is the purpose of the path to the image if you aren't going to be actually using the image in some way?
Photo of Matthew McDermott

Matthew McDermott

  • 29 Posts
  • 5 Reply Likes
@Rick, The images are going through a different workflow than the text copy. The copy and image are reassembled on the server in HTML. All I need is the path and file name to the <img /> tag. I don't use WordPress.
Photo of Paul

Paul

  • 1126 Posts
  • 893 Reply Likes
Yeah, that's a bit of an edge case Matthew.  I can see what you need.  It's not easy to pull that info from Windows
Photo of Matthew McDermott

Matthew McDermott

  • 29 Posts
  • 5 Reply Likes
That's why I posted it as an Idea. Looks like I am not alone: https://feedback.techsmith.com/techsmith/topics/snagit-2018-save-share-save-a-file-copy-filename-to-... I'll have a look at Save rather than Share since the "Copy file path" is supported there. 
(Edited)
Photo of Dubie

Dubie

  • 961 Posts
  • 741 Reply Likes
@Matthew McDermott

Snagit doesn't have the option of saving the file path to the clipboard. I gave a vote for this.
But if you are interested there is a way to do what you want in a round about way.

Once set up it works with only minimal steps.

To do this we need to install another small screen capture software.
It's called Greenshot and it is free and open source.

It is limited in it's editing options but will help us save the image to our choice location, save the file path to the clipboard and open the image in Snagit to make better edits and markups.

You can download it here.
http://getgreenshot.org

Ok, so when installing when you get to this window make sure to checkmark/add the "Open with external command plug-in.
Also you can add any other plug-ins you wish.



Once installed under the Output tab set the storage location you want and the Image format.
You can configure the Filename pattern if you want to auto name the capture I chose not to and just left the default.
It doesn't get used in the way I'm showing the setup.

IMPORTANT:  Ckeck-Mark "Copy file path..."




Next go to the Plugins tab and click on the External command plugin and then the Configure button.



Click "New button"




Add the name. I used Snagit and then click the Command three option dots.




Navigate to the Snagit install folder (Program Files/Techsmith/Snagit 2018) and select the SnagitEditor.exe.




Snagit should now be listed




Now close and reopen the Greenshot preferences to refresh it.

Now under the Destination tab Check-Mark "Save as" to add a name to the image or Check-mark "Save directly"
if you set the auto name under the Output tab.

Also Ckeck-Mark Snagit.




Now do your screen capture with Greenshot. The Save as dialog will pop up to give the capture a name.
When you click Save the image will be saved to your location, the path will be saved to your clipboard, and the capture will open in the Snagit Editor.

Do any editing and then click  File>>Save (Not save as)
The edits will be added to the original capture image.

It sounds like alot but once you go through the setup above its just

Capture, Save as, edit in Snagit, Save, Done :)

Image saved to your location and file path saved to the clipboard

:)


(Edited)
Photo of Matthew McDermott

Matthew McDermott

  • 29 Posts
  • 5 Reply Likes
Sweet! That option to "Copy the file path to the clipboard is exactly what I was looking for. Thank You!