Jump to content

soundrecorder won't launch with "Run"


JoelLL
 Share

Recommended Posts

Hi All,

Please forgive me if this has been answered somewhere else, but I haven't been able to find it.

Under Windows7, .x86 or .x64, on a Lenovo 410 laptop, the following line fails:

$iPID = Run ("c:\windows\system32\soundrecorder.exe")

with $iPID = 0

but the following lines work just fine:

$iPID = Run ("c:\windows\system32\notepad.exe")

and

$iPID = Run ("c:\windows\system32\sndvol.exe")

soundrecorder.exe is clearly present in c:\windows\system32. Also running soundrecorder from the windows command line works fine, too as does double-clicking "soundrecorder.exe" in c:\windows\system32.

I see that there once was a bug report with exactly this problem (https://www.autoitscript.com/trac/autoit/ticket/1253), but it was closed as "no bug" with no other explanation that I've been able to find. Lots of folks seem to be able to use Run with soundrecorder, so it's clearly not a known limitation.

Any clue? Am I missing something really, really obvious? It feels like it, but I'm out of possibilities...

Many thanks and happy New Year,

Joel

Link to comment
Share on other sites

  • Moderators

Moved to General Help and Support. Please take notice of where you post in the future, the Developer forum clearly states:

Quote

Do not create AutoIt-related topics here, use the AutoIt General Help and Support

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

At first i got $iPID = 0

Then I added #RequireAdmin and it gave me an error, because i don't have it installed.

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...