Changing the default behavior of where files are saved in windows - windows

Kind of a Admin question - I know.
Here's the thing.
The OS has this deep, strange assumsion that a user wants all there pictures in one folder, all there doc files in another folder - etc. Saveing files based on file type - not the folder in which it was opened.
I, like many business/dev users have my drive devided into folders based on 'projects'.
All 'SmithProject' images goes in SmithProject, All JonesProject Images goes in JoneProject.
Why do I spend so much time fighting the OS when it wants to save all files into a folder based on file type? (No - windows - I don't want it in the pictures folder)
Is there not some simple way / setting to define how this works?
I figure, I loose 1-2 hours a week - just because i have to nav back to the same folder, again & again & again.
Any Pluggin?
Anything?
Thanks

Without changing special folders locations (My Documents, etc) it could be hard to achieve. Normally in app, when You call OpenFileDialog You can specify where to start (f.ex: always c:\, last opened folder, special folder) and there is no power in the universe to change this.

Related

Where are video project files hidden in Windows Photo video editor?

I discovered that Windows Photo has a pretty good basic video editor hidden in it.
My wife used it to edit a family video. Then she wanted to save the project (clips and project file, not just the final product) to USB drive.
Photo only gives you one option: Save to OneDrive. The claim is that other OneDrive devices running Photo will then be able to see the Project.
However, careful inspection of OneDrive yields no file with the title of the project and nothing that obviously looks like a video editing project file.
Does anybody know how they pulled this off and where they have hidden the project information? It can't be buried in the Registry, because that wouldn't transfer through OneDrive.
Every video clip used to create a new video, no matter what the source, is first copied to my C: SSD drive into my 'Pictures' folder.
I found the program created a new folder called 'Video Projects' in my Pictures folder.
The program does not delete these videos copied to my C: SSD drive when the program is through with them.
I must go in and manually delete the working copies of videos the program makes.
C:\Users\Your_User_Name\Pictures\Video Projects
There were two reasons I was looking into this.
1) For a video project, set the duration for all the photos in a storyboard to something other than the default. (Why isn't this built in?) and;
2) On another project, reset the duration that I'd set on a bunch of photos so it could auto sync with music.
So, I looked into this a bit, and for reference the data is stored in an Sqlite database called MediaDb.v1.sqlite located by default here (replace YOURUSERNAME) C:\Users\YOURUSERNAME\AppData\Local\Packages\Microsoft.Windows.Photos_8wekyb3d8bbwe\LocalState
You can load the database using an Sqlite reader like DB Browser however you can't update it because it contains an unrecognised database collation (column character set) called NoCaseUnicode which you can about more here
There are others who are reporting similar problems trying to access this file.
I just finished a short project. I noticed an option to make a backup (click the three dots in the top right corner). That created a .vdp file. The file is 35 MB. The total size of the pictures and audio track is 30.1 MB, so it looks like it puts everything into this one .vdp file. The idea, as I understand it, is that you can take this .vdp file with you and import it into the video editor on a different computer (or same computer with new hard drive) and resume working on your video from there.
Of course relying on a proprietary file, in my opinion, is not great. You're trusting that Microsoft will continue to support the file format in the future. And as we've seen, over time, Microsoft has a habit of dropping support for popular applications that they bundle with Windows. Make sure you hang on to those original photos/videos!
My saved videos were located in c/Pictures/wallpapers/Video Projects

Changing default program for a file type (workaround)

I would like to specify that images of a certain type (for example, .png) open by default in a program I've written when the file is contained in a certain directory. I've seen by searching (Change Default Program for a specific folder) that this is not possible on Windows 7 or 8.
I am saving these images in this directory myself, so I have some leeway with how I name the files. For example, I could change the filename a bit... perhaps to be example.myprog.png or something similar. Is there a way to set it up so files that match this filename pattern get opened, while other .pngs (in other directories) still open in the default viewer?
I don't really want to name these PNG images example.myprog (i.e., fully change the extension), because when the user is browsing the directory in Windows Explorer, I would like the thumbnail images to still show up. Also, users will be eventually transferring these images to their own machines, where they'll want to use standard image viewers to look at them.
If this is not possible, does anyone have another suggestion for how to tackle this problem?
As you are mentioning that files should be opened in a program that you have written, try to change the code of your program to read files from the specific folder. So, by opening your program from anywhere in your pc, you should be able to open files from specified folder.

"Virtual Files" in OSX Finder that only appear when my Application runs, possible?

is there a way to "hook" into the OSX Finder to perform the following:
When my Application starts, the User sees a Folder in his Finder which is created by my application. Inside this Folder the User sees Files from several Folders...a unified view to several Files in several Folders that the User specified in my Application.
So, in this "Unified Folder" are not the real Files, they are still in there original Folder but the User sees them in this one Folder as if there were all his real Files in this new Folder. So there is no copying or moving involved.
To be honest, I've no Idea if it's possible and what I should looking for inside the Cocoa SDK. Maybe there is an API for the Finder itself or some other way?!
Regards
twickl
First option is your application could create aliases to the original files. The Finder will show these with a small arrow "badge" over the icon, so it is clear they are not the original files but aliases of them.
If you don't like the badges on the icons creating hard links may give you what you want.
Mac OS X presents a view of the HFS+ (Mac) filesystem which matches the UFS (Unix) one and you have access to hard and symbolic links. The latter are treated by the Finder similar to aliases but the former are indistinguishable from the original files as they are the original files - under the Unix filesystem a file in a directory is just a reference (the inode number) to the real file, each entry in a directory is just a hard link to the actual file, and a file can have any number of hard links to it (a file is deleted when the link count drops to 0, think of the retain/release model if that helps).
At the Cocoa level NSFileManager has methods to create hard links, or you can use the Unix level link(2) function.

App's one of two Documents Folder not Saving on Windows

I have a application in which there are two folders in app's document directory.
a. Thumbnail.
b. Recordings.
Contents of Recordings Directory: Recordings in .caf format, and naming of those records are like "Recording#[number]"+[datetime].
Few examples of names of the recorded file:
2012-04-26 06/11/50 +0000.caf
2012-04-26 06/11/37 +0000.caf
So the problem is, when i Sync my iPad on MAC using itunes, i can save both the folders, which are Thumbnails and Recordings. But when i Sync on Windows, Recordings folder doesn't save. Thumbnail folder is saved with no problem, but when i save Recordings folder, it doesn't appear, means it is not saving at all.
I tried one remedy, which is, change the names of the recorded files like: Recording1.caf
If i save my recorded files with such naming convention, Then the Recordings Folder is saving on Windows with no problem.
One more thing i like to mention here, when using recording names with datetime appended, sync on MAC, send it to windows, files play with quicktime with no problem. (It was very obvious, but didnt want to miss anything.)
What i wanted to ask here, why is it not saving on windows when names are with datetime. Is thats the problem, cant it be solved without changing the name. Because the previous users of this app have their recordings saved with datetime, i'll have to change all those names first when the user updates to the new build.

Adding files to all users 'My Documents' folders in Windows

I am creating an installer (using Inno Setup) for a windows application. The app has initial documents that I need to store in the users 'My Documents' folder.
Here is the issue, I install it as an Admin, but there may be one or many non admin users on that machine. How can i add that same folder to all the possible current (and future user's) My Documents folder?
Here is what i have tried so far-
1) I could try to pick up all usernames - This however, wont work for future user creations :(
2) I have tried to add it to the systems %allusersprofile%\Documents folder. It does not get reflected to individual My Documents folders.
I believe there should be a way, but have been unable to find a clean solution off the internet till now. Can anyone direct me towards the right path?
Mucho Thanks!
There isn't really a construct for this in Windows. You have a few options:
Put the document in some common place (like %allusersprofile%\Documents, or %program files%\yourCompany\yourApp\documents) and create a start menu link/icon that points to either the folder with the documents or the document itself.
Put the document into the Default User documents folder. When a new user is created, their profile is setup to mirror that of the default user. This doesn't help you with current users, but it does help you for users who haven't been created (logged on)
I'd go with option 1 because it's relatively standard and its what your average user is going to expect.
Look at Inno Setup Shell Folder Constants : {commondocs}

Resources