Jump to content

babyjoe

Members
  • Posts

    9
  • Joined

  • Last visited

babyjoe's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Yes! So, somehow getting the handle also does something similar like putting the control in focus?
  2. I've run into something peculiar, which I haven't been able to find more info on with the search. The issue is a dropdownbox-control which I want to click, in a .NET program. The Class changes for everytime it is run. When I do a normal ControlClick, nothing happens and it exits with 0. I tried ControlClick referencing the control with [NAME:] and/or with [TEXT:] but that does not work. However, if right before the ControlClick, I do a ControlGetHandle statement, then the ControlClick will suddenly work after all... The window title stays the same, and there is only 1 control with that text. Example: ControlClick("Navigator","","[TEXT:Raster]") does not work. Returns with 0. ---- ControlGetHandle("Navigator","","[TEXT:Raster]") Returns with 1. ControlClick("Navigator","","[TEXT:Raster]") works and returns with 1. Why is this happening? I'm glad it works, but I get the feeling I'm doing something in a wrong way.
  3. This is the output of the systraylist function: Connections Tray Connections Tray Connections Tray Connections Tray Connections Tray ZoneAlarm Pro Norton AntiVirus Creative Volume Control Icons I have: 1.Msn live messenger 2. network 3.zonealarm 4.Norton 5.sound 6.clock I don't know what TrayConnections is. As you see, Messenger does not appear. When I use the WindowInfo tool, all programs have a title, except Messenger, it is empty (while in tray), but it has a class 'MSNHiddenWindowClass'. The only thing I know is its PID. What is the next step? Seems a tough one this.
  4. It seems that I do not have 'systray.au3', I can not find it on the website either?
  5. Windows Live Messenger. The only way to get it fom systray is rightclick it, and order it to open (it keeps connected while minimized). I have seen systray udf, but it is much too complicated for me, I can not sort out the functionality I need.
  6. Hello, I want to maximize a program running in systray (Messenger). I already have code to see if it's running, and get it's PID. But I can not get it from systray to screen. WinActive and WinSetState do not achieve anything. I couldn't find similar problem with the search function. Please help.
  7. Browse through all links on a page (they do not link to other physical pages, they are DB generated) I have come up with the following, but I have one caveat. I used Firefox, because you can use the cursor to select text, however, when you push the back button, you are back, but the link you clicked is not selected (in IE, when you go back, the last link you clicked is the active item). If I could make FF select the last visited link, I could keep using the down button to go to the next link. Now I have to keep a counter that tracks how many times I went down, and add 1 Hotkeyset('{F9}', 'Zoek') While 1 sleep (100) wend Func Zoek() Opt("WinTitleMatchMode", 2) send("{DOWN}") sleep (50) send("{ENTER}") sleep (50) send("^F") sleep (50) send("^a") sleep (50) send("{SHIFTDOWN}") sleep (50) send("{END}") sleep (50) send("{SHIFTUP}") sleep (50) send("^c") sleep (50) WinActivate("WordPad") send("^v") sleep (50) send("{ENTER}") sleep(50) WinActivate("Firefox") EndFunc
  8. I forgot to say, but significant: it is a HTTPS site, so you can not save it, so I think keystrokes are the only option. Are there any other browser helper software around that can automatically select the next link?
  9. Hello, I would be happy with some advice on my project: Purpose: I have to make a crawler that searches 1 single internet page, and visits every link on that page. Then, I just need to copy-paste the content from that visited link into a DB file. Back again to central page, visit next link. I have some mediocre programming skills in Java, but have just discovered AutoIt. It seems to me that the simplest thing to do, is passing keystrokes to the browser, especially for the copy/paste. However, this is my problem: How can I direct the browser to the next link?? 'Tab' doesn't work as an advancing keystroke, so I do not know how to extract the links. Should I try to find out what pixels are blue (only the hyperlinks are blue) and try to click those pixels? Is there anyone who has had a similar project and has some advice? Thanks!
×
×
  • Create New...