
S3cret91
Members-
Posts
14 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by S3cret91
-
Hey, I created a button with multiline and vertical center text style. Works upon creating it. But when a different background color is assigned to the button, the vertical center style will disappear. See attached file. Then when the styles are set again, the backkgroundcolor will disappear. Is this a bug or limited by windows? Is there a possible workaround? button style test.au3
-
Hi, can the baudrate somehow be increased? I tried 2,000,000 and other values but they do not work, highest seems to be 256,000. But higher ones like 2,000,000 work fine in visual studio and processing. The connection itself is being established but the _CommAPI_ReceiveString method will time out.
- 116 replies
-
- COM portserial port
- RS-232
-
(and 4 more)
Tagged with:
-
I won't upload a new version right now, so everyone interested pls add it for yourself for now: 1. Enter this line in line 281: GUICtrlSetCursor(-1, 0) 2. Replace lines 250 and 251 with this: If $__callFunction <> "" Then $__notificationList[$__notificationCount][4] = GUICtrlCreateLabel("", 0, 0, $__notificationWidth, $__closingButtonTop - 1) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetCursor(-1, 0) EndIf
- 18 replies
-
- notification
- desktop notification
-
(and 1 more)
Tagged with:
-
You mean that the mouse gets the icon as if the mouse is hovered over a button? I could do that I guess.
- 18 replies
-
- notification
- desktop notification
-
(and 1 more)
Tagged with:
-
Helly friends of cool notifications. Got an update for everyone who is interested in some new stuff. Windows 10: Notifications will be colored as your taskbar by default. Change the taskbar color in windows settings and try it out. Windows 8/8.1: Notifications will be colored as the border color of your active window or if this kind of design is deactivated then black (as it was before) Windows 7 and earlier: Black notifications as before (sry but aero design is uncool) Big thanks to @nend for figuring that out. Check out his thread here. Also: Notifications will fade out if animationTime > 0 Call own functions when a notification is clicked (see _Notifications_Create parameters and the advanced example) Set own notification sounds using _Notifications_SetSound (mp3 or wav) Close all notifications using _Notifications_CloseAll And there is 1 change: _Notifications_SetTextColor is now named _Notifications_SetColor because it does not only change the text color but also border + seperating line. I also updated the examples, the GUIMsg and OnEvent example are now simplier and reduced to what matters. The advanced example shows what can be done using the Set-Functions. Have fun, please gimme feedback if you notice bugs.
- 18 replies
-
- notification
- desktop notification
-
(and 1 more)
Tagged with:
-
It also returns the windows border color.
-
Guess so too. But I did some research: Win 8/8.1 has 2 different colors: taskbar and window border color. Reading out the border (and title) color of windows is easy: Hex(RegRead("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM", "ColorizationColor"), 8) The taskbar color seems to be stored in a longer hex value, need to find out where the color is put.
-
Big thanks. I will do some tests on win 8 later and include it! E: Me again. Installed some vm's with Win 8 and 8.1 and for both it does not work. I checked the 8.1 registry and it looks like non of the entries exists. I may do some research tomorrow, but do you have any tips on how to find the entries? Nvm, found a way using regshot.
-
Ok, works now. So if you go to the color settings in win 10 and activate colors for taskbar, start site, info-center... it works. If it is not activated the the default color is used which is 0xD9000000
-
Yes, windows 10 The return value is correct according to what the function does, but seems like this registry setting doesnt always match the actual task color, for whatever reason.
-
Oh yeh right, aeroglass... I just tested your function and the return value does not fit the actual taskbar color for me. I have the standart dark taskbar (never changed since win install) which matches black with transparency 0xD9 (217) but your function returns 0x002642 as color for me which is a dark blue.
-
Nice work. What about previous windows versions? This would be cool for my notifications udf, but a working version for win 7/8/10 would be great.
-
Thank you. One thing that I forgot to mention: In the german AutoIt forum one member had issues with the animation being laggy in the example scripts (and me too for a short period of time, but not anymore). If anyone encounters this issue, please say it. And if someone has an explanation why this may happens: I'm open for advice Thats the plan
- 18 replies
-
- notification
- desktop notification
-
(and 1 more)
Tagged with:
-
Sers, while working on another project I was in need of desktop notifications. I wanted an own implementation and from time to time the code grew and I thought about sharing it with the world. I know that there is a similar UDF out there but when my project got bigger an UDF was the best choice for me. As you can see the UDF's differ in usage and style of notifications. So, what do we have? The UDF offers the usage of permanent desktop notifications for your own script in a very easy way. Notifications are starting in the bottom right corner of your main screen and will be shown on top until there is no more space. Further notifications will be shown if previous ones are closed. The notifications have a nice minimalistic design in two colors. By default they match the look of the dark taskbar in Windows 10, but colors and other things can be set differently if wished (see example scripts). The UDF works for GUIOnEventMode activated and deactivated and detects it automatically. Show me! Each notification has its GUI, a title, the message, a seperating line, date label, time label and a closing button (and if activated, a border around the notification). The color of the title, message, seperating line, date, time and closing button (+ border if activated) have all the text color. Right now notifications have a fixed size. I thought about variable sizes but did not add it because I didn't need it so far. Some people may notice the shorter seperating line when border is activated, thats just because of better looks Notifications will be colored as the following: Windows 10: they match the design of the taskbar Windows 8/8.1: On most designs: they match the border color of active windows, else they are black with transparency (see screenshot) Windows 7 and earlier: black with transparency (sry aero) How do I use notifications in my script? include UDF call _Notifications_Startup() (after you determined if you want to use GUIOnEventMode or not) If GUIOneventMode deactivated: call _Notifications_CheckGUIMsg($__GUIMsg) in your main loop create a notification using _Notifications_Create($__title, $__message) Between step 2 and 3 you can set various options: _Notifications_SetAnimationTime _Notifications_SetBorder _Notifications_SetButtonText _Notifications_SetBkColor _Notifications_SetColor _Notifications_SetDateFormat _Notifications_SetSound _Notifications_SetTextAlign _Notifications_SetTimeFormat _Notifications_SetTransparency You can also set own functions to be called when notifications are clicked (see advanced example). And now? You can find more information in the UDF. There also are two example scripts to show the usage for GUIOnEventMode activated and deactivated. Another advanced example shows the usage of the Set-Functions. Thats it? Yup, have fun. Changelog Notifications.au3 ( v1.2) Notifications GUIMsg Example.au3 Notifications OnEvent Example.au3 Notifications Advanced Example.au3
- 18 replies
-
- notification
- desktop notification
-
(and 1 more)
Tagged with: