Jump to content

MHz

Member
  • Posts

    1,691
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by MHz

  1. You may need a shell extension to achieve what you want. Check here as someone asked a similar question.
  2. ; Using Do...Until Do Send("{!y}") Sleep(1000) Until Not WinExists("Automatic Updates") ; Using While...WEnd While WinExists("Automatic Updates") Send("{!y}") Sleep(1000) WEnd ; Using For...Next (only 5 loops) For $i = 1 To 5 If WinExists("Automatic Updates") Then Send("{!y}") Sleep(1000) Else ExitLoop EndIf Next Choose from 1 of the 3 loops shown. The For...Next shown will save you being trapped in an endless loop if it fails to close the window. Do not have to worry about turning tabs into spaces for code indenting. The IPB forum software destroys the viewing of both types of indenting. Not sure about publishing a book as of yet. Edit: Code indent check Edit2: Tab and space indenting is working now. Thanks to the person who fixed this.
  3. All 3 types, hmm, smart person. AutoIt forum try to help but i have a common interest in UA Windows like you so I can answer at a better level to help you. I have learnt most of AutoIt by trial and error. The helpfile is concise and brief, but you still may need to test the functions to get the overall understanding of them. It comes with time to master them, but it cones along. Pestering?, well that is what forums are for. Sometimes people just like to help, so pest is an unknown word unless you become a nuisence of wasting peoples time, but i see that you are not a nuisence.
  4. Your using AutoItX right? This means you are still working from a VBScript environment. AFAIK, AutoIt (user defined) functions do not exist in a VBScript with AutoItX used. This would mean that you would use your functions and subroutines native to VBScript. The standalone version of AutoIt has only (ud) functions. These (ud) functions are not an exact equivalent to VBScript functions, so the need for subroutines has not been created. You can comment a function call in AutoIt so the function will not run for testing. While AutoIt is based or similar to VBSript, the developers do look at other languages to add improved functionality. I think you may find the AutoIt (ud) functions are more versitile then to VBScript functions. They need to be better as for no subroutine support. We are talking about 2 different breeds of animal here and you need how to learn how to work with either of them separately. The standalone version of AutoIt has functions called AdlibEnable and AdlibDisable. AdlibEnable can be set so it will call a (ud) function every set amount of time. You would use *Exists functions to detect and react accordingly to these possible events. AdlibDisable simply turns off AdlibEnable when required to save resources. Here is a basic example: Run(@ScriptDir & '\program.exe') WinWait('title1', 'test1') ControlClick('title1', 'text1', 'button1') ; Window title may show here called 'Connect to Internet' ; Turn on Adlib and use _Adlib() function for the scanning. AdlibEnable('_Adlib') WinWait('title2', 'text') ControlClick('title2', 'text', 'button1') ; Save cpu so we turn off Adlib here. AdlibDisable() WinWait('title3', 'text') ControlClick('title3', 'text', 'button1') Func _Adlib() If WinExists('Connect to Internet') Then ControlClick('Connect to Internet', '', 'Button2') EndIf EndFunc I do not see any Adlib functionality in AutoItX. You may need to use a temporary loop to check for the unexpected window. You could also as refering to the example above without Adlib in mind, turn WinWaits into WinExists functions and have them inside a big loop. The big loop would also have the unexpected windows in them also. Edit: Pepair code indent only
  5. If the drive is already formated with Fat32 then you maybe able to use [Unattended] FileSystem = ConvertNTFS LeaveAlone
  6. AutoPartition or RePartition uses NTFS. You need to manually create a Fat32 partition.
  7. This is how I find that it works at T12. All HKLM tweaks go to HKLM. (All User Profile) Most HKCU tweaks go to HKU. (Default User Profile) The HKCU tweaks that do not exist in the default profile already may not be accepted and need to be added when a user is logged on (User Profile). Personal settings are the ones that seem to be rejected. I recommend that you should not and do not need to change a registry files structure for what can already be done currently. Edit: Here is a picture to show how I added some environment variables (Desktop & SendTo) at T12 for HKCU\Environment but were redirected and created in HKU\.DEFAULT\Environment by the system.
  8. Compiled scripts = No Uncompiled Au3 = Requires just the interpreter AutoIt3.exe. Installing AutoIt sets up a good environment for full system usage. ControlGetText() to get text and ControlSetText to paste it. You can take off from the right side of the string. WinWaitActive("Application days let say") Bugged feature in AutoIt 3.1.1 and it will fail. I would not use this feature unless it was totally necessary and I would use the AutoIt beta (bug fixed) if I did use it. AutoIt macro's are recommended where suitable.
  9. I use that. Just need to add hashtab.dll into $OEM$\$$\system32\shellext and use regsvr32 /s on it.
  10. Steam runs at logon? if so, then check for it's entry in one of these keys: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  11. No, just create the folders as I mentioned. It will be copied over to your system directory during textmode of setup. Edit: $$ = it will copy to Windows directory.
  12. This is a non-install method. Have done for quite awhile with no problems. Half of the powertoys do not need installation in some way. 1. Open the exe with WinRAR and extract Tweakui.exe. 2. Add TweakUI to your system directory or unattend is $OEM$\$$\system32\. 3. Merge the regfile. RegEdit /s file.reg can be used on it. 4. TweakUI will display in your Control Panel. Windows Registry Editor Version 5.00 ; Add TweakUI to Control Panel ; ============================ [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}] @="Tweak UI" "InfoTip"="Tweak your system" [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon] @="%SystemRoot%\\\\System32\\\\tweakui.exe,0" [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell] [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open] [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\Command] @="tweakui.exe" [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder] "Attributes"=dword:00000030 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}] @="Add Tweakui to Control Panel"
  13. ControlSetText works at sending the text directly to the control. Send works at sending to the control. But the installer does not seem to read from the control. Rather it reads the message stream sent to the window. Send does emulate the keyboard with these message streams sent, so read does work. Sadly the window does need to be active for Send to work. You can focus the controls with !b or !m with the message sent. Example: Send('!btest1') Send('!mtest2') Switches are available to change some of these settings.
  14. MHz

    CMenu

    Your just too quick totoymola. I have only just uploaded that recently. Unfortunately due to a bug found , I have done a service release in a v2.0 which I have just uploaded and should be currently fine to download. Yep, It has optional processblock function in AutoIt scripts created. So officially, go for it.
  15. This seems to be the entries in Cmdlines.txt that you would want. If you make a RegTweak.reg file then you want to insert that before the users.cmd so everyone will get their RegTweaks. [COMMANDS] "users.cmd" "RegEdit /s autologon.reg" "RunOnceEx.cmd"
  16. On a laptop? The batteries would not like this at all. I do not understand how Norton is the best? I have used Norton and other Antivirus programs. My system remains clean and even if a virus or other baddie is found, then Avast4Home will deal with it and it does it all free of charge. Now that is good value for money. The 1st post does explain problems with Nortons AV eating resources? Edit: If you search around, then you may find "The best Antivirus program" poll around where you can vote with pride without a reason to back it up. This thread does relate primary to uninstalling concerns.
  17. That is where my OOBEInfo.ini is and it works without failure.
  18. The picture you show is an english installer and since only one download link is available for it, then you should have exactly the same installer as mine. An Uppercase /S works. If you still have doubts, then you can upload it to a host and I will download and test the installer for you. Just pm me a link if you do so. I would rather fresh install it with /S rather then the trouble of installing a new version and repacking the files with WinRAR each time a new version is released (even though ScubaSteve is nice enough to share his archive).
  19. Are you sure? I just double checked silent installing PhotoFiltre v6.1.5 and I find that the /S switch works fine. You are using an uppercase S?
  20. Nice program. I have adopted to using it. Definately the correct uppercase switch that a Nullsoft Installer uses. I would expect that to work unless you have an incorrect path or filename.
  21. To safely replace Nortons. 1. Download a suitable Antivirus replacement. 2. Disconnect from Internet. 3. Run Windows Add/Remove on Nortons. 4. Restart. 5. Install your replacement Antivirus program. 6. Reconnect to Internet. Removing folders, files or registry entries should only be done if are sure of what you are doing. CCleaner may help to clean the HDD and registry, but do be selective of deleting registry entries.
  22. Ensure you have OEMPreInstall = Yes in your Winnt.sif. This setting copies your $OEM$ special folders over during textmode of setup.
  23. I agree with kelsenellenelvian. Look in your event viewer and you may see errors of your profile hive not closing properly with system shutdown as Nortons refuses to be managed. The shear number of registry entries that Nortons adds will make it ugly when uninstalled. I use Avast4Home and am happy with it. Once you try a good alternative to Nortons, then you will never go back to Nortons. I prefer not to buy computer systems with all this trial junk added in with an OS image. It simply removes your freedom of choice.
  24. Just returned a PM, and all the carriage returns were stripped when I viewed it in the Sent PM folder. example typed: looks like this:
  25. Well you could type it in manually but a keylogger can easily steal what you type. I use Keepass for keeping all my passwords. If you read up enough about security, then this is a good method if your master password to the database is good. Most bank sites use high security so you are fairly safe. Not sure if a password manager would work with their security. When you know what hack tools are out there, then nothing is safe. So you can only use what you think is best for you.
×
×
  • Create New...