Jump to content

skylark

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by skylark

  1. I am a complete beginner. There is a webpage with a drop down menu, which has 20-30 choices. After clicking on any choice, a page of information is shown, which I want to save to disk. Can AutoIt deal with the dropdown menu and go through all the options it offers please? How would I program this please? Thanks
  2. I am an AutoIt newbie I have a large directory (OLD) of documents and other files from my old computer, which includes many different nested sub-directories, and another similar large directory (NEW) on my new computer. I want to merge them together so that nothing is lost. If for example there are two folders with the same name, I want the files from the OLD folder to be copied into the NEW folder. If there is already an NEW file there with the same name as the OLD file, then I want OLD appended to the OLD file name before copying. The successfully copied OLD files and folders are to be deleted from the OLD directory (so that I can check that everything has been copied, and in other words they are moved rather than copied). Would it be feasible to write this in AutoIt, or would it require a huge amount of coding? To save re-inventing the wheel, has anyone written something like this already please? Is there some simpler way of doing this that would save me many hours of coding please? As far as I know the problem with using something like Xcopy would be that it could only overwrite duplicate file names. Thanks
  3. By coincidence, i wanted to ask almost the same question. I am also new to AutoIt I understand about the splashtexton(), but I'm worried about the sleep 1000 part beneath it in the example code given. Does this mean the program will freeze during that time? I am writing a program which will probably take a long time to execute. I wanted to display "X% completed" on screen without requiring the user to click OK over and over again. I had hoped that "X% completed" would be displayed on screen while the computer got on with its calculations. Will this in fact happen, or does AutoIt close the display box as soon as it moves on to the next command please? I miss the days of good old GWBasic, when everything happened in the same window.
  4. Thanks. Would it be possible to get the editor to add the $s before saving the script I wonder?
  5. Thanks. That is a disapointment - it requires a lot of extra typing and hassle. GWBasic would I presume deduce that if something was not a keyword then it must be a variable - why does not AutoIt do the same? The editor seems to have no problems doing this. I also see that it will not let me write "next $position" but only "next" - which could cause confusion with nested nexts.
  6. I've searched through the AutoIt help file, and I've searched through this forum without finding an answer. Please could someone tell me why I get a "missing seperator character after keyword" error in the line below? for position = ( 0 + stub ) to seglength step gap What is the key word, and what would the missing character be? I spaced out the text with spaces around the = and + and (), still get the error. This is the first ever piece of coding I've done with AutoIt; previously I would use GWBasic. The line above is part of an algorithmn I am trying to create/test, the full text of what I typed into the editor is appended below. Thanks stub = 0 seglength = 24 gap = 5 for position = ( 0 + stub ) to seglength step gap ; dosomething stub = seglength - position next position MsgBox(0, "stub", stub)
×
×
  • Create New...