Jump to content

Wait for a process to start up before Aida64 is started


Juzz

Recommended Posts

Hey there,

 

I've developed a script to make sure that Razer Synapse is running before Aida64 is started, this way Aida64 isn't killed when Razer Synapse starts up.

 

You could generally use it if you have a program that needs to be started before Aida64 should be started.

$StrRz = "rzsynapse"
$StrWD = "C:\Program Files (x86)\FinalWire\AIDA64 Extreme\"
$StrAida = "C:\Program Files (x86)\FinalWire\AIDA64 Extreme\aida64.exe"

Start-Sleep 10
# Is Razer Synapse Running?
#$bResult = Get-Process -name $StrRz -erroraction silentlycontinue
#echo $bResult

while (!(Get-Process -name $StrRz -erroraction silentlycontinue))
{
  Start-Sleep 3
  
}

# Enable Razer Synapse time to start up
Start-Sleep 5

# Start Aida64
Start-Process -FilePath $StrAida -WorkingDirectory $StrWD
Link to comment
Share on other sites

Do you mean that if on your system AIDA64 starts up before Razer Synapse, then Synapse will kill the AIDA64 process when it starts up? Why would it do that? Or maybe it's a mixup inside Synapse, so the Razer DLL that AIDA64 uses would crash and it would pull AIDA64 main process with itself?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...