Event JSON
{
"id": "d6b86235d75acf740b4b27e7db5ad9384ec8914ae51d52ae1388ca29dc781229",
"pubkey": "3b40d582273fa3ead266583aa152add053d40af980733b30187021b20fe40947",
"created_at": 1723941947,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@jaykul/112980259500498721",
"web"
],
[
"e",
"6f40e032afb53c664786c630d3e48133d2801e5aec9553a09b9212f7ae55c78b",
"",
"root",
"69696274d79977bceb2aea687858f35ae4a9551a56153fe80c963fff26091eda"
],
[
"p",
"69696274d79977bceb2aea687858f35ae4a9551a56153fe80c963fff26091eda"
],
[
"e",
"d7e4a1e5590416d9b2212fc177ab0bebc259e24fd88073c33644dfb7745163b9",
"",
"reply",
"69696274d79977bceb2aea687858f35ae4a9551a56153fe80c963fff26091eda"
],
[
"t",
"powershell"
],
[
"proxy",
"https://fosstodon.org/users/jaykul/statuses/112980259500498721",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/jaykul/statuses/112980259500498721",
"pink.momostr"
],
[
"-"
]
],
"content": "Set the Wallpaper using SystemParametersInfo\n\nhttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfoa\n\nIn #PowerShell just:\n\nAdd-Type -Namespace \"\" -Name Desktop -MemberDefinition @\"\n[DllImport(\"user32.dll\", CharSet = CharSet.Auto, EntryPoint=\"SystemParametersInfo\")]\npublic static extern bool SetWallpaper(int uAction = 20, int uParam = 0, string Path=\"Wallpaper.jpg\", int fuWinIni=3);\n\"@\n\nChange the image with:\n\n[Desktop]::SetWallpaper(20,0,(Convert-Path \"MyPIcture.jpg\"))\n\nWithout parameters, it reverts to Wallpaper.jpg",
"sig": "4ebb456e73899b90e2498d289236233fb4a95005d6cf359b6e57f5d1e6c60fdba2d1421854fd739d5ce65756657fae00411241ec9f6e4343a1b1deb609a02ea0"
}