Jump to content

icon orbit


corgano
 Share

Recommended Posts

What Is It?

This is a program that will make the desktop icons "orbit" the center of the screen. This will only take a few icons as useing all icons would cause lag. It now saves and restores icon positations, as well as icons move faster closer to the middle

Esc exits.

To be added:

Save and Restore icon positions Done

Faster nere the middle, as it would in real life Done

Fix start angle

Move unused icons to middle / off screen

What I need help with:

The start angle (i want them to orbit from where they start off on desktop, right now it moves them and then orbits)

Eliptical orbits (this would be a pain because it would have to speed up nere center and just that would be a pain)

Vista (when i do put in restore icons it never works on vista...)

Any better method of makeing them orbit would be helpfull. also looking for a way to uncheck "Align to Grid" and recheck on exit

--EDIT--

Icons now move faster in the middle.

Icon positions are now saved and restored.

Edited by corgano

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

DUDE YOU SCREWED MY DESKTOP...lol...

basically, look at a program like this and use it please! (it is to save icon location and restore them)

I am slightly OCD when it comes to my desktop, sorry.

Other than that, there was a lot of flickering...definitely movement, but not what I expected... see if you can turn off align to grid before doing it, that was my problem.

other than that, it worked... and with a bit of neatening it could look good! double clickings a pain though...

Edit: go back to v 1, v 1.2 was worse. It didn't save positions, it went back to win default (all lined up dowm the side), nice try, but no cigar.

Edited by mdiesel
Link to comment
Share on other sites

I added the v 1.2 script, it should save and restore your icon positations. For some reason it does not work on vista.....

Did you test the 1.0 or 1.2 script?

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

yes, both...

v1 looked better I think, and the v2 thing does not restore them to the location i had set them, instead going to the windows default. Very dodgy, but the ideas good. could have done with a lot more finetuning before release.

for vista, you need to bypass uac... use #requireadmin at the top of your script and check again.

mine end up orbiting off the screen too, so fix that please...

winxp sp3.

Edited by mdiesel
Link to comment
Share on other sites

yes, both...

v1 looked better I think, and the v2 thing does not restore them to the location i had set them, instead going to the windows default. Very dodgy, but the ideas good. could have done with a lot more finetuning before release.

I don't know why it doesn't work on your computer, it works perfectly on mine. The problem with makeing the icons not go off the screen is where will the icons go instead? How will it detect if the icons are off screen?

The program works like this:

1: get angle in relation to the middle

2: get distance from middle

3: calculate how many degrees it should move ( from how close to the middle it is)

then in while

1: gets the new angle (add current angle plus the angle generated by steap 3 above)

2: sets icon position (new angle, at distance from middle (value returned by 2 above)

..and it does that for all icons.

Edited by corgano

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

This is the registry key that controls auto arrange function.

I hope it will help :(

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop]
"FFlags"=dword:00000221
"Sort"=dword:00000002

Here are the codes:
Auto Arrange off, Align to Grid off:
"FFlags"=dword:00000220

Auto Arrange on:
"FFlags"=dword:00000221

Auto Arrange off - align to Grid On:
"FFlags"=dword:00000224

Auto Arange on, Align to Grid on:
"FFlags"=dword:00000225

Hide Desktop Icons:
"FFlags"=dword:00001220

Sort by name:
"Sort"=dword:00000000

Sort by size:
"Sort"=dword:00000001

Sort by type:
"Sort"=dword:00000002

Sort by Modified:
"Sort"=dword:00000003

EDIT:

LOL ! ;)

Try to press CTRL+A on dekstop after running this script (to select all moving icons), script is alot smother and there is no flickering! Weird! ^_^

Edited by Uriziel01
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...