Ibrahim Posted September 26, 2007 Posted September 26, 2007 i'm doing a program that would read output from the UI of another program. What i want is to completely hide the other program thus i hide its icon tray,its window and its title BUT i need to hide the file name so help me do it so i can run it like this ---->run("TheProgram.dat") [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
smashly Posted September 26, 2007 Posted September 26, 2007 (edited) Hi once again, #include <Constants.au3> Opt("RunErrorsFatal", 0) $DatFile = "x:\PathToYourDatFile\yourfile.dat" If FileExists($DatFile) Then $Pid = Run(@ComSpec & " /c " & 'assoc .dat', @SystemDir, @SW_HIDE, $STDOUT_CHILD) $DatAssoc = StdoutRead($Pid) Run(@ComSpec & " /c " & 'assoc .dat=exefile', "", @SW_HIDE) Run($DatFile, "", @SW_SHOW) Run(@ComSpec & " /c " & 'assoc ' & $DatAssoc, "", @SW_HIDE) EndIf Cheers Edited September 26, 2007 by smashly
Ibrahim Posted September 27, 2007 Author Posted September 27, 2007 Man, You are HOT ! :) [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
Ibrahim Posted September 27, 2007 Author Posted September 27, 2007 Beside programming code, this idea is hot for all things else i can assoc other files as well adn execute even a jpg photo WOW [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
Ibrahim Posted September 27, 2007 Author Posted September 27, 2007 can i add a tiny miny problem ?-- the program runs and the @sw_hide not working do i did the winwait() and Winsetstate() stuff with a delay 0 millisecond in the OPT() thing, so i need to completely hide it from the view as it's now flashes before hiding [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
smashly Posted September 27, 2007 Posted September 27, 2007 What program is it that you are trying to run hidden?
Ibrahim Posted September 27, 2007 Author Posted September 27, 2007 WinArpAttacker [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
Ibrahim Posted September 27, 2007 Author Posted September 27, 2007 I'm not using it to do anything harmfull just to log the network actions [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
Ibrahim Posted September 28, 2007 Author Posted September 28, 2007 smashly my man ,No news yet so faaar !!! [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
smashly Posted September 28, 2007 Posted September 28, 2007 Sorry m8, I did have a look at WinArpAttacker but I have no answer for it ... Cheers
Ibrahim Posted September 28, 2007 Author Posted September 28, 2007 thanks anyway.! [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
Tiger Posted September 28, 2007 Posted September 28, 2007 Or this: ShellExecute(@WindowsDir & "\NOTEPAD.EXE", "x:\PathToYourDatFile\yourfile.dat") My UDFs:- _RegEnumKey
Ibrahim Posted September 29, 2007 Author Posted September 29, 2007 And what is that????? [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker
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