[..] Changement de fond d'écran sur un écran choisi

Aide et conseils concernant AutoIt et ses outils.
Règles du forum
.
Répondre
Herta
Niveau 1
Niveau 1
Messages : 2
Enregistré le : sam. 09 sept. 2017 09:57
Status : Hors ligne

[..] Changement de fond d'écran sur un écran choisi

#1

Message par Herta »

Bonjour à tous.

Je cherche à savoir s’il est possible de changer le fond d'écran (sur Windows 10) en choisissant l'écran sur lequel il sera afficher (je ne souhaite pas crée de gui pour l’afficher).

Ayant pas mal chercher sur le net je n’aie pu trouver uniquement des fonctions permettant de changer le fond d’écran sans pouvoir définir l’écran/fond.

Merci d’avance.
Avatar du membre
Tlem
Site Admin
Site Admin
Messages : 11773
Enregistré le : ven. 20 juil. 2007 21:00
Localisation : Bordeaux
Status : Hors ligne

Re: [..] Changement de fond d'écran sur un écran choisi

#2

Message par Tlem »

Bonsoir Herta,
D'après mes tests et recherches (rapides) il ne semble pas possible d'attribuer un fond d'écran différent sur un système à écrans multiples.
En tout cas je n'ai pas trouvé ce paramètre sur mon PC !

Si vous êtes sur de votre question, pouvez-vous nous donner plus de détails ?
Thierry

Rechercher sur le forum ----- Les règles du forum
Le "ça ne marche pas" est une conséquence commune découlant de beaucoup trop de raisons potentielles ...

Une idée ne peut pas appartenir à quelqu'un. (Albert Jacquard) tiré du documentaire "Copié n'est pas volé".
Avatar du membre
scorp84
Niveau 7
Niveau 7
Messages : 400
Enregistré le : mar. 04 nov. 2008 21:51
Localisation : Avignon, France
Status : Hors ligne

Re: [..] Changement de fond d'écran sur un écran choisi

#3

Message par scorp84 »

Bonjour Herta,

J'ai cherché la même chose que vous il y a plusieurs années et la seule solution que j'ai trouvé était logicielle :
https://www.displayfusion.com/

J'ai essayé avec Autoit mais je n'ai pas trouvé comment faire.

En espérant avoir pu vous aider.

Cordialement.

BM
Avatar du membre
toto1515
Niveau 3
Niveau 3
Messages : 35
Enregistré le : mer. 08 déc. 2010 17:18
Localisation : Corse
Status : Hors ligne

Re: [..] Changement de fond d'écran sur un écran choisi

#4

Message par toto1515 »

Bonjour,

j'utlise "backgroundswitcher" pour changer mon fond d'écran, ça marche super, ça gère plusieurs moniteurs et c'est gratuit.

https://johnsad.ventures/software/backgroundswitcher/

Le script que j'utilise pour changer mon fond d'écran :
$pgm_dir="C:\Program Files (x86)\johnsadventures.com\John's Background Switcher\"
$pgm_process="BackgroundSwitcher.exe"
$pgm_switch="/next"

$ini_dir=@WorkingDir
FileChangeDir($pgm_dir)

Run(@ComSpec & " /c " & chr(34) & $pgm_process & " " & $pgm_switch & chr(34),"" , @SW_HIDE )
FileChangeDir($ini_dir)

Aide backgroundswitcher command line :
You can use John's Background Switcher from the command line. If you don't like having it running in the background all the time (even though it doesn't consume many resources) then you can still change your background periodically by running it with the one of the following command line arguments:

BackgroundSwitcher.exe [/next] [/previous] [/refresh] [/shuffle] [/gotocurrent] [/switchto [center|stretch|scale|overscale] "c:\photo.jpg"] [x]

/next - Selects the next background
/previous - Reverts to the previous background
/refresh - Redraws the current background
/shuffle - Shuffles the backgrounds if you have multiple monitors
/gotocurrent - Browses to the currently displayed background(s)
/switchto - center|stretch|scale|overscale "c:\photo.jpg" x - Switches the background to the specified photo in the specified mode (choose one of center, stretch, scale or overscale). If you have multiple monitors you can optionally pass in the monitor number for x (1 for the primary, 2 for the secondary and so forth)
You can use the /? command line switch to display the currently available command line options.

Note that if John's Background Switcher is already running then only the /? and /switchto command line options will work.
Cordialement

Toto1515
Autoit 3.3.14.5 - Scite 4.2.0 - Windows 8
Répondre