Most operating systems have an option when browsing the filesystem to open a specific file with an application that the user chooses. Of course, this means sending arguments to a program in one way or another, and that the programmer must add some way of recognizing these arguments and using them to process the data.
Questions tagged [open-with]
102 questions
2
votes
1 answer
Sublime Text 2 Not Showing In Right Click >> Open With >> Other Application
I am running on Ubuntu 14.04 and when I right click on a file and do Open With >> Other Application and click on Show All Applications, Sublime Text 2 does not appear. When I installed it originally I ran this command:
sudo sublime…

milkyway
- 23
- 1
- 8
2
votes
1 answer
Android - get file path of a selected pdf, doc, ppt or xls in my app
I am developing an android application.
My AIM:
If the user open the pdf, doc, ppt or xls files in any folder inside the SDCard (or) dropbox (or) email etc..., they must navigate into my app(In my app, I will do some process based on the files they…

SKK
- 1,705
- 3
- 28
- 50
2
votes
3 answers
How can emacs make a 'open-with' selectable for files?
Using dired in emacs, i would to open (ie; a .png) any file with a list of viewers (selectable by typing) as 'open-with' way...
How can i do that?
Thank you,
Steve,

Steve
- 21
- 2
2
votes
2 answers
'Open With' Dialog
I making an app in Java. I want an Open With Dialog to appear when a JButton is clicked.
I know that in Windows, the contents of the Recommended Programs list are determined from the registry entry…

Sandy
- 23
- 4
2
votes
1 answer
Change open file with... regedit
I have a user, which couldn’t get along with AutoCAD so he switched back to InterCAD. He’s not too computer literate so now when he tries’s to open a DWG file (AutoCAD native file extension) by double clicking it he’s register settings look for the…

LabRat
- 1,996
- 11
- 56
- 91
1
vote
1 answer
pass a file to command prompt by OpenWith dropdown menu
Well, There is an application called QRCP which can share files through LAN by Qr Code.
It uses a command in cmd to share the file:
I want to add this to SendTo dropdown menu, but the problem is I can't pass it the file that I want to share.
I need…

Shayan.Jpr
- 13
- 4
1
vote
0 answers
Electron: How do implement "open with" / have the "open-file" app event on MacOS called?
According to the documentation the following should do it:
app.on("open-file", (event, path) => {
event.preventDefault();
console.log("OPEN FILE???");
});
The console log is never called. I have tried:
Choosing "open with" and the…

getunstuck_goodluck
- 33
- 3
1
vote
1 answer
How to "open with" in python using webbrowser
I wanted to know if there was a way to open files using web browser module in python, but other than the default program.
So when we right-click a file, there is an option called open with > right? So, how can I use web browser to open with other…

PCM
- 2,881
- 2
- 8
- 30
1
vote
0 answers
Flutter app as option to receive pdf from browser on IOS
I'm sorry if this question is stupid, but i'm a really beginner in IOS apps.
I'm using the package "receive_sharing_intent" to receive PDF files to my app, and it's working great when the file is loaded from the device or from Mail App.
The problem…
1
vote
1 answer
The 'Open with' option is automatically changed with my app when my app is installed
I am developing an Desktop application which organizes and plays movie files. So, I have added the mp4, mov, avi, m4v (mp4, mov, avi, m4v extensions) as document type under Properties of my application target.
The problem is that when the user…

spd
- 2,114
- 1
- 29
- 54
1
vote
3 answers
How to make a program that can be opened with a file? (python)
I was making a program that opens a file and does a few things to it, and I wondered if there was a way that you could click on a file, and it would open it in the program, instead of going into the program, clicking open, and navigation through the…

Anonymous
- 355
- 2
- 14
1
vote
0 answers
Open specific "html" extension with a specific application
I have built an electron application that allow user to generate and open files (let say "foo.bar").
For some reasons, I want user that don't have this application installed to be able to open those files, so as the application is Javascript Based,…

Blusky
- 3,470
- 1
- 19
- 35
1
vote
0 answers
how to create an open with dialog in java which displays the list of only the text editors present in the system?
i need to open text files in my java program, in the text editor based on user selection, something similar to the windows open-with dialog.
How can it be achieved?

user2545074
- 11
- 2
1
vote
1 answer
If I make a new file type for my program, how do I use "Open With" properly?
I made a program. I also made my own file type, which the program can create, open, and edit. In Explorer, I right clicked on this new file type and selected "Open With" and chose my program. Of course, it just opens the program without loading…
swarmer
1
vote
2 answers
In Windows 10 how do I add a program to the main "Open With" menu not "Choose another App"
With Windows 7 I could easily use the Open With context menu to add a new program which would thereafter appear in the Open With menu (I can't remember the exact sequence, but it was easy and worked fine). However I have now upgraded to Windows 10.…

Dave
- 3,429
- 2
- 26
- 29