Opening files in Win (guestOS) by clicking it at OSX Host?
Opening files in Win (guestOS) by clicking it at OSX Host?
Is it possible to setup? For example if i need to open my received by Apple Mail .xls file with Microsoft Office 2003 which i had installed on my guest Window XP?
Last edited by gagash on 12. Oct 2015, 14:19, edited 1 time in total.
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Opening files in GuestOSwin by clicking it at OSxHost?
An OS X expert will probably be along soon. But practically speaking, I'd think not.
It would be possible to write a script that launches VirtualBox and runs a guest app which opens a file... but the file would have to be in a location which the VM is allowed to access - and you don't want to give a VM access to the entire host filesystem.
It would be possible to write a script that launches VirtualBox and runs a guest app which opens a file... but the file would have to be in a location which the VM is allowed to access - and you don't want to give a VM access to the entire host filesystem.
Re: Opening files in GuestOSwin by clicking it at OSxHost?
Apple Script just for files with .xls extensions, which start Excel from VirtualBox Windows XP? Well, thanks for idea, but wonder is there solution out of box?mpack wrote:An OS X expert will probably be along soon. But practically speaking, I'd think not.
It would be possible to write a script that launches VirtualBox and runs a guest app which opens a file... but the file would have to be in a location which the VM is allowed to access - and you don't want to give a VM access to the entire host filesystem.
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
Nope, there isn't. What you'd have to do (at least the general idea), either in Applescript, or plain bash script is to:gagash wrote:wonder is there solution out of box?
- Associate your script with .xls files. Not sure how to do that, or if it even doable.
- Copy/move (from within your script) the "file.xls" to a shared folder of your host so that the guest has access to it. Most probably read/write. Of course you have to setup shared folders or a true network share.
- Use the "VBoxManage guestcontrol <YourVM> run" command with the appropriate syntax. See Ch. 8.31 VBoxManage guestcontrol for more information.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
If by "out of the box" you want to open an attachment you received in Mail in your XP guest, the easiest way would be to save the attachment to a shared folder you set up for your XP guest. Another easy method would be to set up Outlook Express with the email account where you receive attachments.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
nice idea, but most of time i am using mac and reading email with apple mail client, but for some ms exel files i need to use windows ms exel. Then it is not quiet convinient change to windows when received file with .xls attachment.loukingjr wrote:Another easy method would be to set up Outlook Express with the email account where you receive attachments.
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
If you mainly need to open Excel files, you can install LibreOffice on your Mac. It will also open other Microsoft files such a .doc Word files.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
You know, sometimes the solution is so simple, yet we manage to make it very hard to solve a problem (see my 1st post on the thread). It's like going from Boston to NY, via Los Angeles .loukingjr wrote:install LibreOffice on your Mac
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
We all do it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
unfortunately there is senders which sends old exel 2003 files, this .xls documents will open with libreoffice and also i can use a new Exel 2016 for mac, but because this senders use the old microsoft office version their is some conflicts at tables and function. The the solution is to open it with microsoft office 2003 exel. I know it sound strange but i tried a lot of electronic table layout programs and no one work well.loukingjr wrote:If you mainly need to open Excel files, you can install LibreOffice on your Mac. It will also open other Microsoft files such a .doc Word files.
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
you did lose me earlier. if you have to use Microsoft Excel 2003 which is only on your XP guest, You have to either download the attachment while you are in the guest or drop the file in a shared folder while you are on your host then open it in your guest. Those are your options.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Opening files in Win (guestOS) by clicking it at OSX Hos
no, didn't lost, i see, thank you, very useful.loukingjr wrote:you did lose me earlier. if you have to use Microsoft Excel 2003 which is only on your XP guest, You have to either download the attachment while you are in the guest or drop the file in a shared folder while you are on your host then open it in your guest. Those are your options.