apollo13
Active Members-
Posts
94 -
Joined
-
Last visited
apollo13's Achievements
Wayfarer (2/7)
0
Reputation
-
I have posted lots times ago to know how using RegWrite. The hope was to write this my small script. Now i expose on forum a different question ;----My script---- local $RegLocation1 = "HKUS-1-5-21-1910003253-1007278638-1873172583-500SoftwareMicrosoftWindowsCurrentVersionExplorerModulesGlobalSettingsSizer" local $RegLocation2 = "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerCIDOpenModulesGlobalSettingsSizer" local $Key_SinglePane = "0xfc000000000000000000000039030000" local $Key = RegRead($RegLocation1, "PageSpaceControlSizer") If $Key<>$Key_SinglePane then RegWrite($RegLocation2, "PageSpaceControlSizer", "REG_BINARY", $Key) RegWrite($RegLocation1, "PageSpaceControlSizer", "REG_BINARY", $Key_SinglePane) Else local $Key = RegRead($RegLocation2, "PageSpaceControlSizer") RegWrite($RegLocation1, "PageSpaceControlSizer", "REG_BINARY", $Key) Endif ;----END---- I have create this script that permit me to obtain approximately same effect of manual click on icon: " Organize --> LayoUT --> NavPane " without use of keyboard shortcut using command -- Send ( "keys" [, flag]) -- under my language: ALT-D .. TAB .. ENTER .. L .. R .. R .. ENTER Unfortunately I have encountered 3 problems: 1) To take effect I must do one of this choice - Start New session of Windows Explorer ...or.... - Change Directory of the explorer session that i'm using There is not a method to take immediately effect without Close/Re-Open explorer session or change actual directory in order to obtain the same effect as click on "Original Microsoft Icon" ? I have proved with Refresh F5 but nothing to do. How Windows Explorer immediately Refresh itself without close itself or change actual directory ? 2) The script correctly runs under all directories except if i am into "ROOT". Here in that position don't take effect. (Windows NavPane runs also in this position) 3) If I use before Windows NavPane Icon and obtaining single window (without TreePanel on left) and only then I run my script, there is no effect. I must click again on Windows NavPane Icon to permit sript to take effect Have you some suggestion? Tank you very much.
-
I need your help if you can. I have inserted in an array lots variables (about 100) that contain the name of each file of skin color that i have realized for my program. I want shows on screen in a window the tree list of these name of skins and click with mouse what i want choice in that moment. I have thinked to associate each skin to a number and then choice skin using input keyboard of the number that i whant but is more rapidly using mouse if there is o possibility Have you some suggestion to realize this or some of autoIT command that i must use how Input from list with mouse?? Example of tree choice: SKIn-01 SKIn-02 SKIn-03 SKIn-04 SKIn-05 SKIn-06 When user have done his choice then Call SkinFunc($Userchoice)
-
Help for Opening folder into same istance of explorer
apollo13 replied to apollo13's topic in AutoIt General Help and Support
No idea to do this? There is not possibility to use AutoIT script in order to send new folder focus to session of explorer that i'm using without open an other istance of it? Only way is go to address bar and send new path?? send ("!d") send ("path...") is not great thing :-( There is not command "open" that permit explorer to open new folder ? -
Help for Opening folder into same istance of explorer
apollo13 replied to apollo13's topic in AutoIt General Help and Support
There are some parametres to add to ShellExecute that permit to use always the same istance Activated of explorer in order to change its focus folder from script command ?? Reading guide help don't explain this . -
Help for Opening folder into same istance of explorer
apollo13 replied to apollo13's topic in AutoIt General Help and Support
Proved, but open always more sessione of explorer. I want only one istance of it that change its address folder from script command -
Hi, now in my script using command "RUN" I open an istance of Explorer Run("explorer.exe /e,c:\") but i need that in some circumstance the folder is different, but if i send new command with new folder: Run("explorer.exe G:\NewFolder\Test") new istance of explorer is opened and i don't want this. How can i do to open new folder in the same istance of explorer that is Active [ IF WinActive then.... ] (i want that work similar ....as user click directly on folder panel of explorer) Can someone give me a suggestion ?? Thanks
-
I must study how use this new function (for me). I must change always two hexadecimal code value in the same regkey in order to have big left folder pane or return to original previously dimension of left navigation pane of Windows explorer. (For this reason i must know the two original hexadecimal value, writing it on file) Thanks for help
-
Hi i need to change value to a DWORD into Windows registry, but the value that i must insert is expressed as hexadecimal (editing File.Reg is wrote hex:..... ) That I want realize is: Read original value of DWORD "PageSpaceControlSizer" and record the DATA on file (overwriting if already exist file) and Then replace the value with an other After record value I replace DATA with this value [HKEY_USERS\S-1-5-21-1910003253-1007278638-1873172583-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer] "PageSpaceControlSizer"=hex:3F,20,00,00,01,00,00,00,00,00,00,00,a9,03,00,00 Then when I press SHIFT-ESC HotKeySet("+{ESC}", "Default") read from file and come back to original value of "PageSpaceControlSizer" The problem is that when i read value. using command $key= RegRead("HKEY_USERS\S-1-5-21-1910003253-1007278638-1873172583-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer", "PageSpaceControlSizer") the value of $key is: 0xfb00000001000000000000005d030000 but if i use RegWrite ( "keyname" [,"valuename" [, "type" [, value]]] ) RegWrite("HKEY_USERS\S-1-5-21-1910003253-1007278638-1873172583-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer", "PageSpaceControlSizer, "REG_DWORD", "0x3F200000010000000000000a9030000") proved aslo with options REG_SZ REG_EXPAND_SZ REG_BINARY and other.. and the value is not inserted correctly. How can insert value reported into file.REG when i backup it using Regedit ? How i'm wronging?? Thank you
-
SysTray Icon of Windows USB Safely Remove
apollo13 replied to apollo13's topic in AutoIt General Help and Support
My OS is Win7 x64. Using Systray_UDF to show me all tray icon process msgbox advise me less process that really exists. For this reason i don't know how hide USB Safely icon -
SysTray Icon of Windows USB Safely Remove
apollo13 replied to apollo13's topic in AutoIt General Help and Support
Nobody have some sugestion to give me ? -
SysTray Icon of Windows USB Safely Remove
apollo13 posted a topic in AutoIt General Help and Support
Hi, I'm using Systra_UDF to remove all systray icon of program that i don't want their icon is showed in tray area, using: #include <SysTray_UDF.au3> _SysTrayIconHide(_SysTrayIconIndex("MyProgram.exe")) With Task Manager i have saw the list of process running but i don't know how is the File.exe that shows the Tray icon "USB Safely Remove" in order to insert EXE into "_SysTrayIconHide" _SysTrayIconPids() & _SysTrayIconProcesses don't take effect to know what is program that shows icon because it doesn't have window title If i use an external program named "Taskbar Hide", it permits without problem to hide this USB Tray icon. Can you suggest me something about, to implement AutoIT string command in my script, without using other programs or Windows-->"Control Panel-Notify Area" and disable that i don't want ?? Thanks -
Hi i'm looking for include into my AutoIT script a test to a file that tell me when my XP VirtualMachine is ready (WinLogon) I must create a loop WHILE...WEND until ERROLEVEL is "1" and exit loop when is not "1". But how i can include test to DOS errorlevel ?? I have searched on WEB and i have found and readed this informations: - Function _ProcessExitCode() downloaded but running it --> tell me nothing on the state of file. - Exit[return code] - @exitCode ..... but i haven't found informaion how use it - @exitMethod ... similar previou, i haven't found information how use it For this moment i have realized a Mix of Batch and Au3 doing a loop in file BATCH, that verify if exist a file in VirtualMachine (not possible use AutoIT function "fileexists" --file is not in any folder-- but i must use a command of VirtualBox that do this) The command answers with a DOS code of ErrorLevel="1" if file doesn't exists. Now i have compiled the batch file to EXE file and then i have included it in AU3 script in this mode: ============ WinLogonTest.BAT that i compiled into WinLogonTest.EXE ========== @echo off :CheckWinLogon app64\vboxmanage --nologo guestcontrol "WinXP" stat "C:\Windows\Win.ini" --username "MyName" REM If errorlevel is "1" the file Win.INI in Virtual Machine doesn't exist therefore Windows is not ready If errorlevel==1 Goto CheckWinLogon REM Now Windows is Ready "WinLogon it's done" and exit Loop Exit ================================================================================= ####### Start.Au3 ########## Run("WinLogonTest.exe") ; Batch Compiled that test WinLogon Run("VirtualMachine....") While processexists("WinLogonTest.exe") sleep(250) Wend Msgbox(0, "", "Virtual Machine Ready, Script resume) .... ...... ############################## Please give me some suggestions or links to learn ho can use only AutoIT script. Thanks
-
Thanks but also using all full path under my win7 x64 don't run. Installation have inserted file VirtualBox.exe in folder .....VirtualBoxapp64 is not 32bit but x64 :-( i will try again
-
Nobody have some idea to give me to solve, please ?