Jump to content

Cusem

Active Members
  • Posts

    83
  • Joined

  • Last visited

Cusem's Achievements

Wayfarer

Wayfarer (2/7)

1

Reputation

  1. Great script. How can I add .cm TLD support? I found http://www.iana.org/domains/root/db/cm.html, however don't know how to find the data I need to add to the whois.ini.
  2. Thanks for reply ptrex. I'll look into MSXML2.XMLHTTP.3.0. AutoIT is the only scripting language I'm familiar with. I've never used PHP, .Net or Java. I got around it using the "S3.EXE" tool. This doesn't do everything I need, but does take care of the most important part; uploading files to an Amazon S3 bucket.
  3. Me asking politely probably won't help would it? Since I also would be interested in the specific post you are referring to. (Please?
  4. I use a proxy in my script to query Google US through a US based proxy server (SERP tracking; google.com/ncr or &hl=en&gl=us are supposedly not accurate). I use HttpSetProxy(2, "proxyip:proxyport") and _InetGetSource($url) _InetGetSource produces @error=13 often though which makes the script unstable. I rather use $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") to get the HTML source, however HttpSetProxy is disregarded. I found topics about configuring a proxy by modifying registry keys, however I rather use another solution (not in favor due to rights / antivirus+antimalware). What would be another good solution to get the HTML source of a Google.com query using a US based proxy?
  5. bump. Any help would be greatly appreciated. Would even be willing to pay, except if that's against forum usage rules of course.
  6. I never used API's before. I'd like to interface with the Amazon S3 API, Google Analytics API and Google Adsense Management API. Is this possible with AutoIT? Does somebody maybe has a tip on how to get started? Example script, documentation? Thanks!
  7. No, I'm referring to a client application that runs on my local desktop. I had experienced similar problems with about 10% of other programs as well, however these were fixed by sending the keys 'raw' with the Send("phrase", 1) parameter, however with OpenVPN, I've tried everything but can't get it to do anything. The popup is detected just fine and looks perfectly ordinary, but every Send-command I throw at it doesn't do anything (Send, ControlSend, ControlSetText).
  8. I have an auto login script that is having problems with the OpenVPN 2.1.3 user/pass GUI. I tried Send("text", 0/1) / SendKeepActive / SendAttachMode / ControlSend, but no text is being entered in the OpenVPN GUI. Anybbody any idea how I can fix this?
  9. Thanks! Didn't see the $RUN_CREATE_NEW_CONSOLE flag at all. However I'm able to see the output data now, using RunWait with the $RUN_CREATE_NEW_CONSOLE flag set; I am unable to capture the output text with RunWait? So took a look at Run and got it to work this way: ;--->>> Run CMD Local $cmd = Run($PATHwd_cwrsync&$tmpfile, $PATHwd_cwrsync, @SW_MAXIMIZE, $STDERR_CHILD + $STDOUT_CHILD) ;<<<--- Run CMD ;--->>> Read from child's STDOUT Local $data While 1 $data &= StdoutRead($cmd) If @error Then ExitLoop $data &= StderrRead($cmd) If @error Then ExitLoop Wend MsgBox(0, "Debug", $data) ;<<<--- Read from child's STDOUT One small drawback, with the flags $STDERR_CHILD + $STDOUT_CHILD set, I don't see the data in realtime in the command prompt window (which does show without those flags set, however without them I'm unable to capture output + halt script till operation has finished). Is there a way I could both capture the output text and view it in de command prompt window?
  10. cwRsync script I'm working on creates a "temp.cmd" file on the fly in the cwRsync directory. The CMD file runs fine and performs the Rsync tasks just fine, however I'm unable to see or capture the output text. I get a maximized black Command prompt window, it's totally empty however (no prompt). Local $cmdout = RunWait("C:\Program Files\cwRsync\temp.cmd", "C:\Program Files\cwRsync", @SW_MAXIMIZE, $STDERR_CHILD + $STDOUT_CHILD) Local $output While 1 $output &= StdoutRead($cmdout) If @error Then ExitLoop $output &= StderrRead($cmdout) If @error Then ExitLoop Wend MsgBox(0, "test", $output) I'd like to capture Rsyncs output data, for creating log files. Anybody any suggestions?
  11. Hadn't tried it yet, but I did now. Unfortunately an $array[6], with no values (except for $array[0] = 5 ofcourse).
  12. I'm trying to automate TrueCrypt, but I'm unable to get the text from it's listviews. Figure What Malik stated is the cause of this. I did find info on MSDN on virtual list-views but to be honest it's all swahili to me. Anybody got some info on this "alternate way" or how to get text from virtual-listviews? Code I'm using right now which isn't able to retrieve text (but is able to retrieve itemcount, selected item etc.) ControlListview("TrueCrypt", "&Create Volume", "SysListView321", "GetText", 3, 1) for $subitem I tried all subitem values.
  13. DUPLICATE POST Excuse me for that. Didn't mean to doublepost. Guess I accidentily hit the back button on my mouse or something like that. I'm not sure on how to delete this post though. Would it be ok to report this to a moderator (using report button) for deletion?
  14. @Manjish - works like a charm! Didn't know about the _GuiCtrlSlider* Functions. Thanks! @gandaria700 - not exactly sure what you're talking about (iPhone unlock slider?) but thanks anyway.
×
×
  • Create New...