Jump to content
Sign in to follow this  
marabunta

ControlGetText = NULL?

Recommended Posts

marabunta

While 1
   $var = ControlGetText("[CLASS:WindowsForms10.STATIC.app.0.378734a; INSTANCE:1]","termsrv.dll is patched","2756042")
   Sleep(300)
   MsgBox(0, "VAR", "Value is $var" & @CRLF & $var)
   If $var = "termsrv.dll is patched" Then
      WinClose("[CLASS:WindowsForms10.Window.8.app.0.378734a]")
      ExitLoop
   EndIf
WEnd

The MsgBox has no value for $var, so controlgettext returns null?

>>>> Window <<<<
Title:    Concurrent RDP Patcher
Class:    WindowsForms10.Window.8.app.0.378734a
Position:    523, 29
Size:    290, 236
Style:    0x16CB0000
ExStyle:    0x00050180
Handle:    0x00211262

>>>> Control <<<<
Class:    WindowsForms10.STATIC.app.0.378734a
Instance:    1
ClassnameNN:    WindowsForms10.STATIC.app.0.378734a1
Name:    Label2
Advanced (Class):    [NAME:Label2]
ID:    2756042
Text:    termsrv.dll is unpatched               #### This text changes, but the script doesnt notice?!
Position:    14, 39
Size:    118, 13
ControlClick Coords:    41, 3
Style:    0x5600000D
ExStyle:    0x00000000
Handle:    0x002A0DCA

Share this post


Link to post
Share on other sites
Jos

What program is giving this feedback?

By the way: I am not so sure this topic is legally sound..... is it?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
marabunta

it may be a patch to single rdp for windows 7.

Concurrent RDP Patcher is giving the feedback

Edited by marabunta

Share this post


Link to post
Share on other sites
PainTain

@Jos: Well, he already posted this on the german forum.

And this program he is trying to automate replaces a DLL to enable a feature in Windows which is (normally) only for the server version of Windows.

Which kinda violates the license terms of Windows, I think.

Edited by PainTain

Share this post


Link to post
Share on other sites
abberration

PainTain, I looked up the app and ran it myself. The description says it is to enable multiple simultaneous logins with RDP in Windows 7 Home. That doesn't sound like anything bad.

Edited by abberration

RAID Calculator | Software Installer

The truth has been suppressed since the dawn of time.

Share this post


Link to post
Share on other sites
Jos

The question at hand is not about something being bad or not but simply: Is this Patch or also called Hack in violation with Microsoft's EULA.

Reading up about it, it seems it is which to me means this topic is in violation of our forum rules.

Closing this topic as such unless somebody proves this is legitimate.

Jos

Edited by Jos
  • Like 1

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×