Jump to content

blender

Active Members
  • Posts

    26
  • Joined

  • Last visited

blender's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks Manadar. I think I'll have to loop the emails...
  2. Does _INetSmtpMail function support multiple recepients? I tried something like $toAddress = "xxx@gmail.com; yyy@gmail.com" but it didn't work.
  3. Hi, all I am using ruby with watir to make a script. Watir library has AutoItx3 integrated in it. Now I want to obtain the name of the computer where my script is running from. I am thinking to use macro @ComputerName. Is there a way to use it in ruby? Thanks
  4. I checked the function reference and it's not there. Didn't know it's in the keyword section. Thanks for the help!!
  5. Thank you very much. I solved the problem. I have another stupid question now. How do I break out of a loop? Break function looks different from it's in other languages.
  6. Hi, all I need to obtain the name of a reg key for an application under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall". However, name of the regkey is random everytime I install the program. The only thing consistant is the value of a sub regkey "InstallLocation" under that regkey and the value is known. (So the value of the regkey "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{xxxxx}\InstallLocation" is known for me. But {xxxx} is random) Is there a way for me to obtain the name of the regkey ({xxxx}) by only knowing the value of its sub-regkey? I tried RegEnumKey, but it doesn't seem to work in my case. Thanks
  7. Hi, all I am wondering if there's a way to find a specific program in Add or Remove Programs and click Remove button to start the uninstall program. Thanks.
  8. Got ya...Thanks!!
  9. Hi, all I have a function that already has a return value. But now I want to catch the value change for one of the function parameters. So is there a way to make call by reference like in C/C++? Thanks.
  10. Thank you so much! I'll check the help file from now
  11. Thanks for the reply. Can you tell me which file I should include before I can use the function? Thanks.
  12. Hi, All My goal is to create a log file and log events while the script is running. I tried using FileWrite. But I found it won't write to the file until the script finishes running. So if my autoit script hangs, there will be nothing in my log file. I could use fileopen and fileClose to make it write the file. But this way, my script will have many redundant lines of code (fileOpen->FileWrite->FileClose->FileOpen->Filewrite->FileClose....). So is there a way to create a log file using autoit and make it write stuff to the file at real time without closing the file? Thanks!
  13. As the title says, Is there a function in autoIt to obtain the current time? I tried TimerInit() but it doesn't give me the actual time. Another question I have here is that I want to compare to strings. I want to check if string A contains string B. Is it possible to do it in autoIt? Thank you in advance!
  14. Hi, all I need to automate the process of changing windows gegional settings. The question is how do I start Regional and Language Options from command line? Thanks.
×
×
  • Create New...