GithubHelp home page GithubHelp logo

pa-0 / winfoc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from b1g-fungus/winfoc

1.0 0.0 0.0 52.44 MB

Program to track the time a window is focused

License: Other

C++ 95.57% C 1.15% QMake 3.28%

winfoc's Introduction

winfoc v1.0

Welcome to winfoc, an open source program to track how long a window has been focused for.

The binary can be found in the "release" folder in the form of a ".exe" file. It should work with Windows 7 or above.

The source code can be found in the "src" folder. If you are on Windows, you can use the Qt IDE to compile the code. If you are on linux, you can use M Cross Environment (https://github.com/mxe/mxe) to compile it for Windows. You can find an in-depth tutorial on (https://mxe.cc/#tutorial), but here are the basic steps:

  1. Make sure you have all the required packages installed (the list can be found on (https://mxe.cc/#requirements))
  2. Clone the repository with git clone https://github.com/mxe/mxe
  3. Go into the directory with cd mxe
  4. Run make qtbase to build the libraries
  5. Go into your source directory
  6. Add the mxe tools to your path with export PATH=/<path-to-mxe>/usr/bin:$PATH
  7. Run mxe's version of qmake with <path-to-mxe>/usr/i686-w64-mingw32.static/qt5/bin/qmake
  8. Run make
  9. The executable can be found as src/release/winfoc.exe

winfoc's People

Contributors

b1g-fungus avatar

Stargazers

Peter Abbasi 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.