Comment lancer un EXE sur l'écran n°2

Tout ce qui concerne la V6 (fonctionnement, problèmes, etc)
Répondre
Avatar du membre
Tonton Bruno
Messages : 2892
Enregistré le : dim. 31 janv. 2010, 09:43
Localisation : Plaisir 78
Contact :

Comment lancer un EXE sur l'écran n°2

#1

Message par Tonton Bruno »

Bonjour.

J'ai une config bi-écran, et mon écran 16/9 est l'écran n°2.

Je ne veux pas inverser les numéros de mes écrans, car cela fout la panique sur le bureau quand je relie un poste de TV à l'ordinateur, et aussi quand je branche le vidéo-projecteur.

J'avais trouvé naguère la solution sur ce forum : il faut taper une ligne de commande du genre :

MonDiaporama.exe -2

ou alors :

MonDiaporama.exe -screen 2

ou encore

MonDiaporama.exe -display 2

Je dois faire des erreurs de syntaxe, car je n'y arrive plus.

Je trouvais ça bien pratique, car je mettais cette ligne de commande dans un raccourci, et ça marchait très bien.

Qui peut me donner la syntaxe exacte de la ligne de commande ?

Merci d'avance,
Bruno
Charlie
Messages : 7355
Enregistré le : ven. 14 avr. 2006, 06:59
Localisation : Montauban 82
Contact :

#2

Message par Charlie »

Vrai que j'avais vu passer ça aussi, mais ne m'y suis pas vraiment intéressé...

Edit : tu as l'explcation, je crois, sur l'aide en ligne en anglais...

Code : Tout sélectionner

Command line parameters for slideshows created as executable file (EXE) 

Command line parameters can be used by two ways: they can be called from BAT.file via Notepad 
and from action of object with the help of options Run slideshow or Run application. Here in the 
program we can use command line with 3 parameters: cover, displa   and slide.

      The first parameter command line cover gives you an opportunity to watch your slideshow in 
       fullscreen mode. To do it create bat.file with the text:

       "MySlideshow.exe" -cover

       See the result below:

      The   second   command   line   parameter  displa    allows   you   to   choose   the   monitor   for 
       previewing if there are several monitors switched to the computer. You can also create 
       bat.file with the text

       «Myslideshow.exe» -display X

       where X is the number of display (e.g. display 2 for showing the slideshow on the second 
       monitor).

      The third command line parameter  slide  gives you an opportunity to begin watching your 
       slideshow from any slide you want. Here you can do it by two ways: either with the help of 
       bat.file with the text

       «Myslideshow.exe» -slide X

       where X is the number of slide, from which you want to begin the slideshow. Or by using 
       option Run slideshow in Common tab of Object and Animation editor, where in the line 
       for adding slideshow you may enter the same text with the command line parameter. See the 
       example.
Avatar du membre
Tonton Bruno
Messages : 2892
Enregistré le : dim. 31 janv. 2010, 09:43
Localisation : Plaisir 78
Contact :

#3

Message par Tonton Bruno »

Merci Charlie !

J'ai enfin pu voir ton diaporama en plein écran, et ça en valait la peine ! :bravo2:
Répondre

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 1 invité