Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Sign in to follow this  
Kavex

Function to open an external program/file?

Recommended Posts

I looked over the wiki really quick but nothing popped out at me, is there a function for opening external files?

I'd like to write a script that opens a program and starts filling it out

Share this post


Link to post
Share on other sites

 

simple autoit v3 script that kills firefox process and restart it

#include <MsgBoxConstants.au3>

Example()

Func Example()
    ; Run Notepad
	;Run("firefox.exe")


_RunDos("start taskkill /F /IM firefox.exe")
Sleep(2500)
Run("firefox.exe");
	;$hWndff=WinWait("[CLASS:firefox]",5)

		$list = ProcessList("firefox.exe")

		for $i = 1 to 9999
		$list = ProcessList("firefox.exe","")
		$hWndff=WinClose("firefox.exe")


EndFunc 

 

Share this post


Link to post
Share on other sites
59 minutes ago, wundertüte said:

 

simple autoit v3 script that kills firefox process and restart it


#include <MsgBoxConstants.au3>

Example()

Func Example()
    ; Run Notepad
	;Run("firefox.exe")


_RunDos("start taskkill /F /IM firefox.exe")
Sleep(2500)
Run("firefox.exe");
	;$hWndff=WinWait("[CLASS:firefox]",5)

		$list = ProcessList("firefox.exe")

		for $i = 1 to 9999
		$list = ProcessList("firefox.exe","")
		$hWndff=WinClose("firefox.exe")


EndFunc 

 

DOES ANYONE KNOW HOW TO CONTACT FREDDY ?

Share this post


Link to post
Share on other sites
On 11/2/2017 at 4:49 PM, wundertüte said:

DOES ANYONE KNOW HOW TO CONTACT FREDDY ?

Why is it that you need to contact him?

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...