Jump to content

Kairu

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Kairu

  1. Sent you a PM. I also found something which I think you will want to change. It's in the PM.
  2. MozDev recieves commands as strings, and in FF.au3 the majority (All which I have looked through) are executed in javascript. Such a mouse clicks and keyboard commands. Basically, I have tried the only real way possible (There are other variations but I cant think of them all) [nameOfFrame].document.content.find("REFRESH") Or things like content.frames[1].document.find("REFRESH") But it was suggested on another forum that the reason it is not working is because of the secutiry in Firefox, which does not allow javascript in one domain to execute functions on another domin, within a frame. If that makes sense. Basically, if you run it and both the main website and the frames website have the same domain "myspace.com" it will work, but since they are hosted on different domains, the main being myspace.com and the frames contents being on msappspace.com firefox will not let the functions to be run.
  3. Using this thread and script to automate firefox, I have the basic idea down on what to do. I can get automation going within regular websites, click links, send text, log in. The basics. But I am having trouble with the apps on myspace. It seems most of the things sent through are as javascript, which to my understanding cannot effect something within a frame when it is from a different domain. Does anyone know of a way around this, or something that could be used instead? I have tried some different things, but they all had to do with the Javascript. And I am not sure on any way I can turn off the security which is preventing cross domain javascript. Any help would be greatly appreciated. ~Kairu
  4. Ok, I see that you added the frame support, but there is no documentation and I cannot seem to get it to work. I decided to use it on one of my old myspace bots, and I tried to change it from using my old method of having the window sized exactly and hidden, and using the control commands. I can get into the app perfectly, easier then the hours it first took me, but when I get to the app window, and it pulls up the app's frame, I cant get into it. I am simply searching for a term inside it the frame "REFRESH" in this case, and trying every single frame ID possible. Something like this: MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket, 1) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,2) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,3) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,4) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,5) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) But the clicks do not happen and the search always returns false. Any ideas?
  5. ChildWindowFromPoint Aparently does not exsist in autoit. WinGetClassName does not exsist either..... Closest thing is WinGetClassList and it does not display the instance numbers. What I really want to do is mimic the ClassNameNN field which is shown in Autoit Window Info one way or another. I'd love it if it could be found out while the window is hidden but it is not necessary. Is there no way to get this?
  6. The first says it returns the handle (Which I have already) but I need the ClassnameNN of the area which the pixel is. I cant make my script work all the time, because the instance number changes depending upon a few different reasons. I am using one of the two I see most often at the moment, but I want it to work all the time. So I need the ClassnameNN.
  7. Ok, I am trying to use firefox for a web script. I know its not the best choice, but the page I am using does not have any names or ID's, and I had already scripted the entire thing for firefox. So, I have everything down, except selecting the proper classnameNN, because firefox seems to have different ones depending on which order it has been opened in. I want to be able to find the class name for a specific x and y axes on the window, or even see all the class names for that window, because firefox seems to have pretty specific numbers used for its interface, and anything else is the webpage display. Anyone have any ideas? I couldn't find anything scrounging through the help files or google.
×
×
  • Create New...