Click here to Skip to main content
15,887,944 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How to Show a Div in JavaScript or JQuery Pin
Vimalsoft(Pty) Ltd18-Jun-12 20:18
professionalVimalsoft(Pty) Ltd18-Jun-12 20:18 
GeneralRe: How to Show a Div in JavaScript or JQuery Pin
enhzflep18-Jun-12 20:24
enhzflep18-Jun-12 20:24 
Questionjava script can't receive an event from MFC activex? Pin
creative2617-Jun-12 22:04
creative2617-Jun-12 22:04 
QuestionPython Bulk-Renamer for Date-Modified Pin
johtnkucz10-Jun-12 0:41
johtnkucz10-Jun-12 0:41 
AnswerRe: Python Bulk-Renamer for Date-Modified Pin
Diana Weiss13-Jun-12 1:49
Diana Weiss13-Jun-12 1:49 
QuestionPlotting libraries - spider plots Pin
Wjousts6-Jun-12 4:12
Wjousts6-Jun-12 4:12 
GeneralChange the wallpaper Pin
Weli055-Jun-12 17:18
Weli055-Jun-12 17:18 
GeneralRe: Change the wallpaper Pin
enhzflep5-Jun-12 18:25
enhzflep5-Jun-12 18:25 
Weli05 wrote:
how to build a function that put one of these images as wallpaper on the desktop

I don't believe that you can do this with javascript.
  • Chrome doesn't allow this via the right-click menu.
  • Internet Explorer does
  • Opera does
  • FireFox does

In each of these 3 instances, it's native-code in the browser which adds this functionality.


Weli05 wrote:
I think I need to change the registry file for the system ... right! . Second, If this is right any conflict with the antivirus programs?

Yes indeed. You can do it with Reg Keys. Depending on which user is targeted, the exact key varies.
No, I don't believe there to be a problem with virus-scanners and these keys. (though they may not like code that gets other user's SIDs)

If you want to change them for the currently logged-in user, you can find the keys here:
HKCU\Control Panel\Desktop
->TileWallpaper
->Wallpaper
->WallPaperOriginX
->WallpaperOriginY
->WallpaperStyle

If you wish to change them for another user (eg, you log in as Admin and want to change the wallpaper for a user's account)
1. Get the user's SID - userSid

2. The keys are found here:
HKU\userSid\Control Panel\Desktop


Further Reading
Change wallpaper through registry[^]
GeneralRe: Change the wallpaper Pin
Weli055-Jun-12 21:53
Weli055-Jun-12 21:53 
GeneralRe: Change the wallpaper Pin
enhzflep6-Jun-12 0:19
enhzflep6-Jun-12 0:19 
AnswerRe: Change the wallpaper Pin
Weli056-Jun-12 6:31
Weli056-Jun-12 6:31 
QuestionHTML 5 Tutorial Pin
pix_programmer1-Jun-12 20:56
pix_programmer1-Jun-12 20:56 
AnswerRe: HTML 5 Tutorial Pin
Ali Al Omairi(Abu AlHassan)3-Jun-12 20:08
professionalAli Al Omairi(Abu AlHassan)3-Jun-12 20:08 
AnswerRe: HTML 5 Tutorial Pin
berba4-Jun-12 21:43
berba4-Jun-12 21:43 
Questionpassing argument from javascript Pin
dineshbabub1-Jun-12 0:55
dineshbabub1-Jun-12 0:55 
AnswerRe: passing argument from javascript Pin
Manfred Rudolf Bihy1-Jun-12 3:11
professionalManfred Rudolf Bihy1-Jun-12 3:11 
GeneralRe: passing argument from javascript Pin
dineshbabub3-Jun-12 18:13
dineshbabub3-Jun-12 18:13 
GeneralRe: passing argument from javascript Pin
dineshbabub3-Jun-12 21:06
dineshbabub3-Jun-12 21:06 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 1:51
professionalManfred Rudolf Bihy4-Jun-12 1:51 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy3-Jun-12 21:43
professionalManfred Rudolf Bihy3-Jun-12 21:43 
GeneralRe: passing argument from javascript Pin
dineshbabub3-Jun-12 22:14
dineshbabub3-Jun-12 22:14 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 1:48
professionalManfred Rudolf Bihy4-Jun-12 1:48 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 2:02
professionalManfred Rudolf Bihy4-Jun-12 2:02 
GeneralRe: passing argument from javascript Pin
dineshbabub4-Jun-12 16:08
dineshbabub4-Jun-12 16:08 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 22:24
professionalManfred Rudolf Bihy4-Jun-12 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.