Arterie Posted September 25, 2007 Share Posted September 25, 2007 I searched the forum but i dont really know how to handle the codes i saw... maybe you can explain me what the code means wich you'll maybe post. So my problem is this: $dir1 = C:\Programme\Mozilla\firefox.exe $dir2 = C:\test.txt _RunDos($dir1 $dir2) But for my script this ones have to be variables.And it would be better if you dont see the cmd. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 25, 2007 Developers Share Posted September 25, 2007 Maybe ?: _RunDos($dir1 & " " & $dir2) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
weaponx Posted September 25, 2007 Share Posted September 25, 2007 Furthermore: $dir1 = "C:\Programme\Mozilla\firefox.exe" $dir2 = "C:\test.txt" _RunDos($dir1 & " " & $dir2) Link to comment Share on other sites More sharing options...
sandin Posted September 25, 2007 Share Posted September 25, 2007 maybie this is what you need: #include <Process.au3> $dir1 = "C:\Programme\Mozilla\firefox.exe" $dir2 = "C:\test.txt" _RunDos($dir1) _RunDos($dir2) ? Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Arterie Posted September 25, 2007 Author Share Posted September 25, 2007 (edited) $dir1 = "C:\Programme\Mozilla\firefox.exe"$dir2 = "C:\test.txt"_RunDos($dir1 & " " & $dir2)Works fine for me....but now i have a new problem. My GUI doesnt seem to work anymore. The window is still there but the buttons doenst work, after i pressed the button wich has the function _RunDos(.....)Ok i now why it doesnt work....the exe i run is still running in the background....but how can i kill the process when this script is like paused? Edited September 25, 2007 by Arterie Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now