Hi,
The browser is expanded to full screen. Is it possible to determine the screen coordinates of a browser page ?
System.EmptyClipboard
SENDKEY( VK_SNAPSHOT )
// Wait to get hBitmap
hBitmap1 := 0
DO WHILE hBitmap1 = 0
LOCAL cStep1 := "Get-SmbServerConfiguration "
LOCAL cClip := " | CLIP "
LOCAL cRun := "PowerShell.EXE "
LOCAL cPara := "-ExecutionPolicy Bypass -Command "
LOCAL cFile1 := HB_DirBase() + "GETSMB.PS1"
nHandle := FCREATE( cFile1, FC_NORMAL )
IF nHandle == - 1
MsgInfo( "Error create File : " + cFile1, STR( FERROR() ) )
RETURN
ELSE
FWRITE( nHandle, cStep1 + cClip )
FWRITE( nHandle, CRLF + "EXIT" )
FCLOSE( nHandle )
ENDIF
cMore := cPara + cFile1
IF ShellExecute( 0, "open", cRun, cMore,, SW_HIDE ) > 32
nCount := 0
DO WHILE EMPTY( System.Clipboard )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 36 guests