Notify - This class makes it easier to create and display notification GUIs.
- AutoHotkey v2
- The file "Notify.ahk" contains the documentation and examples.
- MIT
Notify - This class makes it easier to create and display notification GUIs.
Home Page: https://www.autohotkey.com/boards/viewtopic.php?f=83&t=129635
License: MIT License
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
}
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.