![]() |
|
[Shell] Create a taskbar message bubble - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] Create a taskbar message bubble (/showthread.php?tid=3711558) |
Create a taskbar message bubble - Johnny Cache - Aug 23, 2013 Hello! If somebody ever wondered about how to do such a neat message bubble in Batch. Well, it isn't possible. However i found a way, with a little help of Powershell to create such a bubble. In the script there is a switch included that prevents it from crashing, most likely if you have your ExecutionPolicy set wrong. Well a little eye candy first: ![]() Here is the code of my version (used in the picture): And here a version with in-file editable lines: Have a nice day and keep koding 🤫🤝
* - SIM-1073426 - Aug 23, 2013 Nice share mate, This would be nice for sort of client which would say if someone was connected. * - Johnny Cache - Aug 23, 2013 (Aug 23, 2013 04:20 PM)Sons of Anarchy Wrote: Nice share mate, This would be nice for sort of client which would say if someone was connected. Or on a chat client which code checks by calling another program if the window is minimized or in the backround (afaik only possible in C) and then gives out the messages in the client but in those bubbles too. And thank you, i really appreciate your(/and everyones) opinion! * - WOLGA - Aug 23, 2013 Wow, Stochastic Drift, excellent job. Can you tell me what the "10" in Code loontip^(10<--This thing,"1337","R3Aldoes? * - Johnny Cache - Aug 23, 2013 (Aug 23, 2013 05:54 PM)Qwertyuiopasdfghjklzxc Wrote: Wow, Stochastic Drift, excellent job. From what i know it is the time how long that bubble is visible (like the TIMEOUT command). What i don't know: What format it is. EDIT: Looked it up, the format is SECONDS and the minimal value is 10 and the maximal value is 30 seconds until timeout. * - WOLGA - Aug 23, 2013 Any ideas how to fix this error? Code Your current execution policy is: RestrictedStraight from the prompt. EDIT: Nvm, my bad, forgot to run as admin. @OP, you should say that you will need to run as admin. * - Johnny Cache - Sep 3, 2013 (Aug 23, 2013 08:56 PM)Qwertyuiopasdfghjklzxc Wrote: Any ideas how to fix this error? Well i will fix it now... Thank you for that suggestion! 🤝 * - noname1012 - Sep 3, 2013 nice code it looks really good dude. * - WOLGA - Sep 3, 2013 Oh, sto, how did you get a [science] tag? * - Nakamoto. - Sep 3, 2013 This is pretty cool, I will have to include this in my next project. Thanks Lino :) * - White Light - Sep 4, 2013 (Sep 3, 2013 04:00 PM)Qwertyuiopasdfghjklzxc Wrote: Oh, sto, how did you get a [science] tag? Tampering the data when you post the thread. You just change the value when you post it. * - HyperHack1 - Sep 4, 2013 Nice share man, ill use this at some point! * - SIM-1073426 - Sep 4, 2013 (Sep 3, 2013 04:00 PM)Qwertyuiopasdfghjklzxc Wrote: Oh, sto, how did you get a [science] tag? Use inspect element to change the default value of the prefix. * - Johnny Cache - Jan 18, 2014 Little , might be intresting to see this in some projects :) * - annikk.exe - Jan 20, 2014 This is really cool! I can think of tons of applications where it would be useful to have these speech bubble tooltips popping up. Thanks for sharing. :> |