Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Desktop Icons Restorator


  • Please log in to reply
24 replies to this topic

#1 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 12 September 2007 - 07:21 PM

Desktop Icons Restorator 1.02
[Download From Here (Posted Image Miror (790.2K) Number of downloads: Posted Image)]
The archive include all needed Resources and also Stand-alone Compiled Script (not required any addition resources).

This program designed for Saving and Restoring Desktop Icons positions!


Posted Image

More ScreenShots:
Preferences Window
Editing DSI file Window

The main idea for this program is belong to trids from the IconMap topic.
Big Thanks to him for the great idea!!!


===============================
Introduction and Main Features:
===============================


Using this app you can save/restore your desktop icons positions at any time.
You can create as many sessions as you like, such as for different screen resolutions, different users, or even when you reinstall your system.
You can even copy your DSI Files (Desktop Session Info File) from one machine to another.

-----------------
Main Features:
-----------------

* Auto-Saving Sessions every N seconds (up to approximately 24 hours).
* Full Registration of *.DSI files (Desktop Session Info file) - Including in "Create" context menu.
* Application can work from system tray (Restore/Save Session, Call Preferences Dialog, Show Desktop and more).
* Adding Date/Time when saving sessions.
* Removing non existing sessions from the list.
* Removing Selected session from the list.
* Removing All sessions from the list.
* Removing duplicates from the list.
* Deleting Selected session files.
* Deleting All session files.
* Delete not existing entries (of desktop icons) in the session file.
* Visual editing of selected session.
* Option to show the desktop.
* Restore session by double click on the item in the list.
* Full Support of Hotkeys.
* Full Drag & Drop Support.
* Choosing a sound file for playing after Saving/Restoring Session (for each action can be different sound).
* Flexible Window Options (Saving positions/state, Transparency, Always On Top).
And much more to go...


==============
Known Issues:
==============


* Sometimes Icons not restored properly - there is need to repeat the restoring action (with the same session file).
* Sometimes the child dialog shown without no controls and freezes the app.
* After Restore Session sometimes there is shadows on the Desktop Icons - Sending F5 will fix them :)
* If you drag the Column separator outside the main window, then preformed a "drag out of selected item" operation.
* After changing transparency level, the Resizing process is not so smooth anymore :)'
* If user press a Hotkey that suppose to call some GUI dialog while the Main/Context menu is open, then when he close the menu, dialog is shown empty and the app is hangs (needs to be closed).



========
"To Do" List
========


* Remember window positions, size, and state - DONE!
* When Asking if Restore session - make it Optional (from the menu Options) - DONE!
* Make Option to add Program to Windows Startup - DONE!
+ Add Deletion Session process - DONE!
+ Add Icons to files when register, and for the list view to - DONE!
+ Add Double Click on the session file (Restore action) - DONE!
+ Add Option to delete duplicates - DONE!
+ Add More Practical "About Menu" - DONE!
+ Add Set Resizing Controls (or maybe not) - DONE!
+ Add Option to able Auto-Create Session every <N> seconds/Minutes - DONE!
+ Add Hotkeys Support - DONE!
+ Add Drag && Drop Support - DONE!
+ Add "Quick Mode" to save Sessions - DONE!
+ Add Option to physically remove the Session files - DONE!
+ Add Button to main window for stopping the Auto-Saving Process - DONE!
+ Add Register Option to Create Session File from Explorer Context Menu [Not Sure if possible] - DONE!
+ Add Colored Menu or/and Menu With Icons - DONE! (Colored Menu).
+ Add XSkins Support or Png''s Skin (most likely the second one).
+ Add Simple Program Installator (maybe from program itself - from the Options Menu)
+ Add To Tray Menu Option "Save Session" - DONE!
+ Add "Check Updates" Option - DONE!
+ Add Option to Edit (using GUI) DSI (session) files - seguested by Polyphem - a realy good idea - DONE!

======
P.S
If you ask me, in this script i collected almoust all best functions that availible on AutoIt, and in my opinion, this is a very good reflection of AutoIt Functionality in General!

Edited by MsCreatoR, 03 October 2007 - 05:53 PM.

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team








#2 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 12 September 2007 - 07:59 PM

Would love to try it out but the link is not working.. LOL Goes to the examples page but says it is not found..

#3 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 12 September 2007 - 08:01 PM

Hm.. the link is to Downloads... http://www.autoitscript.com/forum/index.ph...s&showcat=1
Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#4 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 12 September 2007 - 08:13 PM

Went thru 3 pages of doawnloads and nothing names your title or by MsCreatoR.. Perhaps just post the code here?

#5 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 12 September 2007 - 09:29 PM

I dont know what's the problem, maybe it needs time to updated (or it need to be confirmed by the Moderators)...

Try this link.

Perhaps just post the code here?

It's too big and need resources files..

You also can download it from my webpage (russian).

Edited by MsCreatoR, 12 September 2007 - 09:57 PM.

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#6 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 13 September 2007 - 05:43 AM

Finally got it... Oh WOW! That is very nice work.

#7 ksmith247

ksmith247

    Universalist

  • Active Members
  • PipPipPipPipPip
  • 279 posts

Posted 14 September 2007 - 06:59 PM

MsCreatoR is a genius. This is SWEET! I just so happen to have a user who is using clipboard viewer and some other apps through some convoluted process to do just this. And of course his process is no longer working and it is my fault. I think I will show him this.
Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.#include <Guinness.pint>

#8 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 18 September 2007 - 02:16 PM

New Version of Desktop Icons Restorator! v1.01

ScreenShots:

Main Window
Preferences Window - Session Prefs
Preferences Window - Sound Prefs
Preferences Window - Tray and Transparency


Change Log:

-------
v 1.01
[Sep 18 2007]
-----------------


General Improvments in program work.
Added Readme File.
Added Unicode Support (when writing to Session File).
Added Convenient Preferences Dialog.
Added Full Hotkeys Support.
Added Status Bar.
Added Context Menu.
Added Full Drag & Drop Support - You Can Add *.DSI Files to the list by dropping them in, or you can drag the items From the list outside the main window, and they will be Copied to the dropped Folder (if this is a folder, if not, then string of the item is send).
Added one more Option to Registration Dialog - Adds Item to "Create" context menu of Explorer.
Added Transparency Option (from Preferences Dialog).
Added Option to select sound for playing after Saving/Restoring (for each action can be different sound).
Added Option To Stop Auto-Saving Using Button from Main Window (also by Hotkeys <Ctrl + Shift + S> and from Tray menu).
Added "Rename Session File" Option.
Added "Copy Session File To Clipboard" Option [ATTENTION]: For non compiled script this feature required correction in _CluipPutFile() UDF of misc.au3 (from version AutoIt 3.2.4.9 or maybe earlier to 3.2.8.2).
Added Option To save Session to selected Item.
Added Missing Library Files in Resources Dir.

Resizing Methods are Very Improved - When resizing the List View, if the list is not empty, Columns Resized as well (Optional).
Modified "About program" Dialog window.
Now it possible to select an Action for Clicks on the tray icon (Right M.Button Click Shows Menu by default, and Left Activates the main window - Can be switched to "Restore Last Session").
Now Remember All Main Window Positions and states.
Now Main Window can be Maximized.

Removed "To Do" Dialog - You can dind it in Readme File.

P.S
Updated first post.


--------------------------

Thanks gesller and ksmith247 for feedbacks! :)

Edited by MsCreatoR, 18 September 2007 - 02:27 PM.

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#9 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 18 September 2007 - 03:12 PM

Sweet, I didn't even see the transparency til I read your update log. This is very sweet. Any new features gonna be added?

#10 Polyphem

Polyphem

    Adventurer

  • Active Members
  • PipPip
  • 125 posts

Posted 18 September 2007 - 05:20 PM

I really like your program :)...

i'm currently playing around with it and want to use it in conjunction with Dexpot (freeware desktop manager) to set up a PC and a HTPC desktop... Dexpot's icon positioning is a littly buggy and it didnt do what i want... now with Dexpot all icons are still on all different desktops, but the ones the user should not see on that specific one are moved to 5000,5000... i can see it in the saved sessions...

- if i now deactivate Dexpot's icon functionallity and want to do it by manually changing the dsi files, the icons dont move to 5000:5000 :P, could you please add that ability to move icons off screen?

Update: Forgot that first request please, happend because i enabled "snap to grid" for icons... without that the icons are moved off screen...

- as a second request it would also be nice to have an option to change the dsi files manually via the gui, e.g. to pop up a listview with all listed icon names (text only) selectable and batch-changeable, selecting 5 icons and set them to 5000x5000...

- and in heaven i would be if you add an option, that while restoring all icons not in the dsi file are moved to 5000,5000 (or any other predefined location) :).... maybe you should display a warning in the gui if there are icons off screen and give the possibility to recover them?

Thanks for your effort and cheers :P...

Edited by Polyphem, 18 September 2007 - 09:23 PM.

This post will be edited again by Polyphem: Tomorrow, 11:55 AM

#11 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 21 September 2007 - 09:16 AM

gesller

Any new features gonna be added?

Yes, check the first post :)

Polyphem

I really like your program

Thanks!

the icons dont move to 5000:5000

I don't think (i don't realy know) that you can move icons outside the screen, because the desktop is an ListView, so the icons must be in view :P - but i will try.

as a second request it would also be nice to have an option to change the dsi files manually via the gui, e.g. to pop up a listview with all listed icon names (text only) selectable and batch-changeable, selecting 5 icons and set them to 5000x5000...

The editing part i liked, thanks, i added this to my "To Do" list... as soon as i have time, i will try to add these stuff.

display a warning in the gui if there are icons off screen and give the possibility to recover them?

But what if all icons already fieled the desktop? :) i dont sure if i can check for all icons... just maybe using @DesktopWidth/Height, and then check the number of icons that can be placed together accourding to screen coords.. but again, i am not sure...

Edited by MsCreatoR, 21 September 2007 - 09:16 AM.

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#12 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 21 September 2007 - 01:33 PM

The download is not working right for me, shows the files is downloaded and has a file size or 669 k but fails to unzip to ! "Desktop_Icons_Restorator.zip: The archive is either in unknown format or damaged"

#13 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 22 September 2007 - 06:43 AM

Hm.., you right, i reuploaded it, check now - but i don't realy know why this happend if i upload the file directly to server...
Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#14 Polyphem

Polyphem

    Adventurer

  • Active Members
  • PipPip
  • 125 posts

Posted 22 September 2007 - 12:34 PM

I don't think (i don't realy know) that you can move icons outside the screen, because the desktop is an ListView, so the icons must be in view :( - but i will try.

It is possible quiet easy, you just have to disable the "Snap Icons to Grid" function in the Desktop properties... (translated, not sure what the exact translation is :) )....

; Original Code If IsArray($aPos) And $aPos[0] = 2 Then _ListView_SetItemPosition($hWnd_LV, $nIdx, $aPos[1], $aPos[2])ƒo݊÷ Ù«­¢+Ø쁱ѕɕ ½‘”)%˜%ÍÉÉ…ä ˜ŒÀÌØí…A½Ì¤¹€˜ŒÀÌØí…A½ÍlÁt€ô€ÈQ¡•¸(%}1¥ÍÑY¥•Ý}M•Ñ%ѕµA½Í¥Ñ¥½¸ ˜ŒÀÌØí¡]¹‘}1X°€˜ŒÀÌØí¹%‘à°€˜ŒÀÌØí…A½ÍlÅt°€˜ŒÀÌØí…A½ÍlÉt¤)±Í”(%}1¥ÍÑY¥•Ý}M•Ñ%ѕµA½Í¥Ñ¥½¸ ˜ŒÀÌØí¡]¹‘}1X°€˜ŒÀÌØí¹%‘à°€ÔÀÀÀ°€ÔÀÀÀ¤)¹‘%


It would be nice to have a desktop properties part in the save file :), like changing desktop, wallpaper, resolution, icon alignment settings... yeah, i know it would be a hell lot of code... but there are enough example around to incooperate :P... just a suggestion...

I also changed the commandline slightly, so that it now accepts input like this:
"I:\_HTPC\Tools\Desktop Icons Restorator V1.01\Desktop_Icons_Restorator.exe" :restore "I:\_HTPC\3_HTPC_1920x1080\icon_settings.dsi"
"I:\_HTPC\Tools\Desktop Icons Restorator V1.01\Desktop_Icons_Restorator.exe" :create "I:\_HTPC\3_HTPC_1920x1080\icon_settings.dsi"

I got Dexpot (great Freeware) running for multiple virtual desktops (one per resolution) and whenever i change the desktop the creation of a .dsi file is invoked, whenever i enter a desktop the restoration is invoked. So Icons created on one desktop stay there and on the other desktop are moved off-screen, thats why i would love a manual/batch coordinate change dialog.

Something like ($aPos[1] > @desktopheight) OR ($aPos[2] > @desktopweidth) should do the trick filtering off-screen icons...

Regards and again, nice piece of code :P...
This post will be edited again by Polyphem: Tomorrow, 11:55 AM

#15 Polyphem

Polyphem

    Adventurer

  • Active Members
  • PipPip
  • 125 posts

Posted 22 September 2007 - 12:37 PM

P.S.: I already noticed that the download from autoitscript.com was corrupted before when i directly downloaded it... when i downloaded it with a proxy located in the us the archive was uncorrupted !?!?!?! I guess its not the archive which is damaged, but something on the server...
This post will be edited again by Polyphem: Tomorrow, 11:55 AM

#16 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 22 September 2007 - 04:18 PM

Yep, works great now..

#17 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,251 posts

Posted 03 October 2007 - 05:58 PM

Program is updated :) , see first post...

Change Log:

-------
v 1.02
[Oct 3 2007]
-------------

Added Option to Edit Visually selected Session (using convenient and nice GUI dialog ;) ).
Added Color to Menus.
Added Color selection Option (for main window, list, and menu/contextmenu).
Added "Save Session" item to Tray Menu.
Added "Check Updates.." item to "Help" menu (Attention: This required compiled program).
Added option "Show Desktop When Saving Session" to Preferences dialog.
Added option "Run Program When Windows Start" to Preferences dialog (In new Tab "Other Prefs").
Added option "Clean Not Existing Entries In Session File" to Context Menu of the Session File.
Added Playing Sound to "About Program" Dialog.
Added *.MID format when select sound for playing after Restoring/Saving session.
Improved Preferences Dialog.
Now when program start, the working dir is set to program dir (to insure that all installed files will be used correctly even if the program is not compiled and it called with diferent working dir).

Removed Limit on number of Items that can be stored in List (around 4099 items).

Unicode writing mode for saving sessions is removed - it was causing problems in some file names with Russian letters.
Fixed problem with disappeared main window when saving session.
Fixed problem with displaying of buttons on main window (on small screen resolution).
Fixed problem in "Auto-Saving session" Dialog - user can easily use <Shift F10> hotkey to call context menu in Input control, and insert there an invalid data - not anymore :P.
Fixed displaying of Tray Tip when minimizing program to tray - now it recognize what preferences user set for Tray Icon Clicks.
Fixed bug when writing an incorrect data to ini file when deleted all sessions.
Fixed (hopefully) bug when displaying child windows - sometimes the program is hangs until you close it.
Fixed bug when user select big sound file and press playing button - after closing Preferences dialog the sound continue to play.
Fixed some minor bugs (such as displaying information etc.).


Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#18 MCP

MCP

    Adventurer

  • Active Members
  • PipPip
  • 107 posts

Posted 25 October 2007 - 08:05 AM

I enjoy your coding style even if I find it a bit too difficult to fully understand the details.
(I am still a newbie and I have to deepen AutoIt knowledge indeed)

Thank you for the piece of cake!

I am sure I will be looking at it for long, in different situations.

#19 goldenix

goldenix

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 738 posts

Posted 11 December 2007 - 10:02 PM

My screen is too big, so icon positions always get screwed when i play sertain games.(since the resolution gets changed...)

So just saying thanx & some feedback + suggestions.

  • 1. If session file not found, the selected session is not being removed from the list if DEL - key is pressed, or when I choose from drop down menu remove session from list. Yes there is CTRL+del, but whats the point? who needs a session in the list that does not exist? I mean whats the point of putting em on the list in the first place, if it was not found....

    A suggestion: if file exist(put it on the list) Else (dont put it)
    Ya i thought ill do it myself, but i get this error when i try to compile it:
    Line : 1930  Local $SelColor = _ChooseCo :)lor(2, $AppBkColor, 2, $Prefs_Gui)   Desktop_Icons_Restorator\Source\Desktop_Icons_Restorator.au3(1930,66) : ERROR: _ChooseColor() called with wrong number of args.                     Local $SelColor = _ChooseColor(2, $AppBkColor, 2, $Prefs_Gui)                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\PROGRA~1\AutoIt3\Include\Misc.au3(46,70) : REF: definition of _ChooseColor(). Func _ChooseColor($i_ReturnType = 0, $i_colorref = 0, $i_refType = 0)

  • 2. The sounds were annoying, so i turned them of...A TrayTip("","Restored successfully!" , 5, 1) would be nice, other vise you dont know, when the process is complete.
  • 3. if only 1 session is on the list there is really no need to select it & only then press restore... ( this got really annoying, when i tested this prog )

    Thats it, hopefully you consider my suggestions :)


#20 Clemens

Clemens

    Seeker

  • Active Members
  • 8 posts

Posted 07 February 2008 - 02:31 PM

It's a really great program. Much better than every other icon restore prog I could found yet (and I searched and tried a lot...) :)

I've one small feature wish, as well.
Could you please add a command (line) to restore a session silent (like /s)? So that the "Would you like to restore selected session?" window also doesn't appear when the confirm dialog is activated. And in addition the Desktop Icon Restorator doesn't open. Just the icon restore process should be done, when using the :restore and silent command.

Greetings,
Clemens




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users