I have a .blend file which I want to open using blender but the problem is this :
I downloaded blender from its website in a compressed file (zip file) so I can open it directly without installing
Blender program works fine and I can open my file from the program itself using open in file menu but I want to open .blend files from outside by double clicking which gives me open with window to choose a program and I choose blender from browse but it always choose another program
How can I fix this problem ?
Unzip the program so that it enters itself into the registry. Once you done that, you can right click on your .blend file. Go to Open With, and Choose Default program. From there, navigate your drive to the .exe for Blender.
From then on, it will be registered as the default for that filetype.
Related
I downloaded an .R file from a zoom chat on desktop to open in Rstudio later.
Well, the .R extension was not part of the name, so I changed the name to something.pdf (of course by mistake).
The icon now looks like a pdf. I replaced the .pdf with .R. But the icon still is a PDF file and Rstudio does not recognize it as an R file.
How can I can change it back to its .R format?
edit. thanks for pointing this out. I am on a windows 10 machine. and the file is on desktop.
Troubleshoot for Windows
You may be trying to add multiple file extensions, which does not allow the file to be ready correctly.
A quick google search.
How do I reveal file extensions?
For Windows 8-10
Start Windows Explorer, you can do this by opening up any folder.
Click the View menu.
Check the box next to "File name Extensions"
Then make sure you have my_file.R as opposed to my_file.R.R.pdf.
I'm trying to spy on the target directory when a user pastes a file. Let's say I copy/cut a file from somewhere on my computer. Then I paste it into another place. I want to be able to know the paste target directory programmatically.
Some questions on Stackoverflow mentioned using a global hook on Windows to be notified when a paste operation happens. But it doesn't give you the paste directory.
On Mac, file drag and drop has a promised delay feature. I'm not sure about normal file copy and paste.
Kind of get stuck now. Any suggestion would be appreciated.
How to change the default icon of my Processing appIconTest.exe exported
application in windows ?
The default one :
After some research, the easiest solution i could find is :
Go into ...\processing-3.0.1-windows64\processing-3.0.1\modes\java\application
Save sketch.ico somewhere you can find (renaming it will help).
Place the icon you want to use in the same folder with the same name sketch.ico (which you might create using GIMP).
Now you can export your application from Processing.
Important : Be sure to save the default icon, because every application you export (after changing the icon) using Processing, will have this new icon.
You can change the icon of your running application (the icon that shows up in the title bar of the window and the task bar), but I don't think that's what you're asking about. You can't easily change the icon of the file itself.
That icon seems to be coming from the core.jar Processing library file, so if you want to hack at it, you could try replacing that file in the jar. I really don't recommend that though.
Because the .exe file that Processing exports isn't really an executable anyway- it's really just a shell that calls the code in the lib directory. (source)
If you want to create a real .exe file and have control over its icon, you should look into using a .exe generator like JSmooth or launch4j or JWrapper.
I would recommend Resource Hacker to change the icon of your programs.
Install Resource Hacker (latest build).
Go to your executable file.
Open it with Resource Hacker (right mouseclick, and there should be an option to do that or else you could just click open with).
It will open and show some directories, also one called "Icon", open that one, and right click one one of the icon files (stars with some numbers after that), there will be an option: "replace icon ... Ctrl + R", click that one and replace your icon.
Is it possible to force Firefox not to change the file extension of a file the user downloads? Currently I have the problem that I have a .reg file to download, but Firefox, even though in the Download dialog it says "Text file (*.reg)", saves it as a .reg.txt file, which is highly annoying. How to fix this?
You could try to do the following things:
1.) https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file
Maybe extension (in your case .reg) is associated with Notepad and you could changed it in Options/Applications
a) Click the menu button and choose Options.
b) Select the Applications panel.
c) The Applications panel will display. Select the type of file for which you want to change the default action.
2.) https://bugzilla.mozilla.org/show_bug.cgi?id=511624
This is an old bug, but if you use the affected version of firefox...
When you right click on a link to a batch file and click save as, it will allow you to save it, but it automatically adds .txt to the end of the filename without informing you.
You are unable to save it as .bat
Reproducible: Always
Steps to Reproduce:
1.Right click on a batch file link
2.Click save as
3.Save it
Actual Results:
filename is file.bat.txt
Seems to be a Firefox on Windows bug. My coworker was implementing download of .reg files and I use Firefox, I tested for him and got a .reg.txt. Just renaming it after download was sufficient to make the .reg work, but I got curious if that would happen on Linux also.
Grabbed my laptop where I have Ubuntu installed and the file was downloaded with the correct extension (just didn't run because .reg is a windows extension, it did open in the text editor). It was not automatically renamed as a .txt.
I've always used VS2010 to open a bunch of flat websites which live on my local disk (File -> Open -> Web site).
e.g Foobar website at:
c:\Projects\Foobar
This traditionally worked fine (whether or not VS2010 is the right tool for editing simple HTML files)
However, I've moved to a new PC and this simple idea of opening a flat website inside VS2010 is all screwed up.
It'll open any folder once but if I try and reopen the website it has thereafter decided that I want my website content in a subfolder. It spawns a subfolder at
c:\Projects\Foobar\Foobar
and is determined to use that for content (of course it's empty, and no, I don't want to adopt that folder structure).
Is there any way to force VS to use my plain old root folder website as it used to on my old machine?
Edit
I can, sort of, get to what I wanted by deleting both the foobar.sln file and the foobar/foobar folder and then reopening. But as soon as I then exit and try to reload the website VS complains:
Unable to open the Web site 'C:\Projects\foobar\foobar
The foobar.sln file is just a simple XML file with a path to every relevant project. Open the site in VS once, then close it and edit the .sln file manually (in Notepad or something similar). Look for the folder path C:\Projects\foobar\foobar and change it just C:\Projects\foobar.