Javascript to Jscript? - powerpoint

I need help with this...
I've found a javascript app online in which I want to insert into powerpoint for a presentation...
Vb support jscript
Can i convert Javascript to Jscript some how? or can someone help me with it....
If wanted just ask for code or site

JScript is Microsoft's implentation of Javascript. So, the language is compatible. However, this app you found online almost certainly requires that it be run in a browser environment. The environment that Powerpoint runs any scripts in (like JScript) will be very different.
In other words, you can't do it unless there's some way to embed a browser in your Powerpoint presentation.

Related

is there anyway to embed an OLE object in Word under macos and use an external program to process the OLE object when double clicking?

guys!
we are developing a formula editor.
we want to insert our formula in Word (the formula image is normally displayed in Word) and edit again, just like xlsx files.
when double clicking, we want to launch our editor program to edit the formula and then replace it in Word.
we have already done that on Windows, but under the macOS, we are confused because we do not know how to implement them.
can you please tell me if that possible? is there a similar function implementation of office word under macos?
any advice or suggestion is welcome!
No, it is not possible because OLE is based on the COM technology which exists on Windows only.
As a possible solution you may consider creating an Office web add-in which can be installed on all platforms from web browsers to Mac OS. See Develop Office Add-ins for more information.
You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team go through the planning process.

How can I automate filling a Word template form?

I am just beginning automated testing, and I need to test the functionality of a template in Microsoft Word on both Mac and Windows 10. This template comes complete with what I believe is a VB form. I want to populate the form, and then read the saved file. Does anyone know how I might be able to do this with Python, Java, or something else?
Since, that is a desktop app, you can't use Selenium.
You can try sikulix or AutoIt.

Is there any way to automate the testing of flash within web pages using Watir-Webdriver?

I am attempting to test several web pages built in Flex, and need to automate clicking on several videos through the Flash interface. I'm using Ruby and Watir-Webdriver, but I'm not sure how to interact with Flash using them.
Has anyone figured this out? I've tried using Sikuli, but have found it to be a little clunky and not very fast. Any ideas would be greatly appreciated.
I will quote myself:
It is important to say that Watir CAN NOT control browser plugins like
Java applets, Adobe Flash or Microsoft Silverlight.
From https://github.com/zeljkofilipin/watirbook/blob/master/about.md
There is a way though. You can embed javascript into your ruby watir script.
It has worked for me
browser.execute_script <<-JS
Global.videoPlayer.sendEvent("play")
JS
Similarly you can do a pause or stop based on the controller on the player
Enjoy !!

Editor for end user documentation in C# WinForm app

I'm developing a WinForm app in c# 4.0 and would like other (non-developer) colleagues to contribute writing a context sensitive end-user helpfile. First I thought I could use "HTML Help Workshop" from Microsoft, but it seems outdated (Vista and Windows 7 not supported).
Then I've looked at Sandcastle, but the documentation is lacking and I wonder if it is suitable for non-technical users to write end-user documentation.
So I read about RoboHelp, but it's way to expensive for me.
I'm getting lost in all the information that is available about helpfiles. Can someone help give some best practices or information on what tools to use and what output format I should target (still chm or other).
Great question. I like your idea of non-developers contributing to the end-user documentation.
This idea might motivate users and testers of your application to easily contribute to the documentation.
The first thing that comes to my mind, is using a some sort of wiki engine. You could build a simple function in your WinForm application, that fires up a browser and directs in to the wiki. You could use the context from which it is called to build up an url; e.g. http://dev-wiki.mycompany.com/LoginForm?action=edit. Here the name of the form ("LoginForm") is used in the url of a wiki page.
Alternatively, you could simply use the embedded web browser control for WinForms to access the wiki. That would look something like:
var url = GetWikiUrl(myForm);
browserControl.Navigate(url);
This would be very easy to embed in your application.
In a controlled (office) environment, this would be very easy to set up. In you production environment it might be a bit more difficult, but still doable. It might leverage some end-user contributions too.
For writing documentation, I use sphinx.
It lets you document in plain text and has various output formats (chm, html, pdf etc.).
Some of these (chm, html) can be used as context-sensitive help sources.
However simple, the sphinx user-interface (text editor and make file) might not be suitable for non-technical users.
I would recommend to use Help+Manual for creating CHM documentation. It's similar to MS Word and any PC user can start to contribute doc development after short education.
But this tool isn't free :(

Is it feasible to write a Firefox plugin to make use of ActiveX control on Windows?

I use an ActiveX control called TAPIEx enabling TAPI phone system integration using MS Access 2000 (+Visual Basic). I want to turn this Access database into a web app with the clients running Firefox (all on internal network).
Since Firefox doesnt support ActiveX is it feasible for me to write a Firefox plugin that in turn utilizes the ActiveX control?
With regard to how plugins work - Would I be able to call 'functions' of the plugin from page script (eg dial call specifying phone number, check if calls in process)? Would adding these functions to the Firefox right click menu 'globally' inside Firefox be easier?
Hope you guys can help. Note I'm not a fulltime programmer; I just need to know how steep the learning curve will be or even if my idea is possible!
Ive now found a project to allow using activex controls in firefox that seems to be quite up to date at:
http://code.google.com/p/ff-activex-host/
Theoretically, yes you could write a Firefox plugin with C++ that talked to the ActiveX component via COM. But the learning curve for both COM and C++ FF plugins are both horribly steep. I wouldn't recommend it.
As Kalmi says, just use IE.

Resources