[Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
Hello All I am using Pharo (currently P7, moving to P8) under Windows 10. I have MS Office 365 on my system, and use it regularly for non-Smalltalk tasks. It would be very convenient if I could issue commands to MS Office components from within Pharo. My current interest is to manage my incomin

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread teso...@gmail.com
Hello, One of the alternatives to integrate with Office is the use of the COM interface. There is an implementation in https://github.com/tesonep/pharo-com. In the test package, there are examples to integrate with Word, Excell, Internet Explorer, and Access. Integration with Outlook can be done

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread teso...@gmail.com
If you are using pharo 7, you have to install a different branch of the project. Check in the documentation of pharo-com(the read me in the same repo) On Sun, Apr 5, 2020, 21:41 PBKResearch wrote: > Hello Pablo > > Many thanks for the suggestion. I have tried to use Pharo-Com to connect > to Out

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread teso...@gmail.com
The install instructions are not the same for Pharo 7, or pharo 8/9 On Sun, Apr 5, 2020, 22:18 teso...@gmail.com wrote: > If you are using pharo 7, you have to install a different branch of the > project. Check in the documentation of pharo-com(the read me in the same > repo) > > On Sun, Apr 5,

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
Pablo – Yes, I saw the instruction. I used the quoted Metacello procedure for P7 – I used copy and paste from the repo Readme. Peter From: Pharo-users On Behalf Of teso...@gmail.com Sent: 05 April 2020 21:19 To: Any question about pharo is welcome Subject: Re: [Pharo-users] Automation of MS

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread teso...@gmail.com
Ok, I was trying to find an easy solution. I will try tomorrow morning to see the problem. Sorry, On Sun, Apr 5, 2020 at 10:29 PM PBKResearch wrote: > > Pablo – Yes, I saw the instruction. I used the quoted Metacello procedure for > P7 – I used copy and paste from the repo Readme. Peter > > > >

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
Pablo - Thanks for this. Just one bit of news. While I was waiting, I opened a new Pharo 8 image, installed Pharo-Com 9the right one!) and tried to run some of your tests. The Word test started to work, then stopped saying 'test took too long'. But it did open a Word document, and in one trial i

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-05 Thread PBKResearch
Pablo - a final update before I close for the night. The Word test on the pharo 8 version comes up green. The strange error message is nowhere to be seen in any Pharo 8 runs. The result is not what I expected; I finish up with two Word documents open, one with the first message, the other with t