Programmatically navigate PowerPoint - macos

I have PowerPoint 2008 running on my Mac. Is there a way to navigate, like forward and backward, the PowerPoint presentation using some program in Python, Java, C/C++ or other language?

Yes, using Applescript. If you can't script Powerpoint directly (look in its script Library using the editor) you can send keypresses to it using the accessibility framework.

AppleScript. There are some examples here: http://www.mactech.com/articles/mactech/Vol.23/23.03/23.03AppleScriptPowerPoint/index.html. Unfortunately, all of the Mac Office 2008 VBA to AppleScript samples have been removed permanently from Microsoft's site.

Related

I am trying to develop an Add-In for Microsoft Word on macOS. I am not familiar with Microsoft doc, could somebody bring me in the right direction?

I am trying to develop an Add-In for Microsoft Word on macOS. The Windows version of the Add-In is already in development, but I don't have access to its source code. It seems like the following is the 'landing' page for developing Add-Ins for Office:
https://learn.microsoft.com/en-us/office/dev/add-ins/
The above documentation seems to say that Add-Ins have to developed using web-technologies, and, upon examination of existing, Third-party, Add-Ins, this seems to be the case at least for the UI. What I don't understand, is, if the entire plugin has to be written using web-oriented languages, or if there is a macOS oriented SDK that allows to implement at least the underlying logic using a macOS native SDK, perhaps using Objective-C or Swift. I was hoping that somebody more expert could bring me in the right direction. Thanks for your attention.
There is no platform specific SDK for developing Office add-ins. You can use web technologies for developing cross-platform Office add-ins, see https://learn.microsoft.com/en-us/office/dev/add-ins/overview/office-add-ins for more information.
You also can use AppleScript for automating tasks in Word on the MacOS.

What tech stack was used to write Windows native applications like File Explorer?

I'm looking to write a Windows Explorer alternative application, such as FreeCommander.
What underlying language and tech-stack does Microsoft use to create native desktop applications for Windows, such as Windows File Explorer, Control Panel, Calculator, and so on?
Google search results point me towards one of UWP, WPF, WinForms, Java FX + Swing, Electron, Qt.
Given the following requirements:
the app should be as quick and responsive as the native File Explorer
in reading file metadata and opening files
the app should support file
previewing, and file operations -- renaming,
cutting/copying/pasting/moving etc.
the app needs to work on Win 10 at
the least, and support for previous Win version will be nice-to-have
the app should have the same right-click context menu items for files and
folders as the default File Explorer
the app should be mappable to a Windows hot key combo, such as ⊞ Win + F.
the app should be installable from a standard installer and not Microsoft Store
What should be my weapon of choice?
such as Windows File Explorer, Control Panel, Calculator, and so on
Windows Calculator is open-source, BTW. This should answer all of your questions. See for yourself. :)

Interact with UI controls of Windows Store apps

I am not able to identify UI controls of Windows Store apps using AutoIt Window Information Tool. The standard app Calculator for example (Windows 10):
As you can see, it doesn't show information for button 8. I tried both x86 and x64 versions.
How to interact with Windows Store apps? For traditional desktop apps AutoIt works as expected.
It's impossible, AutoIt developers have no plans to support UI Automation API. You can find Inspect.exe in your Windows SDK and run it in UIA mode to compare with AutoIt Info tool.
There are some other tools supporting UIA (TestStack.White (C#), Winium.Desktop (C#) and some direct UIA wrappers on other languages like pyuiautomation on Python). pywinauto 0.6.0 added MS UI Automation support.
UIA support for AutoIt; 24 Apr 2009 AutoIt forum thread. Plans may have changed, but it's the top result for a "AutoIt WPF support" Google search.
In order to use Autoit Window info tool in Win10 you should use 64bit version exe.
Au3Info_x64.exe
Common location is C:\Program Files (x86)\AutoIt3\Au3Info_x64.exe

Using OpenCV 2.3.1 with Windows Form Application in visual studio 2010 express

I want to make a GUI that shows two rectangles, one for normal camera input and other for camera output after some image processing, using windows form application in visual studio 2010 express. can you help me with the basic steps of configuring windows form application with OpenCV. I am pretty much familiar with using OpenCV in win32 console applications.
Thanks in advance...
May I suggest Qt instead of windows form application..? It will give you more freedom for future development and at the same time give you the power to go cross-platform. There is a very nice video tutorial on YouTube which you can use as a base. Plus, OpenCV and Qt work very nicely together.
However, if your bigger app needs windows forms, you could follow this tutorial which shows how to integrate OpenCV with windows forms.
HTH

VB macro or office addin for mac

Currently we developed a VB macro for word. While we tried to use it on mac it failed with message "VB Macro not supported in mac".
Is there a way to c# office add-in for mac?
My requirement is to have a simple utility to add comments(read from user) to the selected text in the current word document. Also need the functionality of the OpenFileDialog.
Mac Office does not (i.e. no longer) support COM/VBA automation. This means that you won't be able to use code from your existing Windows add-in.
In order to automate Mac Office you would have to make use of Automator Actions. I am not very familiar with these, but I believe that they are less feature-rich than the VBA object model of the Windows edition.
The following page has some Actions to get you started:
Microsoft Office Automator Actions
Update: It seems that the new Mac Office 2011 comes again with some support for VBA automation.

Resources