Originally posted by Simonny9
View Post
Announcement
Collapse
No announcement yet.
Has the program been minimized?
Collapse
X
-
-
-
-
👍 1
Leave a comment:
-
-
Hello again
I'm sorry, I asked a lot of questions, I just output this program from it and it worked properly ... and I want to open it again with Autoplay with the file run function and the file from which I output it will return some value, what should I do ?! I mean, to establish a connection between these two programs ... I know the method in the ini file and the registry, etc. But how should it be accessed directly?
Leave a comment:
-
-
Originally posted by startup View PostCode:-- Suppose you have an open folder named temp result = Window.EnumerateTitles(true); for a,z in pairs (result) do if String.Find(z, "temp", 1, false) ~= -1 then hndl = a break end end minimized = DLL.CallFunction("User32.dll", "IsIconic", hndl, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL); alert = Dialog.Message("Notice", minimized, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Leave a comment:
-
-
Code:-- Suppose you have an open folder named temp result = Window.EnumerateTitles(true); for a,z in pairs (result) do if String.Find(z, "temp", 1, false) ~= -1 then hndl = a break end end minimized = DLL.CallFunction("User32.dll", "IsIconic", hndl, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL); alert = Dialog.Message("Notice", minimized, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
-
👍 1
Leave a comment:
-
-
yes.
you can modify the String.Find in my code to detect folders..
if you remember :-
z = full path.
that means that you can catch folders also.
-
👍 1
Leave a comment:
-
-
Originally posted by startup View Postyes daviz it has. but that was a simple function. some other functions makes a chalenge
Leave a comment:
-
-
yes daviz it has. but that was a simple function. some other functions makes a chalenge
-
👍 1
Leave a comment:
-
-
fantastic info Ulrich!
great example startup!
I had no idea DLL.CallFunction() had such potential.
David R.
-
👍 1
Leave a comment:
-
-
dude
PHP Code:Declare Function IsIconic Lib "user32.dll" (ByVal hwnd As Long) As Long
If minflag <> 0 (require String.ToNumber) then.
IsIconic Example
-
👍 1
Leave a comment:
-
-
in this function a is the handle z is the full path of the process after exit the loop a and z becomes nil so it is necessary to store a value in another variable like hndl or any name you like
-
👍 1
Leave a comment:
-
-
Thank's a lot Ulrich ...
Originally posted by startup View Postresult = Window.EnumerateProcesses(true);
for a,z in pairs (result) do
if String.Find(z, "IEXPLORE.EXE", 1, false) ~= -1 then
hndl = a
break
end
end
minimized = DLL.CallFunction("User32.dll", "IsIconic", hndl, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);
alert = Dialog.Message("Notice", minimized, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);[/CODE]
What' s is a and z in the loop?
Why hndl = a ?
Leave a comment:
-
-
result = Window.EnumerateProcesses(true);
for a,z in pairs (result) do
if String.Find(z, "IEXPLORE.EXE", 1, false) ~= -1 then
hndl = a
break
end
end
minimized = DLL.CallFunction("User32.dll", "IsIconic", hndl, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);
alert = Dialog.Message("Notice", minimized, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);[/CODE]
-
👍 2
Leave a comment:
-
Leave a comment: