Proceso y restauración

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
abood1987 escribió:
30 May 2024 18:59

Can you record what happens to you on My Project as video??????
Do you mean what I saw is at the end of the video this glitch occurs?
Imagen
Well it is possible to use Window.EnumerateProcesses instead of Window.EnumerateTitles
But there will be a major change in the code :) :) :)



abood1987 escribió:
30 May 2024 19:40


Do you mean what I saw is at the end of the video this glitch occurs?


Change the line shown in the following pictures as shown :

Imagen

Keep in mind that this line depends on the language of Windows you have installed and the language of the VLC program
I wrote it in English. You can change the name to the language you work with.


Enjoy
:friends:
abood1987 escribió:
30 May 2024 19:40
abood1987 escribió:
30 May 2024 18:59

Can you record what happens to you on My Project as video??????
Do you mean what I saw is at the end of the video this glitch occurs?
Your AZP opens a single window and that's fine, but what I mention is that clicking again on the apz (button) opens another window and if I click 5 times on that button, 5 windows will open. .and what I need is for it to always be a single window to be displayed (the same window is activated).
usamakey escribió:
30 May 2024 19:59
Imagen
I understand that configuration, but the idea is not to intervene in the external program interface.

Because you may have to do the same with another program that will not have settings to modify.

I find the video that you have shown me would help in solving, but I will not know how to do it without giving me the instructions (Code) or the APZ to be able to understand safely and be able to learn from it, since an exe is not useful to be able to interact with said function.

Warm greetings.

test this example again after Modification :

HIDE: ON
Hidebb Message Hidden Description
abood1987 escribió:
31 May 2024 00:04
test this example again after Modification :

HIDE: ON
Hidebb Message Hidden Description
abood1987

Checking the modification, it now opens only one window and that's fine.

Just 2 suggestions...

1) - The initial request was just execute
the VLC (Just start its process) (Without mounting video).

2) - In your APZ, if you put the VLC behind your apz (open project) and run it again from the button... it follows behind your project and should move forward as the active (main) window.

That way everything would work in a good way.

And again I thank you for your patience in this, since when writing through a translator, sometimes what you request can be interpreted in a different way. I hope for your understanding and thank you very much for your support in this.

Thanks again.
abood1987 escribió:
31 May 2024 00:04
test this example again after Modification :

HIDE: ON
Hidebb Message Hidden Description
abood1987
Can you modify the code in GF so that it does not try to play the mp4, but only runs the VLC please?
Here you are Download :

HIDE: ON
Hidebb Message Hidden Description
abood1987 escribió:
05 Jun 2024 22:33
Here you are Download :

HIDE: ON
Hidebb Message Hidden Description
Consulta:
Cuando abro la APZ el proyecto, esta se guarda por defecto en:
C:\Users\xxxxxxx\Documents\AutoPlay Media Studio 8\Projects
y si quiero sacar esa carpeta de ahí moverla en otro lado... después no funciona... arroja "Error"!.

Nota: Al abrir y usar tu APZ la reviso y funciona bien (con el botón abrir el VLC)... Pero al mover la apz ya desempaquetada a otro lugar... no hace nada. :yey-1414023049:

PD= Sólo necesito esa opción! (Open File Called "VLC Player").

Imagen
Sorry I did not understand what you meant. Perhaps if you recorded what you said as a video, I might understand the matter for myself .

:yeah-1417757020: :yeah-1417757020: :yeah-1417757020:
abood1987 escribió:
06 Jun 2024 07:26
Sorry I did not understand what you meant. Perhaps if you recorded what you said as a video, I might understand the matter for myself .

:yeah-1417757020: :yeah-1417757020: :yeah-1417757020:
Hi abood1987...

"Everything I need is in the initial post"

In short, when you click the button (xbutton1) find where the VLC is installed (x86 or x64) and run the program (vlc.exe).

And if the vlc is in use, it does not open a second window if the button (xbutton1) is clicked, but rather shows the same one that is already open. (only one window... No 2).

*.APZ (Reference):
HIDE: ON
Hidebb Message Hidden Description


Video (Demo):
https://vimeo.com/948446650

Thank you for your interest and help.
Here you are :
you can Select From ComboBox Programs Name :)


Download :

HIDE: ON
Hidebb Message Hidden Description
abood1987 escribió:
06 Jun 2024 15:08
Here you are :
you can Select From ComboBox Programs Name :)


Download :

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

When I open and use your APZ I check it and it works fine.

Note...
When I open the APZ project, it is saved by default in:
C:\Users\xxxxxxx\Documents\AutoPlay Media Studio 8\Projects
Reference (unpack):
Imagen

But, when moving the already unpacked apz to another partition (Examples... D:\, E:\, etc) and run it, the APZ does not work.
:yey-1414023049:

Could you help me with that please?

Reference (Run from another partition):
Imagen
user_foro escribió:
06 Jun 2024 16:50


Note...
When I open the APZ project, it is saved by default in:
C:\Users\xxxxxxx\Documents\AutoPlay Media Studio 8\Projects
Reference (unpack):
Imagen

But, when moving the already unpacked apz to another partition (Examples... D:\, E:\, etc) and run it, the APZ does not work.
:yey-1414023049:

Could you help me with that please?

Reference (Run from another partition):
why you moving the already unpacked apz to another partition ????? :hypno:
the AutoPlay Media Studio and another Programs was installed in C:\\ and The search codes are programmed to search in the root folder of Windows, which is often C:\\. :)
abood1987 escribió:
06 Jun 2024 19:34
user_foro escribió:
06 Jun 2024 16:50

why you moving the already unpacked apz to another partition ????? :hypno:
the AutoPlay Media Studio and another Programs was installed in C:\\ and The search codes are programmed to search in the root folder of Windows, which is often C:\\. :)

I understand perfectly what you are saying... but when you move the apz and run it from another partition there is no problem when running the WMPlayer (I made it perfect) only affects VLC, which does not run it.

You can do what I did and you will realize it.

Now, if the APZ is on another partition and I compile it as an exe on any partition... the result will be as expected and that is fine (everything is perfect).

I just don't understand why the apz doesn't work in Preview mode on a drive other than C:\...

Is rare!

You can see it in the apz I uploaded, both buttons have the same code, just change the name of the executable... the strange thing is that wmplayer works perfectly and vlc doesn't!
Move the whole folder called SelectPrograms not just the components :)
That's what I did...
The attached image was just to show the content.
I moved the entire folder (SelectPrograms), but something strange happens with the vlc.

When I open peace from another disk there is no problem... the problem originates when I run the preview, the vlc is not executed while the apz is somewhere else.

But why YES wmplayer and NO VLC?
user_foro escribió:
06 Jun 2024 16:50
abood1987 escribió:
06 Jun 2024 15:08
Here you are :
you can Select From ComboBox Programs Name :)


Download :

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

Your code is a bit difficult for me to understand, it is already more advanced.

Could you help me with the image please.

Nothing of:
Input, Label, ComboBox.

Imagen