English
Forum

Done: Wallpapers for Desktop Change

 

Tim
Hannemann
Hello people,
I write presently one Program which at Neustart the Rechners and after a conscience Time, which the user take on can, the Desktop Wallpapers changes.
Zurzeit be I still in the process the Desktop Wallpapers To Change, what mere theoretical already works. only have I a problem: is the image one BMP or JPG works it, is it one PNG or one GIF kappt it again rum not and the Desktop background becomes Black.
white someone How I the right hinbekomme???

here too time the Source
CompileMarkSeparation
#########################################
#STWC - Sarüs and Tims Wallpaper changer#
#########################################
 $H windows.ph
#########################################
###############Declares##################
#########################################
declare ordner$
ordner$ = C:\Users\Tim\Pictures\Wallpapers_Selfmade\
declare liste&
declare i%,r%

Proc CHANGE Prozedur zum ändern des Hintergrundbildes

    parameters bild$
    bild$ = C:\Users\Tim\Pictures\Wallpapers_Selfmade\deidara no dana.png
    WriteIni HKEY_1,Control Panel\Desktop, WallpaperStyle = 3
    WriteIni HKEY_1,Control Panel\Desktop, TileWallpaper = 2
    WriteIni HKEY_1,Control Panel\Desktop, Wallpaper = Trim$(bild$)
    ~SystemParametersInfo(~SPI_SETDESKWALLPAPER, 0, addr(bild$), ~SPIF_SENDCHANGE)

Endproc

Proc DATEI wählt eine Datei im Verzeichnis ordner$ aus

    liste& = Create(List,1)
    ClearList
    CHDir ordner$
    addFiles *.gif
    addFiles *.jpg
    addFiles *.png
    addFiles *.bmp
    MoveListToHandle(liste&)
    i% = GetCount(liste&)
    Randomize
    i% = rnd(i%)
    CHANGE(ordner$ + GetString$(liste&,i%))

Endproc

FILE
 
MfG Timää

------------

Betriebssysteme: Windows Vista

Profanversion: XProfan 11
05/01/09  
 




Rolf
Koch
very wisely I not, but could Perhaps with Active Desktop concern. this watts too z.B. under Vista abgeschafft.
If it on Active Desktop lying would, then wiederspricht but really The klappende Extension JPG.
Täusche I, or could it his?
 
05/01/09  
 




Tim
Hannemann
Hm. white I do not, I write it under Vista and I it on keinem anderem OS tested. but ought to it on it lying, How umgehe I it then? have you got there a Idea?
 
MfG Timää

------------

Betriebssysteme: Windows Vista

Profanversion: XProfan 11
05/01/09  
 



@Tim: More Formate can the control not, konvertiere still...
 
05/01/09  
 




Tim
Hannemann
okay, then next question How konvertiere I with profane?
 
MfG Timää

------------

Betriebssysteme: Windows Vista

Profanversion: XProfan 11
05/01/09  
 



first Search and then new Thread Please.
 
05/02/09  
 




Tim
Hannemann
has clarified
habs with Create(hPic,n1[,n2]) as presentment read and SavePic as jpg Save can and it functions
 
MfG Timää

------------

Betriebssysteme: Windows Vista

Profanversion: XProfan 11
05/02/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.799 Views

Untitledvor 0 min.
H.Brill06/21/20
Paul Glatz10/22/15
Jochen Roxlau03/24/15
Donnie03/30/13
More...

Themeninformationen

this Topic has 3 subscriber:

Tim Hannemann (4x)
iF (2x)
Rolf Koch (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie