spacebanana Posted January 12, 2023 Share Posted January 12, 2023 Hi everyone, So i have this weird, utterly inconsequential problem but I was wondering if anyone knew how to fix it. I'm using #pragma compile(Icon, C:\Users\eagosta\Documents\Max_GUI\watchdog.ico) so that my compile script has a nice little icon. Problem is, while it does work no problem and the icon shows up in the task bar when running the script as well as the top-left corner of the GUI window, it simply just does not want to display in the Windows Explorer window. I don't really need to fix that problem but figured I'd ask if anyone has seen that before and how to fix it as it is kinda bugging me. Thanks! In the Explorer: Yet when I run the script: Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted January 12, 2023 Developers Solution Share Posted January 12, 2023 (edited) This is likely your cache playing up here and should be fixed after reboot or Explorer restart, assuming the file really contains the ico. This can easily be checked with ResHacker. Edited January 12, 2023 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted January 12, 2023 Share Posted January 12, 2023 Hi @spacebanana, in case @Jos answer would not lead to the expected behavior, you also could try: #AutoIt3Wrapper_Icon=C:\Users\eagosta\Documents\Max_GUI\watchdog.ico as an alternative to the "pragma" 😀 . Maybe this helps too. Best regards Sven Stay innovative! 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) Link to comment Share on other sites More sharing options...
Developers Jos Posted January 12, 2023 Developers Share Posted January 12, 2023 4 minutes ago, SOLVE-SMART said: as an alternative to the "pragma" 😀 . Maybe this helps too. Only works when the Full SciTE4AutoIt3 version is installed! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted January 12, 2023 Share Posted January 12, 2023 1 minute ago, Jos said: Only works when the Full SciTE4AutoIt3 version is installed! Oh really? That's new for me. Thanks for mention this! I always had installed the full version. Interesting, thanks. Best regards Sven Stay innovative! 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) Link to comment Share on other sites More sharing options...
Developers Jos Posted January 12, 2023 Developers Share Posted January 12, 2023 Well... the directive's name is a sort of give-away: #AutoIt3Wrapper_ Which mean AutoIt3Wrapper.au3 is required to be used as the shell around Run/Compile! ... and Autoit3Wrapper come with the Full SciTE4AutoIt3 installer. That is why this isn;t mentioned in the AutoIt3 helpfile where #Pragma is. SOLVE-SMART 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted January 12, 2023 Share Posted January 12, 2023 3 minutes ago, Jos said: Well... the directive's name is a sort of give-away: #AutoIt3Wrapper_ Which mean AutoIt3Wrapper.au3 is required to be used as the shell around Run/Compile! ... and Autoit3Wrapper come with the Full SciTE4AutoIt3 installer. That is why this isn;t mentioned in the AutoIt3 helpfile where #Pragma is. Makes totally sense!Best regardsSven Stay innovative! 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) Link to comment Share on other sites More sharing options...
spacebanana Posted January 24, 2023 Author Share Posted January 24, 2023 I know it's late, but @Jos you were indeed correct in that a simple reboot fixed the issue Also thanks for the tip regarding #pragma and #AutoIt3Wrapper! Link to comment Share on other sites More sharing options...
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