Giter Site home page Giter Site logo

multimonitors's Introduction

简介

一个aardio的自定义库,用于获取多个屏幕的大小、位置等信息。 获取屏幕信息的源码参考了标准库sys.monitor,做了精简处理,仅保留了最核心的代码。 由于通过调用WinAPI来实现,如果在导入此库时报错,请先导入raw库。

用法

将源码放在工程目录下,使用下列代码导入即可:

import multiMonitors;

具体调用方法请参考语法智能提示或源代码。

代码示例

multiMonitors.getSize(0,true);
/* 获取主屏幕的大小,返回宽度和高度。
参数1为屏幕编号,0为主屏幕。
参数2为true表明获取到的区域大小是扣除了任务栏的。*/

multimonitors's People

Contributors

xenon2333 avatar

Stargazers

Kristin Abe avatar

Watchers

 avatar

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.