Dreamscene launch through cmd how to

yes, as wmv is dreamscenes preferred format lols and yeah i got about 20 per month oh and thanks for your support , i really mean it your literally the ONLY one on the net willing to help me with this issue , im amazed how few people are interested in proper 4k seasonal dynamic videoclip backgrounds, and yes that app youve mentioned would be neat for sure , i do have abit of batch experience , not creating per se lols but using and tinkerin and editing but not actual creating from scratch thats way out of my ballpark
 

My Computer

OS
windows 7 x64 ultimate sp1
Okay, when I get time I'll create an instructional video on this. What it entails is that you modify a batch file for each month that would reflect the paths for all twenty or so videos per month. Then you'd use Window Task Scheduler to launch the batch file at a specific period of time on a monthly basis. This should work via the Windows Task Scheduler as I checked out its capabilities.

This really is a hack job so to speak. LOL But it should do as you ask, just on a per boot basis. HAHA So with each start of the computer you should have a new random video background. But it's not smart enough to not use a background that was used before. So expect a repeat background every now and then. But twenty is a good number for the random generator used in the batch file. So it should give you a fair bit of randomness.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
I created a video here Make sure you select 720p or higher and full screen.

I'm adding this now without instructional text right now because I've been feeling under the weather lately and if God forbid I end up in the damn hospital I wanted to at least get this out there. No, it's not the China flu. Attached is the sample batch file you'd use. Make sure you change the paths to reflect each folder month. So in this batch file the path is C:\test\1.wmv or C:\test\2.wmv, etc. So you'd create 12 folders for each month under C drive so your paths might be, C:\January\1.wmv, C:\January\2.wmv, etc all the way to video 20. Then you'd have a batch file for February. C:\February\1.wmv, C:\February\2.wmv, etc. Just name your video files 1 through 20 to make it easier. Create January through December folders under C drive and in each folder month would be that month's batch file. Then you'd create 12 separate tasks for each month. Each task would fire off that month's batch file. Make sure you edit the part that says "else if %number% equ 2 (", else if %number% equ 3 (, etc. so 4 then 5 then 6, all the way to 20. And at the very top instead of %RANDOM% %% 7 + 1, it be 20+1 since you have 20 videos so the random number generator has to pick from 20 videos from that month's folder.

Again. Each month needs its own folder.

Each month needs its own batch file tailored to its folder month path.

Place each month's batch file in its own month's folder.

I could make this all for you. I see that I can export Task Scheduler tasks that you can import and I can create each batch file for each month for 20 videos. You just have to rename each video 1 though 20 in each month's folder. So 20 videos in January's folder numbered 1 though 20, and 20 videos in February's folder numbered 1 through 20, etc.

So yeah, choosing the log on option in Task Scheduler will fire off the batch file for that month per login or reboot to pick a random video from 20.

If you need help and I'm not here perhaps someone else can help.
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
uhhh ill have to take you up on that offer of a full predone pack where i only have to change a few things to get it to work lols, if you dont mind , im a bit of a noob even tho ive been dabbling in batch , would appreciate it if your health isnt too bad, no rush but would appreciate it nonetheless for sure ,btw thanks for all the support so far ...its alot more than anybody else has done around here for sure p.s take care of yourself and yeah i sure hope it aint covid bullshit , stay safe and healthy my dude
 

My Computer

OS
windows 7 x64 ultimate sp1
Okay, to make this very simple I need you to do the following:

Create folders for all months out of the year in a folder called dreamscene (no caps) on C drive, and just in C drive.

So you have a folder named dreamscene in C drive, okay.

Now in this folder called dreamscene create 12 folders each named after all months of the year. so a folder named january, february, march, april, etc. (no caps for simplicity). Make sure you spell them correctly! Again, no caps.

So you have this path: c:\dreamscene

In that dreamscene folder 12 folders named for each month.

In each month's folder place all 20 videos you'd like for that month named one through twenty.

So in the january folder place all your video files you want for january. In the february folder place all of your videos for february, and on and on.

Make sure each video file in each month's folder is named, 1.wmv, 2.wmv, 3.wmv, 4.wmv....20.wmv in each month's folder.

Doing all this I can create the custom batch files and export the Task Scheduler files that you can import.

In my video I showed how the desktop icon names have a dark color when using the video as a background. Do you have this behavior yourself?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
gimme a bit shits not easy to go through for me , btw been abit busy with the holidays but im going through the process , about dark desktop icon text...uhhh sure i can check id have to reenable them to check tho lols ...i dont use em xD, will let you know , btw merry christmas my dude ive got everything setup as per instructions ...now all i need is those schedules for me to import p.s ..yeah its normal for desktop icon names to be dark while using a video background
 
Last edited:

My Computer

OS
windows 7 x64 ultimate sp1
so with just a touch of googling i found a fix for your transparency desktop icons text issue lols, as said i dont really care since i dont use em i use rocketdock ...much better and cleaner on the desktop imo, but for those who do heres the solution for all those dreamscene users> How to fix the transparent text when applying a dreamscene - YouTube,btw i do hope you manage to while doing the batch files and schedules for me , would also as said be killer if youd find a way to create a batch that constantly checks if dreamscene is in a paused/running state or not and if so then to reexecute the dreamscene schedule which in turn executes batch for said month, im sure there gotta be a registry value for it logically , its a pretty important function to me so i dont have to always manually reenable a dreamscene when for example exiting a game thats running exclusive fullscreen shenanigans certain games will pause dreamscene or when testing a gpu oc and driver crashes and stops/exits dreamscene making me have to reenable per selecting a videobackground again
 
Last edited:

My Computer

OS
windows 7 x64 ultimate sp1
what i did find out while looking through the Dreamscene registry entry that it has a paused state entry which changes from 0 , which is playing state , to 1 , which is paused state , while selecting its pause/play entry on desktop right click , this might help further to get that function ive been hoping for? as said the idea would then be to have said batch on a infinite loop always check that value if its set to 0 and if not to autoexecute the seasonal dreamscene schedule of yours
 
Last edited:

My Computer

OS
windows 7 x64 ultimate sp1
If you have a window in full screen Dreamscene pauses automatically.

I don't want to already complicate the crap out of this. As it is I have to create 12 separate batch files with 20 entries per batch file and 12 Task Schedulers.

It does exactly as shown in my video. Upon log off or reboot a new video is used picking from 20 random videos based on what month it is.

You WILL need 20 videos per month. That's what you said you had. I need consistency.

Now that I saw how to fix the font, I may see how I can incorporate that fix when the batch file executes per login. Otherwise you can't read the icon text so this is all useless.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
none of it is useless my dude and you will find the solution , chin up ...i know you can , btw ive created a thread concerning my idea of taking care of said pause or if dreamscene crashed due to bad oc or other tweaking etc or exclusive fullscreen games that mess with dreamscene on game exit ...those exist trust, anyhow concerning needlessly complicating things? nah , its far from complicating more like completing , aim is for that true dreamscene potential unlocked, for this of course you need enabling of reliable dreamscene playback , and thus need said issue fixed , i guess im just abit of an enthusiast when it comes to all kinds of things lols, just want shit to work as it should in my eyes, ok so heres abit of an advancement to the solution for said dreamscene stopping , pausing or crashing , hope this helps out > Scripting : how to check for a registry value per batch and if not 0 then execute a scheduled task
 

My Computer

OS
windows 7 x64 ultimate sp1
So I'm trying to understand. You want the batch file to check whether Dreamscene paused and if so unpause?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
exactly , also if its crashed...meaning by my thought process should said issue appear it should set the registry flag to 1 as well aka paused state , so you see that way theres a point of reference you can use as a way to check , as example the batch should check if its value is 0 and if not to autoexecute the monthly dreamscene schedule, so it reselects a random video background from anew that way you always have a guaranteed Dreamscene running no matter if its paused , crashed or whatever that isnt in play state aka pause value at 0
 

My Computer

OS
windows 7 x64 ultimate sp1
My script already does that to an effect. Every time you log off and then log in the DreamScene video is automatically set from a random video.

So if DreamScene suddenly stops responding you just have to log off and log in again. A reboot will do it too.


I just want to confirm again. You have exactly 20 videos per month? If not you'll have to edit the batch files yourself as I will set this to 20 videos to be picked from.

I can check for a paused state, but it won't actively unpause because you would have to log off and log in again. Since my script already fires off on log in or boot it would be pointless.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
well i get that , BUT i need it while logged on of course , nobodys gonna log off ...log on ..restart just cause your dreamscene crashed or paused , i hope this makes sense from a userperspective , i mean its good for fresh boots or restarts sure , but as said the mentioned additional function is a must have while actual pc use aka logged in , im sure you understand that point , and yes i have 20 per folder, concerning the checking for paused state , actually itd work once you combine it with the above registry value and autoexecute dreamscene schedule batch entry ive linked you to , meaning what it should do is check on a loop for the paused state being at 0 and if not to autoexecute your dreamscene schedule which in turn random selects a video background...as you can see this would work all without logging off, meaning you need one batch file that infinite loops and checks for pause state at value 0 an if not to autoexecute your monthly dreamscene schedule which in turn fires off depending on month the set monthly batch that in turn autoselects at random a videobackground...problem solved, nobodys talking about changing actual values ...since we all know that way does not work with windows registry aka youd have to log off and log on ..which in turn completely undermines the required function, hope this is more clear now
 

My Computer

OS
windows 7 x64 ultimate sp1
When the values are written to the registry you have to reboot or log off for them to take. That's why it negates this whole idea. The scrip already fires off on log in or reboot and changes your background per log in or reboot. To change the registry for a pause state would require a login or reboot.

Do you have an example where DreamScene messed up? As I said, a full screen window will already pause DreamScene and unpause when there's no full screen window.

On the very rare occasion of DreamScene messing up all you would have to do is log out and log in. I doubt this would be a reoccurring issue.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
it actually is a reoccurring issue mainly when your into modding games or certain games pause dreamscene and it not auto unpausing youd bed surprised how often this can happen , anyhow im NOT talking registry value changes as said, im talking a separate infinite batch that checks the pause registry key if its value is at 0 and if not to autoexecute the monthly dreamscene schedule of yours which in turn auto random selects and sets a background , so no log off required , log offs ..restarts are only required for registry changes not video background selection
 

My Computer

OS
windows 7 x64 ultimate sp1
The script I have and uploaded here WILL do this, and you WILL have to log off and log in or reboot for the setting to apply. The pause is in the registry.

This script is made to chose a different background on reboot or login. So it already does that with the Windows Task Scheduler. The Task Scheduler is what fires off the batch file and when the batch file fires off picks from a random video to play as the background. Make sense?

The only option I have is to make it retro active where a reboot or log off/log in is not required. This is already started to be a PITA.

Edit - My batch file should fire off and reactivate the unpaused state upon login or reboot. If I add the registry value to check for the paused state, to unpause will require you to still log out and in or reboot since we are flipping a registry boolean value.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Here's the final product. Follow these simple five steps and there should be no problem at all. As I stated here in the video and long ago in the before time, this will only change your background upon reboot or login. That's exactly what I was doing in the video.

If you don't already see file extensions where you can see a .txt or a .wmv or a .xml or a .bat, then type folder options in search and in folder options click the View tab. Now scroll down to where it says 'Hide extensions for known file types', and untick it. Now you can change a file from a .bat to a .txt to edit it or see .xml files, etc.




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



1)Right click and set a WMV video as a desktop background. Yes, right now if you don't already have one.

2) Download and extract the zip file called set_read_only.zip. Rename the bat file to a .txt file so you can edit it. In the file change where it says -USERNAME-HERE- to your computer username. Save file and rename it back to a .bat file. Now double click the .bat file. Now right click the desktop and go to Personalize | Desktop Background. That should be enough to keep the icon font on the desktop from being all dark. And it should stick upon background change. It does for me.

3) Download and extract the zip file called DreamScene.zip. Place each folder named after a month in the root of C drive, and ONLY in C drive. No where else. Not in a folder. On C drive. So all folders named after a month in C:\ So you'll have C:\january, C:\february, C:\march, C:\april, etc. They are all lower case, don't change. Leave the two files in each folder. Do not delete those.

4) Grab all your videos and place 20 in each month's folder that you would like displayed for that month. Rename each video file to 1.wmv, 2.wmv, 3.wmv, 4.wmv, etc. Each month's folder has to have all of its 20 videos named in this fashion and only 20. No more, no less. Exactly 20 for each month.

5) Go to the start orb and in search enter, task scheduler. On the right hand side in Task Scheduler go to import. Navigate to january's folder on C drive and load the january.xml file. Not the bat file, the xml file. Click import again and navigate to february's folder and load the february.xml file. You will do this for all 12 months importing their XML files which are the tasks.

That's it! This is set up to fire off from Task Scheduler on January 1st. So you can do this now and wait, or do this on or after January 1st. It doesn't matter, but it won't work until January 1st.

Now all the tasks in the Task Scheduler will cover the full year of 2021. After that, in January of 2022 you'll have to go into the Task Scheduler and change each task to just the year of 2022. Leave the month, date and time as it is.

Do you understand what is happening here? When you boot the computer or login, Task Scheduler fires off the batch file for the month it's active. In the batch file it picks 1 video from a random set of 20 videos named 1.wmv or 2.wmv, or 3.wmv...20.wmv. The batch file randomly picks one and sets that file in your registry. This process continues day after day month after month upon boot or login.
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
ok ...damn it was hoping youd manage a way so login logoff isnt required , i hope you manage to do so , meanwhile ill be using this , buts still need that solution , would mean alot to me , thanks for all the hard work so far i truly appreciate it all
 

My Computer

OS
windows 7 x64 ultimate sp1
Back
Top