Hicham_777 Posted February 28, 2024 Posted February 28, 2024 ToolTip("This is a tooltip", 100, 100) ToolTip("This is a tooltip", 200, 200) Sleep(5000)
Musashi Posted February 28, 2024 Posted February 28, 2024 (edited) No, the ToolTip function only allows one display at a time. As soon as you call ToolTip again, the content (and position) of the previous call will be reinitialized. Edited February 28, 2024 by Musashi typo SOLVE-SMART 1 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
SOLVE-SMART Posted February 28, 2024 Posted February 28, 2024 (edited) Hi @Hicham_777, I guess not if you want to stick to ToolTips. What do you want to achieve? More context please. Best regards Sven Edited February 28, 2024 by SOLVE-SMART ==> AutoIt related: 🔗 GitHub, 🔗 Discord Server Spoiler 🌍 Au3Forums 🎲 AutoIt (en) Cheat Sheet 📊 AutoIt limits/defaults 💎 Code Katas: [...] (comming soon) 🎭 Collection of GitHub users with AutoIt projects 🐞 False-Positives 🔮 Me on GitHub 💬 Opinion about new forum sub category 📑 UDF wiki list ✂ VSCode-AutoItSnippets 📑 WebDriver FAQs 👨🏫 WebDriver Tutorial (coming soon)
Solution Popular Post KaFu Posted February 28, 2024 Solution Popular Post Posted February 28, 2024 Here's a workaround using external processes. #pragma compile(AutoItExecuteAllowed, true) For $i = 1 To 10 _ToolTip_Separate_Process("Test ToolTip " & $i & @CRLF & @CRLF & @CRLF & "Test ToolTip " & $i, 2000, 50 * $i, 50 * $i) Sleep(500) Next Func _ToolTip_Separate_Process($sText = "ToolTip", $iSleep = 2000, $iX = Default, $iY = Default, $sTitle = "", $iIcon = 0, $iOptions = 0) Run(@AutoItExe & ' /AutoIt3ExecuteLine "sleep(' & $iSleep & ' + ToolTip(''' & $sText & ''',' & $iX & ',' & $iY & ',''' & $sTitle & ''',' & $iIcon & ',' & $iOptions & '))"') EndFunc ;==>_ToolTip_Separate_Process SOLVE-SMART, Danyfirex, Musashi and 2 others 5 OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
Andreik Posted February 28, 2024 Posted February 28, 2024 After all it's just a simple GUI, you can create your own custom tooltips.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now