Jump to content

cmpyutr

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by cmpyutr

  1. Yes, thank you. So I should be using User Defined Functions (UDF's) for IE. Yes, I would love you, because definitely MouseMove and MouseClick make my code completely not transportable. Would it be extremely difficult for you to write code that navigates to http://www.google.com/preferences and then clicks on the "Save" button, so I could get a jump start? Thank you.
  2. Are there some good tips about how to keep the mouseclick in the same place when the screen resolution changes? I write a program for my pc, but the mouseclicks are off when I run the program on my laptop. For example, automating the google preferences, where I say I want 100 items to display, and then I save the preferences. Here's my code snippet, where I click on the "save" button, and then click on the modal dialog box to dismiss it. oautoit.mousemove 918,839 'save oautoit.mouseclick "left" oautoit.mousemove 937,585 'modal oautoit.mouseclick "left" Works perfect on my pc, but is way off when I run the program on my laptop.
  3. Thanks, water. I DID see the text "Edit" show up, but it is not always there. For example, I cannot see it on my original post just above your reply. So I cannot edit my original post to say "Solved". What am I missing? It looks like "Edit" only shows up on my most recent post. I was able to edit this post right after I posted it, but I cannot edit my original post, because the "Edit" text does not appear on that post.
  4. Nope. Only thing at the bottom of my post is MultiQuote and Quote. That's just bizarre. Wow, an icon for "Edit" just showed up in this post, to the left of "MultiQuote", but it is not in a button, and it is very faint. But I don't have the "Edit" icon on the very first post, where the topic needs to be changed.
  5. Can't seem to figure out how to edit my own post. Anybody want to take a shot at instructions for me? Maybe with a screen shot?
  6. Shucks, nowhere on my screen do I see any icon to allow me to edit my post. Help.
  7. Haha, I solved my own question. And the answer is:::::::: I had to do a regsvr32 C:\Program Files (x86)\AutoIt3\AutoItX\autoitx3_x64.dll Now, how do I change the name of this topic to: (Solved) Windows 7 64-bit Autoitx3.control? Or does the moderator do dat?
  8. Just downloaded and installed autoit3 on Windows 7 64-bit. I wrote a "hello.au3" which runs fine. But when I tried windows script host: set oautoit=wscript.createobject("autoitx3.control") I get an error message that the control cannot be created. I also successfully did regsvr32 c:\program files (x86)\autoit3\autoitx\autoitx3.dll which didn't fix the error message. I also reinstalled autoit, and did not check the box that says "use native x64 tools where possible". Still not able to write a .vbs with the above line that executes without error. Any suggestions? Thanks.
  9. Hi, JLogan. That is the purpose of COM, of autoitx, to interface and be controlled by another entity. Regardless of why I want to use it, I do. So, do you have an answer for me by any chance? Thanks.
  10. That is the complete code above. It is one line of code in a file called a.vbs. The error message generated by Windows Script Host is: Script: Z:a.vbs Line: 1 Char: 1 Error: Could not create object named "autoitx3.control". Code: 80040154 Source: WScript.CreateObject
  11. Just downloaded and installed autoit3 on Windows 7 64-bit. I wrote a "hello.au3" which runs fine. But when I tried windows script host: set oautoit=wscript.createobject("autoitx3.control") I get an error message that the control cannot be created. I also successfully did regsvr32 c:\program files (x86)\autoit3\autoitx\autoitx3.dll which didn't fix the error message. I also reinstalled autoit, and did not check the box that says "use native x64 tools where possible". Still not able to write a .vbs with the above line that executes without error. Any suggestions? Thanks.
×
×
  • Create New...