Jump to content

Resource Open?


Recommended Posts

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

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

Link to comment
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!

Link to comment
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!

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 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

 

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

Link to comment
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!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...