sl23 Posted Monday at 01:57 PM Posted Monday at 01:57 PM I've been trying to update the code for this using GitHub AI, all good, the app has been correctly updated to conform to the changes. It works as expected to. My only issue is that I want the splash screen to show when launching apps with it. Copilot said to test with this script to see if the code is wrong or something else: SplashImageOn("Test", @ScriptDir & "\graphics\x-splash.jpg", 307, 213) Sleep(2000) SplashOff() The result was that the code is correct and the possible issues were: Quote This is a crucial clue! If this minimal script does not show the splash image, the problem is: Not in your code logic Not in the INI file But with one of: The image file itself (invalid or unsupported format for AutoIt v3.3.16.1) The runtime environment (permissions, display) The way AutoIt handles that image in newer versions (e.g., JPEG format, color depth, encoding) The file is attached below, but could you tell me where I can find more info about what images are accepted, are there any changes in supported images, sizes, formats since AutoIT v3.2.12.1? Does AutoIT no longer support this sort of thing? How do I proceed with trouble shooting this if the code is correct? Thank you.
Developers Jos Posted Monday at 02:23 PM Developers Posted Monday at 02:23 PM (edited) How are you running this code? Are you sure about the path to the graphics file is correct? EDIT: the code works fine: Edited Monday at 02:28 PM 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.
sl23 Posted Monday at 03:42 PM Author Posted Monday at 03:42 PM (edited) Thanks. I managed to solve it. It was a lot of code changes required. I got the AI to find the issues and everything got resolved. Only issue now is user images not showing. But I'll see how I get on with AI first. It's actually pretty accurate most of the time, just gets lost when dealing with multiple files in a project at times. No idea why that wouldn't work for me though?! Yes, paths, sizes, everything checked and double checked. Edited Monday at 03:43 PM by sl23
Developers Jos Posted Monday at 04:53 PM Developers Posted Monday at 04:53 PM (edited) Ok... So I try to help you and you trust AI better.... Good luck with that! ps: Do us a favour and refrain for posting for support when you are not open for it to avoid this kind of silly situations in the future. Edited Monday at 04:55 PM 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.
SOLVE-SMART Posted Monday at 05:56 PM Posted Monday at 05:56 PM (edited) 2 hours ago, sl23 said: It's actually pretty accurate most of the time .. Seriously? AI & AutoIt, most of the time .. 😂 ?! I doubt it! Maybe for basic tasks, not for complex scenarios. Next time, @sl23 please be more considerate of the fact that people here take the time to help people like you. A little more sensitivity and gratitude is certainly appropriate. It's no problem that you also work with AI - why not? But if you want to interact with people in a forum, please do so appropriately. Best regards Sven Edited Monday at 05:56 PM by SOLVE-SMART ==> AutoIt related: 🔗 GitHub, 🔗 Discord Server, 🔗 Cheat Sheet 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)
argumentum Posted Monday at 06:22 PM Posted Monday at 06:22 PM 4 hours ago, sl23 said: This is a crucial clue! If this minimal script does not show the splash image, the problem is: Not in your code logic Not in the INI file But with one of: The image file itself (invalid or unsupported format for AutoIt v3.3.16.1) The runtime environment (permissions, display) The way AutoIt handles that image in newer versions (e.g., JPEG format, color depth, encoding) 4 hours ago, sl23 said: ...since AutoIT v3.2.12.1? Does AutoIT no longer support this sort of thing? I do crazy things. I just fixed _NowCalc() for v3.2.x.x ConsoleWrite(_NowCalc_v32() & @CRLF) Func _NowCalc_v32() Local $tLocalTime = DllStructCreate("short Year;short Month;short Dow;short Day;short Hour;short Minute;short Second;short MSeconds") DllCall("Kernel32.dll", "none", "GetLocalTime", "ptr", DllStructGetPtr($tLocalTime)) If @error Then Return SetError(@error, @extended, "oops1") Return DllStructGetData($tLocalTime, "Year") & "/" & StringRight('00' & DllStructGetData($tLocalTime, "Month"), 2) & "/" & StringRight('00' & DllStructGetData($tLocalTime, "Day"), 2) & " " & _ StringRight('00' & DllStructGetData($tLocalTime, "Hour"), 2) & ":" & StringRight('00' & DllStructGetData($tLocalTime, "Minute"), 2) & ":" & StringRight('00' & DllStructGetData($tLocalTime, "Second"), 2) EndFunc ;==>_NowCalc_v32 but I know what am doing. The "#SingleInstance Force" from the other day, does exist, in another language. ...these AI are amazing but, they chew the internet and vomit a mix of "good luck with that" based on the training but it lacks memory and understanding. When you make a post we help you, train you. Not the AI. Vibe-coding is done in an agentic way, were the AI sees the error ( or you do ) and, "brute force" a solution. That's the method today. It will likely change in the future. Anyway, that's my 2 cents, ....but you seem to need more than cents Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
BinaryBrother Posted Monday at 07:34 PM Posted Monday at 07:34 PM (edited) Github's Co-Pilot will hallucinate includes if you forgot to write the UDF in your script (half the time). And it's my favorite. Edited Monday at 07:34 PM by BinaryBrother SIGNATURE_0X800007D NOT FOUND
sl23 Posted Monday at 07:51 PM Author Posted Monday at 07:51 PM Ok, sorry, I didn't mean to upset everyone. I will think before I speak next time. Sorry to everyone.
Developers Jos Posted Monday at 07:58 PM Developers Posted Monday at 07:58 PM 5 minutes ago, sl23 said: Ok, sorry, I didn't mean to upset everyone. I will think before I speak next time. Sorry to everyone. Also an IA formulated answer? This thread is done. argumentum 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.
Recommended Posts