Jump to content

Skype crashes when opend via AutoIt


shmuelw1
 Share

Recommended Posts

I have a script for starting all my startup programs. But when I use the script to start skype, skype crashes immediately. When I start up skype using the shortcut on the desktop it works fine.

(I'm running Windows 7 64-bit with AutoIt3.exe in compatibility mode for Windows XP.)

Any ideas?

Dim $answer
 
If Not ProcessExists("wonderfl.exe") Then
Run("C:\Program Files (x86)\Wonderful\wonderfl.exe")
Sleep(100)
EndIf
 
$answer = MsgBox(4, "", "Run remaining startup programs?", 60)
If $answer = 7 Then Exit ; if no button is selected, exit script
 
If Not ProcessExists("PureText.exe") Then
Run("C:\Program Files (x86)\Puretext\PureText.exe")
Sleep(100)
EndIf
 
If Not ProcessExists("2xExplorer.exe") Then
Run("C:\Program Files (x86)\2xExplorer\2xExplorer.exe")
Sleep(100)
EndIf
 
If Not ProcessExists("RBTray.exe") Then
Run("C:\Program Files\RBTray Minimize to Tray\64bit\RBTray.exe")
Sleep(100)
EndIf
 
If Not ProcessExists("FileBX.exe") Then
Run("C:\Program Files (x86)\FileBX\FileBX.exe")
Sleep(100)
EndIf
 
If Not ProcessExists("FreeWheel.exe") Then
Run("C:\Program Files (x86)\FreeWheel\FreeWheel.exe")
Sleep(100)
EndIf
 
If Not ProcessExists("firefox.exe") Then
Run("C:\Program Files (x86)\Mozilla Firefox\firefox.exe")
Sleep(10000)
EndIf
 
If Not ProcessExists("thunderbird.exe") Then
Run("C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe")
Sleep(10000)
EndIf
 
If Not ProcessExists("HprSnap7.exe") Then
Run("C:\Program Files (x86)\HyperSnap 7\HprSnap7.exe")
Sleep(10000)
EndIf
 
If Not ProcessExists("magicJack.exe") Then
Run("C:\Users\shmuelw\AppData\Roaming\mjusbsp\magicJack.exe")
Sleep(10000)
EndIf
 
If Not ProcessExists("Skype.exe") Then
Run("C:\Program Files (x86)\Skype\Phone\Skype.exe")
Sleep(100)
EndIf
 
WinMinimizeAll()
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

×
×
  • Create New...