Proceso y restauración

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
You can view the codes and see the sequence of their implementation from top to bottom, and delete and modify what suits your request. Also, while reading the codes, you can learn from them easily. What is important is that you actually begin the first steps of learning in order to adapt the codes to what is appropriate for your project.
abood1987 escribió:
29 Jun 2024 14:20
You can view the codes and see the sequence of their implementation from top to bottom, and delete and modify what suits your request. Also, while reading the codes, you can learn from them easily. What is important is that you actually begin the first steps of learning in order to adapt the codes to what is appropriate for your project.
Hi abood1987...
Precisely what you indicate is what I try to do, but I can't, since it refers to the combobox and label and I get confused
abood1987 escribió:
29 Jun 2024 14:20
You can view the codes and see the sequence of their implementation from top to bottom, and delete and modify what suits your request. Also, while reading the codes, you can learn from them easily. What is important is that you actually begin the first steps of learning in order to adapt the codes to what is appropriate for your project.
Hi abood1987...
Help me please! :aww-1417754503:
Used this Code in any Button and Test :

:downvote-1417755753:

HIDE: ON
Hidebb Message Hidden Description
Hi abood1987...

Your code works perfectly from Windows 7 to 11...
But when trying it in Windows XP it does not work, because the path is different in Spanish (C:\\Archivos de programa\\VideoLAN\\VLC\\) and adding that path generates a global error with the "ath" instruction.

Imagen

I added the Spanish path to the code so it recognizes it, but it still generates the global "ath" error.

Código: Seleccionar todo

if result then
    Path[1]="C:\\Archivos de programa\\VideoLAN\VLC\\";
    Path[2]="C:\\Program Files (x86)\\VideoLAN\VLC\\";
    Path[3]="C:\\Program Files\\VideoLAN\\VLC\\";
  else
    ath[1]="C:\\Archivos de programa\\VideoLAN\VLC\\";
    ath[2]="C:\\Program Files (x86)\\VideoLAN\VLC\\";
    ath[3]="C:\\Program Files\\VideoLAN\\VLC\\";
end
Maybe since I have modified it it is very wrong... I still thought about adding the path as an environment variable, but I don't know how to do it.

I would really appreciate it if you could help me with that please.
:lol:

try adding a "P" to ath

:closed:
usamakey added the lyrics and everything ok...
I had already tried it.
Hi abood1987...

Doing tests... with vlc it runs perfect and does what I need. Thank you so much. :penguin:

Testing the same code but calling an application in AMS, I have been able to notice the following...

- If I call an exe in AMS it executes it and if I call it again another window opens and so on.

- If I have an exe in AMS running (mode Kiosk) and from it I call another exe in AMS (mode Standard), the new window remains in the background (It is displayed on the taskbar, but does not allow it to be displayed as an active window).

Any solution for that (abood1987 & usamakey)...??? :awesome-1417754492:



user_foro escribió:
31 Jul 2024 05:26

1 - If I call an exe in AMS it executes it and if I call it again another window opens and so on.

2 - If I have an exe in AMS running (mode Kiosk) and from it I call another exe in AMS (mode Standard), the new window remains in the background (It is displayed on the taskbar, but does not allow it to be displayed as an active window).

1 - use Window.EnumerateProcesses() or Window.EnumerateTitles() to look for an existing instance of your ams.exe.
If there is one, exit the current program with Application.Exit()


2 - use Page.SetObjectZOrder (Image)
The solution was simpler than I thought...

In the general configuration, you must activate the "Always on top" box and with that the second ams window is shown active.

The latest..
This code works perfectly in VLC (every time you click, only one window opens)... Why doesn't the same thing happen when you want to open an exe made with AMS? (Every time you click to call the program in AMS, a new window opens).
How could I fix that?... The same but with the AMS exes!!!!
Example:
Route: "C:\\Program Files\\Projects\\";
Program: "test.exe";
HIDE: ON
Hidebb Message Hidden Description

OK now I understand :demo:



HIDE: ON
Hidebb Message Hidden Description
usamakey escribió:
17 Ago 2024 00:11

OK now I understand :demo:



HIDE: ON
Hidebb Message Hidden Description
Ih usamakey ...
I have done what you told me and it doesn't work for me, maybe you can share the APZ with me so I can understand it better, please.! :aww-1417754503: