Skip to content

Auto Refresh SER

adhaamehavadhaamehav egypt
edited April 2017 in GSA Search Engine Ranker
Hi 
i'm trying to implement a python script to auto refresh SER 
i read on some discussion that i have to use sendmessage(handle, 1042, 0,0)
the script:

import win32gui

gsa_hndl = win32gui.FindWindow(None, "GSA Search Engine Ranker v11.77")

#this return a numeric handler
#but when i try this line it returns 0 and nothing happen to ser

res = win32gui(gsa_hndl, 1042, 0, 0)
#res = 0

Any help please ?
thanks in advance





Comments

  • SvenSven www.GSA-Online.de
    you need to locate TForm1, not the main handle.
  • BShahinBShahin Egypt
    edited April 2017
    Thanks @Svern

    This code gives the right handle!

    win32gui.FindWindowEx (0,0,"TForm1",None)
Sign In or Register to comment.