Jump to content

Search the Community

Showing results for tags 'winmove problems'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello everyone, I've got a problem when i runing this script - somehow the second window is not moving... I don't know why, can any one help ? script is runing program and trying to sort windows on the desktop... ; СОРТИРУЕМ ОКНА... ;#NoTrayIcon #RequireAdmin #include <Constants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <Misc.au3> #include <WinAPI.au3> #include <File.au3> #include <EditConstants.au3> #include <GUIConstants.au3> #include <Date.au3> #include <String.au3> #include <Inet.au3> #include <Misc.au3> Global $NM = 0, $YO = 1 Global $shirina = 201 Global $visota = 200 Global $otstup = 20 $go = _FileCountLines('Looky.ips') for $i=0 to $go-1 Step 1 Run("Looky.exe") WinWait("BiT-Looky-"&$i) sleep(2000) Next WinWait("BiT-Looky-"&$go-1) ;MsgBox(0,"","go") if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+10, 5) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina+10, 5) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*2+10, 5) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*3+10, 5) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*4+10, 5) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*5+10, 5) $NM = $NM + 1 endif ;~ ;;;;;;;; if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+10, 5+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina+10, 5+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*2+10, 5+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*3+10, 5+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*4+10, 5+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*5+10, 5+$visota) $NM = $NM + 1 endif ;~ ;;;;;;;; if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+10, 5+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina+10, 5+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*2+10, 5+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*3+10, 5+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*4+10, 5+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*5+10, 5+$visota+$visota) $NM = $NM + 1 endif ;~ ;;;;;;;; if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+10, 5+$visota+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina+10, 5+$visota+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*2+10, 5+$visota+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*3+10, 5+$visota+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*4+10, 5+$visota+$visota+$visota) $NM = $NM + 1 endif if WinExists("BiT-Looky-"&$NM) then WinMove("BiT-Looky-"&$NM, "", $otstup+$shirina*5+10, 5+$visota+$visota+$visota) $NM = $NM + 1 endif ;WinMove("BiT-Looky-1", "", $otstup+$shirina+10, 5)
×
×
  • Create New...