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, 4:14 pm
  • 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

Last post Author Topic: IDEA: Windows desktop productivity tool  (Read 25801 times)

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #25 on: April 18, 2014, 06:55 PM »
This is very cool. What API are you using to refresh the desktop if you don't mind?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #26 on: April 18, 2014, 09:58 PM »
This is very cool. What API are you using to refresh the desktop if you don't mind?

SHSetFolderPath to change the path and SHChangeNotify to refresh the desktop.  If you tried it, did the app work for you?

Stef

  • Participant
  • Joined in 2014
  • *
  • Posts: 13
    • View Profile
    • My portfolio/ blog (outdated)
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #27 on: April 18, 2014, 10:19 PM »
Here's an alpha build:  http://skwire.dcmembers.com/apps/snacks/DesktopFolderSwitcher.zip

Usage:

  • Right-click the tray icon and choose the "Edit desktop paths" entry to add your own folder paths.
  • One folder path per line.
  • Add a blank line to put a separator in the menu.
  • Click save and then right-click the menu again.
  • Your configured paths should now be in the menu.
  • Choose one to switch your desktop icons to the path selected.

Some notes:

  • Obviously, this is still mostly a proof-of-concept.  Stuff should work, mostly work, or not work at all.   :P
  • No validity checking of those folders paths is currently performed.  Make sure they're valid.
  • When the program is first run, it saves the current desktop path and adds that path at the top of the menu.  This way, you should be able to easily go back to your default desktop path at any time.
  • No icon position saving.  I'm really really NOT interested in adding this functionality.

Tested on W7/64.  If anybody tries this, please let me know how it works (or doesn't) for you.  Please include your OS as well.

I dont have autohotkey installed.. i just fast tested your app and works nice on windows 8.1..I'm really excited about this :)..   more feedback tomorrow i need to sleep right now :P 

PS(although some shortcuts of the desktop remain on the desktop after i choose another folder from your app,  i don't know what this is maybe i'll just delete them :P)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #28 on: April 18, 2014, 10:42 PM »
PS(although some shortcuts of the desktop remain on the desktop after i choose another folder from your app

Those are probably shortcuts from the "All Users" desktop.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #29 on: April 19, 2014, 07:03 AM »
I have and it worked great. Windows 8.1 x64

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #30 on: April 19, 2014, 01:39 PM »
I have and it worked great. Windows 8.1 x64

Cool.  Thanks for the report.  I just uploaded a new version that adds a new option to set the desktop icon view as shown here in this thread:

https://www.donationcoder.com/forum/index.php?topic=37576.0

Download: DesktopFolderSwitcher.zip
« Last Edit: May 26, 2014, 07:51 PM by skwire »

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #31 on: April 19, 2014, 01:43 PM »
What about assigning hotkeys to paths/menu items for quicker switching? Ctrl+Alt+F1, F2, etc.  Something like that?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #32 on: April 19, 2014, 09:06 PM »
What about assigning hotkeys to paths/menu items for quicker switching? Ctrl+Alt+F1, F2, etc.  Something like that?

If this catches on, I'll almost certainly change the simple edit field to a listview with add/edit/delete buttons and allow hotkeys.

Stef

  • Participant
  • Joined in 2014
  • *
  • Posts: 13
    • View Profile
    • My portfolio/ blog (outdated)
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #33 on: April 21, 2014, 08:54 AM »
Just came back from my Vac.

@skwire Your tool is exactly what i wanted , Really thank you for all your work :)

Cool.  Thanks for the report.  I just uploaded a new version that adds a new option to set the desktop icon view as shown here in this thread:

The icon view doesn't work on my windows 8.1 x64
but i'm too happy with the overall tool.
And I wanted to ask cause I'm a total noob at those things if there is any possibility to harm my PC if i use this tool a lot, cause it changes (as i understand) the registry too often. Just to be sure :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #34 on: April 21, 2014, 11:06 AM »
And I wanted to ask cause I'm a total noob at those things if there is any possibility to harm my PC if i use this tool a lot, cause it changes (as i understand) the registry too often. Just to be sure :)

IMO, no, there is not.  The registry exists to store settings and information and is modified constantly throughout a PC's session.  A lot more than you might expect, in fact.  My application only changes the necessary setting, via a documented API call, that determines the desktop folder and then refreshes the system using another documented API call.

If anybody else feels differently, speak up.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #35 on: April 21, 2014, 11:37 AM »
@Stef if you want to be cautious just make a Restore Point periodically and/or use this ERUNT Gui front end to back up just the Registry.

The underlying utility, ERUNT, I've been using for more than 10 years.  It's a good tool to have in any case. :)

Edit: but as skwire says, most programs use it to store their settings.  For example, the window size and position when the program was last closed, so it will open in the same place and size.  Most programs store that in Registry keys.  It's not that fragile, especially if you have backup.  Some registry cleaners can be dangerous.  But that's because they are deleting things wholesale.

Stef

  • Participant
  • Joined in 2014
  • *
  • Posts: 13
    • View Profile
    • My portfolio/ blog (outdated)
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #36 on: April 21, 2014, 12:51 PM »
Thank you both for your answers, I didn't mean to insult anyone of course. (noob here)

I'll definitely use this awesome tool. Yaaay  :D

Thanks again!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #37 on: April 21, 2014, 04:15 PM »
Thank you both for your answers, I didn't mean to insult anyone of course. (noob here)

No offense taken.   ;)  Your question was an absolutely valid one. 

psionics

  • Participant
  • Joined in 2007
  • *
  • Posts: 119
    • View Profile
    • freestyle (nunchaku) forum.net
    • Donate to Member
Re: IDEA: Windows desktop productivity tool
« Reply #38 on: June 23, 2014, 07:34 AM »
are you looking for something like this? (+ can save desktop icon position)

https://www.donation....msg164316#msg164316


direct link
http://www.autohotke...locations-and-icons/
« Last Edit: June 23, 2014, 09:52 AM by psionics »