Git Product home page Git Product logo

notify_class's Introduction

Notify_Class

Notify - This class makes it easier to create and display notification GUIs.

Requirement

  • AutoHotkey v2

How to use it?

  • The file "Notify.ahk" contains the documentation and examples.

License

  • MIT

myImage

notify_class's People

Contributors

xmcqcx avatar

Stargazers

Mesut Akcan avatar  avatar the legend avatar Alex avatar  avatar Espen avatar Kajan avatar smithart avatar xMaxrayx avatar Tomshi avatar  avatar  avatar Jay avatar

Watchers

Scott Rhamy avatar  avatar

notify_class's Issues

Additional 2 positions request

Thanks for a great tool and I respectful request this feature.

I wanted to have ability to have 2 additional positions, lc=left center, and rc=right center. haven't pieced through the multi-monitor code to make sure this is accurate, but something like....

      case 'lc': 
      {
        if minMaxPosY = monWATop
          gPos := 'x' monWALeft + m['padX'] ' y' (monWATop + (monWAheight / 2) - (gH / 2)) + m['padY']
        else
          gPos := 'x' monWALeft + m['padX'] ' y' (monWATop + (monWAheight / 2) - (gH / 2)) + this.padH
      }

      case 'rc': 
      {
        if minMaxPosY = monWATop
          gPos := 'x' monWARight - m['padX'] - gW ' y' (monWATop + (monWAheight / 2) - (gH / 2)) + m['padY']
        else
          gPos := 'x' monWARight - m['padX'] - gW ' y' (monWATop + (monWAheight / 2) - (gH / 2)) + this.padH
      }

Notify's not adhearing to positioning

Hey hey!
I haven't had much in the way of time to look into what could be causing this issue (super busy with work lately, I'm so sorry) but ever since the last round of changes to your class it seems like they can sometimes no longer adhear to the defined positioning. If I use them by themselves in a test script all seems to work as expected but having them fire in an actual script seems (in my case) to have them appear in the center of the screen instead of the defined BR.

here is a screenshot of it appearing in the center of the screen

and this is the line that calls it; [447]

Notify.Show(, 'A save attempt is being made. Inputs may be temporarily blocked', 'iconi',,, 'POS=BR TC=black MC=black BC=DCCC75 DUR=4 show=Fade@250 hide=Fade@250')

this is a screenshot of another one working just 20 lines earlier as expected

and the line that calls it; [419]

Notify.Show(, 'Premiere save not required, cancelling...', 'iconi',,, 'POS=BR TC=black MC=black BC=75AEDC DUR=2 show=Fade@250 hide=Fade@250')

It might not be much help to you but this is my script I've been noticing it in but as it relies on a whole lot of other code it might not do much for you in tracking down what might be causing this.

I tried moving it up line by line to see where it broke and it seems that as soon as I put it under line [439] is when it breaks which seems a little strange because it's not really doing anything that I would expect to cause any issues (esp bc it happens even if the function immediately terminates and doesn't even hit the loop or anything.

Let me know if there's anything more I can do/provide to help you track down what could be causing this, I'm super appreciative of all the work that has gone into this project! And if this is purely my own doing and I'm missing something obvious please feel free to tell me, I'm a self taught script kiddie just doing his best hahaha

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.