Sign in to follow this  
Followers 0
Battery

Resource Open?

33 posts in this topic

#1 ·  Posted (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 by Battery

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by trancexx

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

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_Add

I want to simply open the file.

But if it's possible, hide the window using @SW_HIDE.

Share this post


Link to post
Share on other sites

I'm sorry, let me try again.

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.

What window?

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

The window of the file we just opened.

Share this post


Link to post
Share on other sites

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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

What can't you tell me which UDF? Why I have to pay because you think it's suspicious?

Share this post


Link to post
Share on other sites

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. :mellow:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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. :mellow:

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.

Share this post


Link to post
Share on other sites

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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

The window is hidden (the black window), but it will display a messagebox.

Share this post


Link to post
Share on other sites

Post your code.

main()

{

MessageBox(HWND_DESKTOP,"Hello World","Hello World from C++!",MB_OK);

return 0;

}

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :mellow:

10/10 for persistance.

Hi JohnOne :P

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0