Sign in to follow this  
Followers 0
RobertKipling

Set background image?

14 posts in this topic

How do you set the background image with a JPG (or HTML) file from Windows, where the Desktop Properties dialog box is unavailable? Is it in the registry (I hope not, it may be banned too) or accessible with AutoIt?

Share this post


Link to post
Share on other sites

How do you set the background image with a JPG (or HTML) file from Windows, where the Desktop Properties dialog box is unavailable? Is it in the registry (I hope not, it may be banned too) or accessible with AutoIt?

Can't you simply right click on the Image and select "Set As Desktop Background"? :)


[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

Share this post


Link to post
Share on other sites

You could always send an image to IrfanView, using the /wall=X switch, e.g..

I_VIEW32.EXE "W:\media\wallpaper\Widescreen\glassorbs.jpg" /wall=1

Everyone has IrfanView installed, right?

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

No, not everyone, I use PhotoFiltre, GIMP, and FSViewer32

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Just downloaded IrfanView. This program should be enough, the explanation is more than decent. Thank you.

Opt("WinTitleMatchMode",2)
$mywin = Run("Y:\irfanview\i_view32.exe Y:\abc.png /wall=0", "",@SW_HIDE)
WinClose($mywin)
MsgBox(0,"","Done.")
Edited by RobertKipling

Share this post


Link to post
Share on other sites

Everyone has IrfanView installed, right?

Love it...

Been using Ifranview for over 4 years!!! (+/-)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

whats Ifranview

ya know... they wrote "Google" for questions like this...

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

There's more info here.

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

Darn! I wish I'd refreshed the page before posting!

Anyway, ashley, let's pretend that you didn't read Lar's post, and clicked my link, thinking that I was spoon-feeding you the answer, and then BANG! You are at google, seeing the foolishness of your ways.

It's a more subtle approach, I find, to let folk be foolish in private! :)

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

Darn! I wish I'd refreshed the page before posting!

Anyway, ashley, let's pretend that you didn't read Lar's post, and clicked my link, thinking that I was spoon-feeding you the answer, and then BANG! You are at google, seeing the foolishness of your ways.

It's a more subtle approach, I find, to let folk be foolish in private! :)

;o)

(or

Yes. Intolerance of stupidity causes insanity.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

For future reference, There is a reason the background tab has been disabled, Its so you don't set a background.

If it is disabled, you should probably just leave it alone and go back to your work, And learn something that will help you get a job later on in life.

Edited by tAKTelapis

Share this post


Link to post
Share on other sites

Actually, everything display-wise has been disabled. (Not fun.) Learning to change the background image is nothing more than child's play compared to real programming tasks, of course, but nonetheless is useful.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0