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: Portable mode  (Read 4,850 times)

oblivion

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 499
    • Participated in NANY Challenge Once
Portable mode
« on: May 24, 2013, 03:52 PM »
I bumped into a spot of weirdness earlier today.

I was running SSC from a thumbdrive, copied from another portable install. The latter is always G: so SSC gave me an error about not being able to find that drive to drop screenshots into. Recovered nicely: created a screenshots folder and suchlike and wrote the latter's address into the settings. Thing is, it set a drive letter on it. So I looked in the help for a useful current drive variable and didn't find anything, so I just deleted the E: and hoped that'd work.

I was documenting a delete and reinstall process at the time, and the final part of the delete process was a reboot.

On SSC's next start, it seemed to be looking at the correct folder, but it was empty. Odd. No matter; finish what I'm doing, worry about it later...

...so eventually, I'd discovered that the initial folder it had created was

E:\PortableApps\ScreenshotCaptor\Screenshots

and when I'd told it to use

\PortableApps\ScreenshotCaptor\Screenshots

it had created

E:\PortableApps\ScreenshotCaptor\PortableApps\ScreenshotCaptor\Screenshots

instead of continuing to use the initially-created folder.

So... dear mouser, please can I have some portable-friendly variables I can use in path specs in SSC configs, please? (Or if there are some already, can they please have a prominent bit of the Help file so I can find them when I need them?)

Er, and although I hate to bring this up, I found this in the help:

"Miscelaneous Tips and Tricks"

Should, of course, be "Miscellaneous" :)

-- bests, Tim

...this space unintentionally left blank.

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: Portable mode
« Reply #1 on: May 24, 2013, 04:07 PM »
In the portable mode try just setting screenshot directory to: Screenshots

oblivion

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 499
    • Participated in NANY Challenge Once
Re: Portable mode
« Reply #2 on: May 24, 2013, 04:14 PM »
In the portable mode try just setting screenshot directory to: Screenshots
That would work -- sorry, braindead Friday. :)
-- bests, Tim

...this space unintentionally left blank.

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: Portable mode
« Reply #3 on: May 24, 2013, 04:45 PM »
not braindead -- your original points are still valid -- i should add some variable replacements to refer to the current drive for portable use.

it's just that on a new default portable install it should come up with "Screenshots" as the screenshot folder which is exactly what you wanted -- you just confused it when you put in your full path explicitly.

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