Jump to content

SerHenning

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SerHenning's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Works perfectly now, thank you guys! ❤️
  2. Just put it in, nothing is happening, but I'm not getting any errors either 😕
  3. Hey, is it possible to put a command such as MouseClick to a variable something like this: Local $vLala $vLala = MouseClick ( "left", 1000, 400, 1) so I can just put $vLala in whenever I want AutoIt to click on that position? EDIT: I know that you can do it by making two variables for 1000 and 400, but I want to do it smaller ^^
  4. Hey, I'm trying to do a process which involves copying a cell from Excel, then repeat that process but copying the next cell and so on. Is there any simple way to do that? I got my entire paste process and I can copy one cell, which I wrote down, e.g. A1 and now I want to copy A2, A3 and so on. I think I gotta make the cell value a variable but I'm pretty sure its more than that, as it got an A in front of it. Ignore my way of opening the editor please 🤣 #include <IE.au3> #include <Excel.au3> #include <MsgBoxConstants.au3> Local $var = "C:\Users\Jan\Documents\Projekte\Autoitlernen\excel\testitest.xlsx" Local $oExcel_1 = _Excel_Open() Local $oWorkbook = _Excel_BookOpen($oExcel_1, $var) Local $_read = _Excel_RangeCopyPaste($oWorkbook.Activesheet, "A2") send ("{LWIN}") Sleep (1000) send ("e") Sleep (200) send ("d") Sleep (200) send ("i") Sleep (200) send ("{ENTER}") Sleep (1000)
  5. I deleted all of the code after it and pasted it in again and now it works, but whatever, works now. Thank you @jitb!
  6. Thanks for your help! Its weird, when I pasted it in first, it worked perfectly fine with your version, then I changed something in the parts a little down in the code and tried it again, and it says that the problem is in the line above. It says Local $_read = _Excel_RangeCopyPaste($oWorkbook.Activesheet,"A2") Local $_read = _Excel_RangeCopyPaste($oWorkbook.Activesheet,"A2")^ ERROR Error: Unable to parse line.
  7. Hey I'm trying to make autoit read out a cell from an excel docuement #include <IE.au3> #include <Excel.au3> #include <MsgBoxConstants.au3> Local $var = "C:\Users\Jan\Documents\Projekte\Autoitlernen\excel\testitest.xlsx" Local $oExcel_1 = _Excel_Open() Local $oWorkbook = _Excel_BookOpen($oExcel_1, $var) ;Local $_read = _Excel_RangeRead($oWorkbook,"Tabelle1","A2") Local $_read = _Excel_RangeCopyPaste($oWorkbook,"Activesheet","A2") It opens the excel file, so thats working, but it doesnt copy anything to the clipboard 😕 yours Jan
  8. Holy cow, you guys are so friendly! I'll try to get as far as possible with ur tips, thanks @junkew.
  9. First, thanks @FrancescoDiMuro and @Danp2 @Jos the purpose of all that will be, to be able to launch all my junkmail addresses I used to register on different webistes quickly and at the same time (I got more than 10 by now xd) and then quickly go through the tabs to find certain emails (keeping track of subscirptions, cancelations and so on). It actually won't do more than just login, Ill go through them manually, because I don't think im capable of doing any kind of AI haha . I'm trying to get into autoit, so ) I try to start with something (I hope) simple, that I can kind of use. I'll use the Multi-Account Container plugin for firefox.
  10. Hey, I'm fairly new to AutoIT, i've tried my luck with python but didn't really like it. So what I want to do is to setup differenct email accounts in a file (something like excel or whatever fits autoit) and then log in one after the other systemetically. How do I set up AutoIT to read such a file? Also quick question on the side, can I still use Firefox, as I heard that mozrepl doesnt get updated anymroe. yours Henning
×
×
  • Create New...