Rex Posted January 25, 2008 Posted January 25, 2008 Hi I have a folder that contains shortcuts to the things i use mostly. My problem is that when i opens the folder i has "standart" size, and possision but i want it to have an other size and pos.(200x686, placed at 1078,2) So i tryed this command "WinMove("Shortcuts", "FolderView", 1078, 2 , 200 , 686 )" but but tyhat don't work can any of U tell me why /Rex
star2 Posted January 26, 2008 Posted January 26, 2008 (edited) this is the function form as you know WinMove ( "title", "text", x, y [, width [, height[, speed]]])oÝ÷ ÚÊ"*.¦ëmì"Ú0ªê-¶+ez«¨µÊ+ç-,¨¹Æ§æ¯zØ^Â)Ý£ ®¢Û^²Ú®¢×¦¦Ü¬¢lvøzÚ2¢è¬¶h¹¹^rØ^Â)Ý£b¶WºÚ"µÍÚ[[ÝH ][ÝÔÚÜÝ]É][ÝË ][ÝÉ][ÝËL Î for the window title you can use the AutoIt Window Info tool Edited January 26, 2008 by star2 [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]
Rex Posted January 26, 2008 Author Posted January 26, 2008 star2 said: this is the function form as you know WinMove ( "title", "text", x, y [, width [, height[, speed]]])oÝ÷ ÚÊ"*.¦ëmì"Ú0ªê-¶+ez«¨µÊ+ç-,¨¹Æ§æ¯zØ^Â)Ý£ ®¢Û^²Ú®¢×¦¦Ü¬¢lvøzÚ2¢è¬¶h¹¹^rØ^Â)Ý£b¶WºÚ"µÍÚ[[ÝH ][ÝÔÚÜÝ]É][ÝË ][ÝÉ][ÝËL Î for the window title you can use the AutoIt Window Info toolI'd do use the AutoIT Info, but still i can't get i to work, with or with out the "text" /Rex
erezlevi Posted January 26, 2008 Posted January 26, 2008 (edited) Rex said: I'd do use the AutoIT Info, but still i can't get i to work, with or with out the "text" /RexHi, does winactivate works for you on that name ? if so, can you send your whole code?another thing, did you try to minimize and maximaize after the change took place did it worked then? Edited January 26, 2008 by erezlevi
Squirrely1 Posted January 26, 2008 Posted January 26, 2008 (edited) Rex said: I'd do use the AutoIT Info, but still i can't get i to work, with or with out the "text" /RexThe following code works fine on my machine, to move the opened folder called Wallpaper, completely off the screen of my monitor, which is only 1024 by 768: WinMove("Wallpaper", "", 1078, 2, 200, 686) Is your computer working okay? When is the last time you defragged and when is the last time you ever did a system recovery operation - I have to do a recovery about once a year. I feel completely certain that the following code you posted, will not accomplish what you are trying to accomplish: WinMove ( "title", "text", x, y [, width [, height[, speed]]])oÝ÷ ÚÊ"*.¦ëmì"Ú0ªê-¶+ez«¨µÊ+ç-,¨¹Æ§æ¯zØ^Â)Ý£ ®¢Û^²Ú®¢×¦¦Ü¬¢lvøzÚ2¢è¬¶h¹¹^rØ^Â)Ý£ b¶WºÚ"µÍÚ[[ÝH ][ÝÔÚÜÝ]É][ÝË ][ÝÉ][ÝË L Î I'll bet that what your machine needs is cleaning the folder cache - put this in your script: ; Clear MRU folders and set Folder Cache size to 1024 RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU") RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags") ShellExecute("cleanmgr.exe", "c:") Complete the Disk Cleaner utility and defrag. Like Valik says, "Reflect, repent and reboot." Edited January 26, 2008 by Squirrely1 Das Häschen benutzt Radar
Rex Posted January 26, 2008 Author Posted January 26, 2008 Squirrely1 said: The following code works fine on my machine, to move the opened folder called Wallpaper, completely off the screen of my monitor, which is only 1024 by 768: WinMove("Wallpaper", "", 1078, 2, 200, 686) Is your computer working okay? When is the last time you defragged and when is the last time you ever did a system recovery operation - I have to do a recovery about once a year. I feel completely certain that the following code you posted, will not accomplish what you are trying to accomplish: WinMove ( "title", "text", x, y [, width [, height[, speed]]])oÝ÷ ÚÊ"*.¦ëmì"Ú0ªê-¶+ez«¨µÊ+ç-,¨¹Æ§æ¯zØ^Â)Ý£ ®¢Û^²Ú®¢×¦¦Ü¬¢lvøzÚ2¢è¬¶h¹¹^rØ^Â)Ý£ b¶WºÚ"µÍÚ[[ÝH ][ÝÔÚÜÝ]É][ÝË ][ÝÉ][ÝË L Î I'll bet that what your machine needs is cleaning the folder cache - put this in your script: ; Clear MRU folders and set Folder Cache size to 1024 RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU") RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags") ShellExecute("cleanmgr.exe", "c:") Complete the Disk Cleaner utility and defrag. Like Valik says, "Reflect, repent and reboot." No i'm quite sure the code i posted don't work but how in the he.. ??!! Hmm must be FF that did fu..ed up the reply, yesterday. To be honest, my computer runs lige sh.. I never defragt (takes to long) I don,t use sys rec. one of the first things i deactivates when i installs Xp how ever i do use Ghost My shortcut folder is located on a Citrix server at work, and i have no acces to the registry (not even thru the script) But but, i find out why the code did't work the test folder i created had all small letters, but the script looked for a Capitaliced S, and thats why it'd work... I'm realy realy sory to have taken up your time on this /Rex
Rex Posted January 26, 2008 Author Posted January 26, 2008 erezlevi said: Hi, does winactivate works for you on that name ? if so, can you send your whole code?another thing, did you try to minimize and maximaize after the change took place did it worked then?It was the whol code i posted And winactivate did't work either, but as stated in my perv. post i findeout why /Rex
Squirrely1 Posted January 26, 2008 Posted January 26, 2008 Rex - You absolutely must defrag at least 6 times a year ! I defrag at least twice a month. If you have never run cleanmgr.exe on drive c: since you bought the computer, it is running very slowly. Das Häschen benutzt Radar
Rex Posted January 26, 2008 Author Posted January 26, 2008 Squirrely1 said: Rex - You absolutely must defrag at least 6 times a year !I defrag at least twice a month.If you have never run cleanmgr.exe on drive c: since you bought the computer, it is running very slowly.The reason my pc is fu...d up is that i install lots of programs found on the www, so i can test them, see if the are usefull for my customors (or my self)allso due to the tragedy that happent to my GfX it deade, so i had to buy a new one, so i did but i had to install a nother until the one i ordrer arryved so currently my sys has 3 difrent gfx drivers installed.I have to tested 4 difrent Firewalls, one almost killede my sys totaly (OnlineAmor) had to boot on my PE disk to remove it But still i never ever defragts, i don't have the time (takes 6-8 houers) i have over 600Gb data on my drives (4 hd's).And the only reason you have to defragt is to "put" the data togeter alowing the sys to finde the data faster - but data only gets spread arown if you delete lots of files leaving empty spaces on the HD.And yes defragting Drive C maby speeds up the sys, but there at many other ways to do that, fix the size of your pagefile, moving the page file to a difrent partition, add more pagefiles ans...But thx for the suggestion /Rex
Squirrely1 Posted January 26, 2008 Posted January 26, 2008 (edited) Oh, you must be a rich kid. You can just throw away computers that do not work right. Maybe since you have all that drive space, just put all your data files on other drives, and have only the system files and all the folders that came with your machine on drive C: and then it will not take very long, only 30 minutes, to clean and defrag drive C: If a system drive is never defragged, it becomes almost un-usable after a year, and here is where rich kids can just chunk it and buy a new computer. Edited January 26, 2008 by Squirrely1 Das Häschen benutzt Radar
Rex Posted January 26, 2008 Author Posted January 26, 2008 Squirrely1 said: Oh, you must be a rich kid. You can just throw away computers that do not work right.Maybe since you have all that drive space, just put all your data files on other drives, and have only the system files and all the folders that came with your machine on drive C: and then it will not take very long, only 30 minutes, to clean and defrag drive C:If a system drive is never defragged, it becomes almost un-usable after a year, and here is where rich kids can just chunk it and buy a new computer. My sys newer lives a year, i think max lifetime for my sys is 3-4 month, then i reinstall xp (Ghost).But the lifetime of a sys depends on theway it's being used... and how it is se up.I only have system data on my C drive, programs ans. but this still gives me about 100 GB of data to defragt As i wrote i have 4 Drives the are spilted into 8 diffrent partitions, and all my "other" data is spilted over the remaning 7 parts.../Rex
Squirrely1 Posted January 26, 2008 Posted January 26, 2008 (edited) Okay Rex, I was just trying to help. On my OEM edition of Windows XP, there are only few gigabytes of data to the whole system. I for my part, would most certainly not want to have to try to organize a terabyte of script data files. Edited January 26, 2008 by Squirrely1 Das Häschen benutzt Radar
Rex Posted January 27, 2008 Author Posted January 27, 2008 Squirrely1 said: Okay Rex, I was just trying to help. On my OEM edition of Windows XP, there are only few gigabytes of data to the whole system. I for my part, would most certainly not want to have to try to organize a terabyte of script data files.Thrue But some og the programs i have installed, are verry large.But still thx/Rex
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now