Giter VIP home page Giter VIP logo

ahk_windy's People

Contributors

hi5 avatar hoppfrosch avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ahk_windy's Issues

Windy: Property scale[] for proportional Resizing when moving monitor

When moving a window from one monitor to another, the size and position of the window on the new monitor should be adapted according to the proportions of the new monitor .

Therefore a new property scale should be introduced to Windy which calculates the scaled size and position of the window in dependency of the new monitorId.

Windy: new method moveBorder()

Method movePercental() has four parameters:

  • xfactor for scaling the x-coordinate of the window relative to monitor size
  • yfactor for scaling the y-coordinate of the window relative to monitor size
    • wfactor for scaling width of the window relative to monitor size
    • hfactor for scaling the height of the window relative to monitor size

Currently the factors do have to be in the range between 0% to 100%. This means that all coordinates/dimensions of the windows are changed. It is not possible with this function to move the window for example to the left border, keeping the current size of the window.

Expand the functionality to keep some factors constant!

???: Restore WindowSettings on Process-Generation

On creation of a process the opened windows should be restored to predefined settings (for example window size & position)

Idea taken from: http://ahkscript.org/boards/viewtopic.php?f=5&t=9169

``#Persistent
winmgmts := ComObjGet("winmgmts:")
createSink := ComObjCreate("WbemScripting.SWbemSink")
ComObjConnect(createSink, "ProcessCreate_")
interval := 1
winmgmts.ExecNotificationQueryAsync(createSink, "SELECT * FROM __InstanceCreationEvent WITHIN "
. interval . " WHERE TargetInstance ISA 'Win32_Process' AND TargetInstance.Name='notepad.exe'" )
return

ProcessCreate_OnObjectReady(objWbemObject, objWbemAsyncContext)
{
WinMove, % "ahk_pid " objWbemObject.TargetInstance.ProcessId,, 100, 200, 300, 400
}``

WindLy: Methods for Operations (Set-operations, Insert, Remove ...)

New Methods to be implemented:

  • Simple Operations
    • Insert() - Insert a new Windy-Instance
    • Remove() - Remove a Windy-Instance
  • Set Operations (see: http://en.wikipedia.org/wiki/Set_theory)
    • Union
    • Intersection
    • Set difference
    • Symmetric difference

This is a base to perform actions (to be implemented) on a dedicated set of windows. This set of windows should be easily to construct using WindLy (for example: Close all windows on monitor except the currently active window)

Mousy: Enhance mouse-movement functionality

Implementation of several enhancements concerning programmatic mouse movement:

  • Modes on programmatic movement:
    • "Jumping" - mouse jumps from start to end position
    • "Linear" - Mouse follows a straight line when moving to another position
    • "Curve" - Mouse follows a curve when moving to another position
    • "Random" - Mouse follows a random curve when moving to another position
  • Properties for controlling programmatic mouse movement
    • movespeed - movement speed applied on next programmatic mouse move
    • movemode - movement mode applied on next programmatic mouse move

WindLy: Inverse of current list

Implement method inverse() to invert the current list: create a new list that contains all elements which have not been part of the previous list

Migration from AHK_EDE

AHK_Windy is split of from AHK_EDE. Several preparing work has to be done to make the split work again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.