Jump to content

jvnorris

Active Members
  • Posts

    40
  • Joined

  • Last visited

About jvnorris

  • Birthday 08/23/1976

jvnorris's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Can someone please help me fix my script? I am running a bot for a game called outwar. Everything runs very well except after a while it reports a recursion error at times. I have been unable to figure out how to correct this. Assitance with a clean rewrite would be greatly appreciated. Code is attached Also I know I have prob alot of useless Includes but I dont belive that it is effecting my situation and its just a base template I use for all of my minor scripting. then I remove things before my final compile. Never Mind I found out what I did
  2. Sorry Sir I just get tired of little kids making comments that are of absolutly no value. This is a help forum if I am correct and If it was just a short thing to put together I would have never asked but it should be rather obviouse that what I want to do is more complicated then a script to click a link. This person needs to learn that if he wants to post in a help forum they should try to be helpfull. His response was just plain ignorant to the issue at hand and to me.
  3. Umm have you used both programs.. Are you even aware that an Imacro script could possibly be Hundreds of lines long. Not to mention the format of Imacros is rather different from Autoit Also I asked for an EASY way to convert for a reason. Also it may not even be wholly possible to do this. I came asking for help not wise@ss comments. Unless you know how to Program IE automation scripts and Imacro scripts and have some experiance to know how easy it is then be quite. If you DO know what the Imacro equivilent to Autoit functions then please be helpful and not an @sshole and provide some insight.
  4. Is there a way to convert FF I macros inot Autoit IE form. I have some macros in Imacro THat I want to be able to use the same forms and modify more effectivly in AUtoit. I macros seem very basic but still powerful. Anyone knwo of an easy way to convert them?
  5. To the "addy" question He means can you ping the addresses from that network. The first common issue I see is anything you have connected to the "Orange" Network fails. Tha points to something in that networks config that may be blocking you. As for the first scenario with comp 2. What happens if you wait a bit and then try to downlaod again latter. without switching networks. Also are all of these systems going through 1 router to get to the file. It may be a block to keep too many threads from downloading from the same IP. On the network what are the IP addresses you are using and what are they as seen by the world. This would be step one in my opinion. If you are going through 1 router and using the same IP. That may be your problem. Also the issue with the Orange router. Something in that config is blocking you totally it looks like becasue nothing can download through there. At least that is what I get from your descriptiojn.
  6. Also Does it Consitantly fail on one network and not the other. If you try multiple times on the one network does it eventually go through or does it always fail on that network until you change it. There are still to many variables to consider in this instance. more detail is needed.
  7. What is the differences in the internet connections? Depending on service providers and such the provider may be blocking what you are trying to do.
  8. Thinking back on this more. I honestly am glad it did not work. Providing this kind of information to bypass this type of security could be poorly mistreated. It is best if the users security does not allow it they should choose if they want to access the page or not. You should not choose for them. Sorry
  9. Proper use of the get pixel option for Hex Taken from the help file $var = PixelGetColor( 10 , 100 ) MsgBox(0,"The decmial color is", $var) MsgBox(0,"The hex color is", Hex($var, 6)) Basically you are using it wrong As in the example given in the help file. Assign the return to a variable then test that variable. You will be safer checking it against the Decimal value anyway
  10. Maybe you have a friend that can translate your Idea a little better into English. Short of directing you to the SQL help page there is little we can do for you. This is predominatly an English speaking site.
  11. Prob Easier way to explain the solution. When you open the IE window there is an option/flag (0 or 1) that tells the script to wait. Use the option to continue processing immediatly (dont wait for the page to load which is the deefault action) Then you can add a a function to look for the security popup window (a winget handle or the like should do, even cheaper a winactivate) then you can close the pop-up. Maybe put a short pausse afterwards. Sample _IECreate ("www.autoitscript.com",0,1,0) <== That last zero is the switch that tells it to continue immediatly to the next phase and not wait for the page to complete loading If WinExists("TITLE OF POPUP WINDOW HERE") Then <== Check for the popup WinActivate("TITLE OF POPUP WINDOW HERE", "") <== Activate popup window Send("{ENTER}") <=== Press the default Key on the popup (I am assuming that is OK) EndIF Sleep(2000) <==If the popup does not show then rest a little while the page finishes loading REST of script This is kinda quick and dirty method I'm sure there amy be cleaner ways. but this should get the job done
  12. You are a god .. Thank you so much. Its not exactly want i wnated but it is an effective workaround
  13. OK I have a multiline text field that looks like DESCRIPTION: STORE ACTIVITY: TIME PERIOD: 0 hours until open blah blah blah I can pull the thing nicely from the database but what I want to do is place a marker that after it is ran a variable would be entered something like DESCRIPTION: $Descinput STORE ACTIVITY: TIME PERIOD: 0 hours until open blah blah blah where $Descinput would be data provided by the user. I tired all manners of escaping the thing in the database and cant figure out what to put in the database itself to enable a variable that will be provided later. Every time I run the query i just get back exactly what is in the database. Is this even possible? Please help This is the sample of my query from the script #include <SQLite.au3> #include <SQLite.dll.au3> $Database = "clientassist.s3db" $temp = "'General'" $Description = "Testing1234" _SQLite_Startup() _SQLite_Open($Database); open Database _SQLite_Query(-1, "Select template from TEMPLATES where TemplateType = " & $temp & ";", $hQuery); the query While _SQLite_FetchData($hQuery, $aRow) = $SQLITE_OK $_Queryresults &= $aRow[0] ;$_Queryresults &= "|" WEnd _SQLite_Close() _SQLite_Shutdown() MsgBox(0, "Test", $_Queryresults)
  14. Once again another odd request. I need to find out what version of outlook is running at the time a function in my script is called. It would be nice and simple if we just had one version or the other of outlook but in our department it can be either 2003 or 2k7 and for some god awful reason some computers have both (dont ask why its not worth expalinng). Is there a way to pull the version of the runnig app. My other alternative would be to search for the ribbon (which does show under visible text) and go by that but I would like to go by the actual version of outlook itself as the ribbon may be showing in another app also. The only thing I have found so far is filegetversion stuff but it does not show anything for grabbing version infor for a running app.
  15. THe best option which is what I have learned to do. Very first thing when you are about to butcher an existing script just save it with a name like testblahblahblah . Just makes life easier and this does not happen. I got used to this after the first three times or so of losing my originals
×
×
  • Create New...