Jump to content

Desktop Icons Restorator


MrCreatoR
 Share

Recommended Posts

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

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

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

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

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.[size="2"]#include <Guinness.pint>[/size]

Link to comment
Share on other sites

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

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

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
This post will be edited again by Polyphem: Tomorrow, 11:55 AM
Link to comment
Share on other sites

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

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

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...

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 weeks later...

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.).

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

  • 1 month later...

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 :)

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...