Results 1 to 5 of 5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Jun:2007
    Location: Varna
    Posts: 721

    Autohotkey - .

    . - Autohotkey, .
    "Sponsored session" Teamviewer, .
    :

    #Persistent
    #SingleInstance

    IfWinExist, Sponsored Session
    WinActivate
    WinClose

    WinActivate.
    , .
    , , .
    ?
    , ... .

    WinClose IfWinExist ( "else" ).
    :

    IfWinExist, Sponsored Session
    {WinActivate
    WinClose
    }
    ...

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    WinWaitActive.

    WinActivate .
    :

    ;--------------
    #Persistent
    #SingleInstance

    Loop
    {
    WinWaitActive, Sponsored Session
    WinClose
    }
    ;-------------

    , .
    , Loop

    SetTitleMatchMode, 2 ;to match partial titles

    #Persistent, .

    , , , , .

  3. #3
    Registered User
    Join Date: Jun:2007
    Location: Varna
    Posts: 721
    :

    ;---------------------------
    #SingleInstance

    Loop
    {
    WinWaitActive, Sponsored session
    WinClose
    MsgBox Sponsored session closed
    }

    ;---------------------------------

    Sponsored session, .
    ?
    , .
    , , .

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    . , Alt+F4 ..
    WinClose WM_CLOSE . .
    ,
    PostMessage, 0x112, 0xF060,,, Sponsored Session

    Alt+F4 . , ( WinClose) . WinKill , , . , WinClose Winkill , . .
    WinKill , "" , , - WinKill.

    - Session , . . class, ahk_class my_window_class . .
    Last edited by tedych; 19th January 2014 at 11:29.

  5. #5
    Registered User
    Join Date: Jun:2007
    Location: Varna
    Posts: 721
    Quote Originally Posted by tedych View Post
    . , Alt+F4 ..
    WinClose WM_CLOSE . .
    ,
    PostMessage, 0x112, 0xF060,,, Sponsored Session

    Alt+F4 . , ( WinClose) . WinKill , , . , WinClose Winkill , . .
    WinKill , "" , , - WinKill.

    - Session , . . class, ahk_class my_window_class . .
    . .
    Shift - , -
    , . WinClose.
    , ... .

    :

    ;----------------------------
    var1 = 0
    #SingleInstance force
    While True{
    ifWinExist , Sponsored session
    {
    WinActivate
    sleep, 50
    Send , {Enter}
    }
    }
    ;-----------------------------
    SingleInstance e "force", While True, .

    .
    Windows XP x64 , Win7 .
    , - ...
    - "OK" "Enter".
    WinWaitActive , , . , .
    , . ( 50). ,
    OS.
    .

    .
    Alt+F4 Sponsored session.
    var1 .
    Last edited by dian2n; 19th January 2014 at 22:44.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |