Jump to content

Teks

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Teks

  1. No offense, but "constant variable" is an oxymoron. It's either constant or variable. Pick a good book on any mainstream language and see yourself Here's one https://msdn.microsoft.com/en-us/library/e6w8fe1b.aspx
  2. Have you considered mutex? it is simpler
  3. https://www.autoitscript.com/autoit3/docs/intro/running.htm#CommandLine Command Line Parameter Argument constant variables constants
  4. Melba23, thanks for the example. What makes GUIGetMsg() return there since there's no user interaction? Am I missing something about how message mode works? edit: wow, it immediately returns with 0 when there's no event. I didn't know that. That's effectively a busy loop but somehow does not hog the CPU. now I'm curious why event mode was invented.
  5. goss34, yes possible, use event mode gui, and timerinit+timerdiff as computergroove suggested. I can post a simple example if you want
  6. Hi, I think you need to use event mode Gui, not message mode. (you should not put Sleep in main loop with message mode anyway)
  7. As far as I see you're trying to develop a database-like app using INI files. Bad idea. Have you considered Visual Basic? if you want to avoid .Net, at least consider VBA+Excel+Forms for this task
  8. Hi, that looks like Qt toolkit. As far as I know, Qt does not use windows controls and by-passes standard message based (GetMessage(), SendMessage()) event handling, it works at GDI level using its own signal-slot mechanism. I highly doubt AutoIt can do anything about it.
  9. Hi, thanks for the wiki link. I didn't notice there was a Static modifier for variable definitions. https://www.autoitscript.com/autoit3/docs/intro/lang_variables.htm should mention it maybe?
  10. Hi, is there a difference between defining a variable in global context using Local and using Global?
×
×
  • Create New...