topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 11:41 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: More Autonaming tokens  (Read 3772 times)

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
More Autonaming tokens
« on: January 08, 2013, 09:59 AM »
Salvete!  Firstly, let me say that I absolutely love Screenshot Captor.  Since I started using it, I have no longer been interested in trying out other screenshot programs!

Now, for my request.  I would like to see some more autonaming tokens.

The one I would like at the moment is similar to %nicename% or %windowtitle% - but I would like some automated cleanup.
I am using some of the files in Sharepoint, and Sharepoint doesn't always like the file names.
I would like an option called %webname% or %cleanwindowtitle% where all the spaces and non-letter/number characters are removed or swapped for - or _ , and the words are CamelCased.

It might be better if, when you add a %webclean% token to the "Default New File Name" box, that the token tells SC to work the magic on your definition.  That is, you could put %windowtitle%_%datetime%%clean% and you would get a cleaned version of %windowtitle%_%datetime%  - so %clean% isn't acually a token, but a command to run on whatever text preceeds the command.

In this fashion you could have %swap[|-%%swap]|-%  which could swap all the [] for - characters in the string.

Some ideas here!

x16wda

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 888
  • what am I doing in this handbasket?
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: More Autonaming tokens
« Reply #1 on: January 08, 2013, 10:17 AM »
I like those ideas, especially the %clean% idea!  (Although my condolences for having to work in SharePoint! :P)
vi vi vi - editor of the beast

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: More Autonaming tokens
« Reply #2 on: January 08, 2013, 10:24 AM »
Ah, yes, SharePoint.  I sort of got drafted into that.  However, I am making the best of it!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: More Autonaming tokens
« Reply #3 on: January 10, 2013, 01:40 PM »
I'm happy to add additional tokens like this.. putting it on my todo list and i'll try to get to it soon.  a new official SC release is overdue.

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: More Autonaming tokens
« Reply #4 on: January 10, 2013, 01:44 PM »
Thanks, Mouser, you're great.  :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: More Autonaming tokens
« Reply #5 on: February 18, 2013, 09:19 PM »
Do you think you could give me a list of characters that need to be cleaned up?

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: More Autonaming tokens
« Reply #6 on: February 18, 2013, 09:27 PM »
Mouser - whew - I forgot all about this...  Give me a few days and I'll see what I can come up with.  I'll have to remember what I wanted to do.