IPB

Bienvenue invité ( Connexion | Inscription )

> fond d'ecran!, changer le fond d'ecran via le Terminal
Options
daftyourself
posté 30 Oct 2005, 13:02
Message #1


Nouveau Membre


Groupe : Membres
Messages : 4
Inscrit : 28 Oct 2005
Membre no 48 844



Bonjour!

Je souhaiterais changer le fond d'ecran de mon mac via le Terminal.
Apres plusieurs tentatives je n'ai pas trouvé...!!

merci d'avance


--------------------
g5 biprocesseur 2x1,8GHz 1Go DDR SDRAM mac os x derniere version :)
Go to the top of the page
 
+Quote Post
 
Start new topic
Réponse(s)
f_cam
posté 31 Oct 2005, 20:14
Message #2


Moderating Daemon
*****

Groupe : Modérateurs
Messages : 6 345
Inscrit : 22 Feb 2004
Lieu : Yvelines/Cambridge (GB), dans mon pantalon
Membre no 15 207



Au lieu de tuer le dock, il y a une notification que l'on peut envoyer:
CODE

NSDistributedNotificationCenter *center;
   center = [NSDistributedNotificationCenter defaultCenter];
   [center postNotificationName:@"com.apple.desktop"
                          object:@"BackgroundChanged"];


--------------------
G5 Bi 2GHz rev A, ATI X800 XT
Alu 17" rev A
MacBook core duo 1.83 GHz
Go to the top of the page
 
+Quote Post

Les messages de ce sujet


Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



Nous sommes le : 30th June 2025 - 04:09