Jump to content

MightyMalcolm

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MightyMalcolm's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello everyone, I am not 100% sure how to phrase my problem so I'm sorry if the issue has been addressed elsewhere. Here is my situation: I have added a file called MyStartup.exe (generated by AutoIt) to the list of programmes to launch on startup via the Windows registry on my laptop. As soon as it is running, this file will display a 3 minutes (tooltip) countdown and in the end call Run("Another.exe"). The latter is an AutoIt script, too. Among other things, it contains a few SoundPlay() commands, but for some reason, there is no sound coming at all! Strangely, however, when i manually run the MyStartup.exe and let it do its job, THEN the Another.exe plays sounds properly. I can only guess what might be the matter here, since the same procedure (autostart) works fine on my other PC. Any help would be greatly appreciated
  2. Dang! I tried replacing the Default-keyword for integers, just like you said, but it seems I never actually replaced ALL of them at the same time %) So much for thorough testing. My bad there. Cheers and thanks!
  3. Hello everyone^^ I am somewhat new to AutoIt so please bear with me. I always thought that I was able to read, but neither helpfile nor internet search were able to explain the following behaviour to me: ConsoleWrite(StringInStr("hey<a>ho!", "<a>") & @CRLF) ConsoleWrite(StringInStr("hey<a>ho!", "<a>", Default, Default, Default) & @CRLF) ConsoleWrite(StringInStr("hey<a>ho!", "<a>", Default, Default, Default, Default) & @CRLF)The console output is My aim was to use the position parameter and so I did. Took me quite a while to find out what part of my code was causing the unexpected results. For now, I am working around this problem with the construction given in the helpfile: StringInStr(StringMid($string, $start), $substring), but this obviously isn't now how it's meant to be. Any help with this is greatly appreciated
×
×
  • Create New...