Jump to content

pedmacedo

Active Members
  • Posts

    40
  • Joined

  • Last visited

Recent Profile Visitors

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

pedmacedo's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks for the help guys. I tried using simplespy, iuiautomation and sysexporter, but all they can get is the column names, not the rows.
  2. Hello guys, I work in a warehouse and some times I need to generate some reports informing what's entering and what's leaving the place. We have a software that does this, the problem is that it only displays the data on screen, you can't print or copy the text from it. See the picture below: I want to get this information but I couldn't do it because, as you can see in the picture, it's a custom control. I tried using the ListView UDF, ControlGetText, SendControl("GetSelected") and some other nonsense stuff but I failed. I managed to get all handles from this windows, if this helps. Can you give me some ideas please? This thing is so annoying, the information is there but I can't do nothing with it. Thank you in advance!
  3. I think this will solve, I just didn't test it yet because I don't have a domain admin account, but I will try to talk with my boss. Thanks for your help BrewManNH.
  4. Hello guys, I am trying to create a script that will run in several computers where I work. The purpose is to execute a software that is on the SERVER-AD domain using the local administrator credentials(the software need this to be able to write some files on the disk). I was trying to do this with the RunAs function, but the problem is: 1- If I pass the local admin as parameter, I won't be able to log into the SERVER-AD domain. 2-If I pass a user profile that is able to log into the domain, the software will execute, but it won't be able to write it's files on disk, because the user profile doesn't have permission for that. Any one could help me please? Sorry if I am asking too much! Thanks in advance.
  5. Hello guys, recently I was reading stuff about autoit using COM. I was trying to test this new knowledge with a flash object. As the helpfile teaches us, I used oleview to acess flash's IDispatch interface. There is a method there named getVars, which returns the current flash object running variables? The problem is that it just returns an empty string, I don't know what to do, I have been searching about this for the past hour and on every topic the people already know the variables names... how did they get them? Thank you in advance for your help!!
  6. Melba23 yeah now that you said I realized he needs ctrl + left click, not ctrl+left arrow. But {LEFT} means the left arrow! Not the left button, at least it's what the help file says(on the "Send" function)
  7. You can't set a hotkey combining keyboard+mouse input, at least not by using the function HotKeySet. One thing you could do is this something like this:(pseudocode) while 1 while ctrlIsDown() == 1 if(leftMouseClicked()) Then click5() Wend Sleep(10) Wend
  8. Just read until the last cell read contains nothing?
  9. If I understand you correctly, what you need is to update your script in case it's an outdated version correct? Well there is no built-in function for this, but it doesn't seem to be a complex thing to implement. Check if the version is updated, if not, update? Sorry if I am missing something here.
  10. Hello gentlemen! I am making several videos using the windows movie maker and then I upload them to youtube. The only difference between each video is the music in it, so I though, why not make an autoit script for this? I am still wrinting the script, but one part I am sure I will have trouble is to know when Windows Movie Maker finished the upload of the video? I was hoping someone here could give me an idea, otherwise I will just endup setting a high Sleep() value to make sure the upload ended Thanks! PS: Just some more info about this, in case it's necessary: Windows Movie Maker can upload videos directly to youtube. It asks you for your login and the resolution of the video, then it starts the upload(until here it's easy). When the upload finishes, a pop up asking what you want to do shows up(watch video, open folder, close).
  11. I was thinking about CAPTCHA these days... what if someone: 1- gets all of the CAPTCHA images from a site 2- find its answers 3- Store the pixel checksum of each image Then when he connects to the site, he just needs to make the pixel checksum of the image that appears and check the answer on his database. But I think this wouldn't work, otherwise any script kiddie could bypass a CAPTCHA system. But why?
  12. I will try to do that, thanks for the suggestion. I hope that's not the case I will try using IE UDF just to confirm this hypothesis.
  13. I know this sounds odd, but I couldn't think of anything else. I made a script that enters on a site and gets some info from this page. There are 92000 pages in total. After getting the data from exactly 300 pages, the script stops getting the data. Here is the code: #include <Excel.au3> #include <String.au3> #include <Array.au3> #include <INet.au3> $excel_read = _ExcelBookOpen("C:\Users\Macedo\Desktop\correct_links.xlsx") $excel_write = _ExcelBookOpen("C:\Users\Macedo\Desktop\info.xlsx") $line = 1 $name = "" While $line < 92480 $HTML = _INetGetSource(_ExcelReadCell($excel_read,$line,1)) $name = _StringBetween($HTML,'<title>',',') If @error == 1 Then $name = "Unavailable" SetError(0) Else $name = StringStripWS($name[0],4) EndIf _ExcelWriteCell($excel_write,$name,$line+1,1) $line = $line + 1 WEnd After 300 pages, $name is always set to "Unavailable", which means @error == 1. First I thought there was something special with page number 300, but that's not it. If I start getting info from, let's say, page 250, the script will work till page 550. Any ideas guys? Thanks in advance!
  14. You can use _IENavigate($ie,"Javascript CODE HERE"), or _IELinkClickByText($ie,"LINK LABLE HERE"). If this doesn't work and the button is always at the same place, you could use a MouseClick("primary",button_x,button_y)
×
×
  • Create New...