Battery Posted June 25, 2010 Share Posted June 25, 2010 (edited) I'm adding a resource file using: #AutoIt3Wrapper_Res_File_Add I want to simply open the file. But if it's possible, hide the window using @SW_HIDE. Edited June 25, 2010 by Battery Link to comment Share on other sites More sharing options...
trancexx Posted June 25, 2010 Share Posted June 25, 2010 (edited) I'm sorry to say this but looks like you have basic misunderstanding of not just one thing regarding more than one thing. If you want your questions answered then ask them properly. What's your question? Edited June 25, 2010 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 I'm sorry to say this but looks like you have basic misunderstanding of not just one thing regarding more than one thing.If you want your questions answered then ask them properly.What's your question?I'm sorry, let me try again.I'm adding a resource file using: #AutoIt3Wrapper_Res_File_AddI want to simply open the file.But if it's possible, hide the window using @SW_HIDE. Link to comment Share on other sites More sharing options...
trancexx Posted June 25, 2010 Share Posted June 25, 2010 I'm sorry, let me try again.I'm adding a resource file using: #AutoIt3Wrapper_Res_File_AddI want to simply open the file.But if it's possible, hide the window using @SW_HIDE.What window? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 The window of the file we just opened. Link to comment Share on other sites More sharing options...
kaotkbliss Posted June 25, 2010 Share Posted June 25, 2010 From the help file... although I'm getting very suspicious. Run ( "program" [, "workingdir" [, show_flag[, opt_flag ]]] ) Parameters program The full path of the program (EXE, BAT, COM, or PIF) to run (see remarks). workingdir [optional] The working directory. This is not the path to the program. show_flag [optional] The "show" flag of the executed program: @SW_HIDE = Hidden window (or Default keyword) @SW_MINIMIZE = Minimized window @SW_MAXIMIZE = Maximized window opt_flag [optional] Controls various options related to how the parent and child process interact. 0x1 ($STDIN_CHILD) = Provide a handle to the child's STDIN stream 0x2 ($STDOUT_CHILD) = Provide a handle to the child's STDOUT stream 0x4 ($STDERR_CHILD) = Provide a handle to the child's STDERR stream 0x8 ($STDERR_MERGED) = Provides the same handle for STDOUT and STDERR. Implies both $STDOUT_CHILD and $STDERR_CHILD. 0x10 ($STDIO_INHERIT_PARENT) = Provide the child with the parent's STDIO streams. This flag can not be combined with any other STDIO flag. This flag is only useful when the parent is compiled as a Console application. 0x10000 ($RUN_CREATE_NEW_CONSOLE) = The child console process should be created with it's own window instead of using the parent's window. This flag is only useful when the parent is compiled as a Console application. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 I have no problem using this, but I don't want to run it from a directory, I want to run it from the resources. Link to comment Share on other sites More sharing options...
kaotkbliss Posted June 25, 2010 Share Posted June 25, 2010 All I will say is there is a UDF created to run a file from within autoit without extracting, but between your last topic and now this one, I can help no more. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 What can't you tell me which UDF? Why I have to pay because you think it's suspicious? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 25, 2010 Moderators Share Posted June 25, 2010 Battery, Where is the code you have written by yourself and tried so far? And what is this file you wish to open - text, exe, dll? Why do you want it hidden once it is open? You see, after this thread we are getting very suspicious of what you are trying to do. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 Battery, Where is the code you have written by yourself and tried so far? And what is this file you wish to open - text, exe, dll? Why do you want it hidden once it is open? You see, after this thread we are getting very suspicious of what you are trying to do. M23 1. #AutoIt3Wrapper_Res_File_Add=C:\hellomessage.exe, rt_rcdata, HELLOMESSAGE 2. hellomessage.exe 3. It's a command prompt window and I don't want it show this black window. Link to comment Share on other sites More sharing options...
kaotkbliss Posted June 25, 2010 Share Posted June 25, 2010 You see, when you start injecting code into dlls that exit/close programs, then want have an exe or dll run without being copied to the PC and hidden (so the user probably doesn't even know it's running or find it to remove it) it can only spell bad. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 Yeah I'm sorry. Anyways, it's not related to the dll at all, I finished with the dll already, and again, it's not malicious. I explained about the new program in post 11, can you help me? Link to comment Share on other sites More sharing options...
JohnOne Posted June 25, 2010 Share Posted June 25, 2010 Why would you want a hello message hidden? who are you saying hello to, the invisible man. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 The window is hidden (the black window), but it will display a messagebox. Link to comment Share on other sites More sharing options...
Bert Posted June 25, 2010 Share Posted June 25, 2010 Post your code. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Battery Posted June 25, 2010 Author Share Posted June 25, 2010 Post your code.main(){MessageBox(HWND_DESKTOP,"Hello World","Hello World from C++!",MB_OK);return 0;} Link to comment Share on other sites More sharing options...
JohnOne Posted June 25, 2010 Share Posted June 25, 2010 Im sorry, but i've never heard so much shite in my life, to the point where its seriously funny and starting to make me laugh 10/10 for persistance. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
trancexx Posted June 25, 2010 Share Posted June 25, 2010 lol, you're funny guy. Anyways, search the forum. You should find lots of interesting stuff lying around. Ask when not able to find, not before. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
trancexx Posted June 25, 2010 Share Posted June 25, 2010 Im sorry, but i've never heard so much shite in my life, to the point where its seriously funny and starting to make me laugh 10/10 for persistance.Hi JohnOne ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts