Text 2 Speech Application to Read User Activities in Windows OS - c#

I am working on an application using c# that will implement normal Text to Speech functionality using the Speech Synthesizer. One other functionality I want to implement is something similar to the Narrator Accessibility tool that comes with the Windows OS. The application should be able to go to background and read out information on what ever the mouse points at in any application.
Does any on know any library I can call or implement, that will make this possible? I am using Visual Studio 2010 Professional.
Thanks

Take a look at the System.Speech namespace - it should contain everything you will need.

Related

C# Winform menustrip inside titlebar, like found in adobe programms or office without losing windows autodock feature

I am currently developing a winform application and want to implement a titlebar that includes a menustrip as can be found in other applications I use. Some examples that come to mind would be applications from office or adobe. From what I understand, they both use customized Titlebars and disable the default one, which I was able to accomplish, however when using customized resize/move methods, the windows autodock feature is lost which I would like to preserve and perhaps there is some windows library or api I can call to customize the feature to my custom titlebar? Thanks in advance

Blueprism-like spying and bot development

Blueprism gives the possibility to spy elements (like buttons and textboxes) in both web-browsers and windows applications. How can I spy (windows-based only) applications using Python, R, Java, C++, C# or other, anything but not Blueprism, preferrably opensource.
For web-browsers, I know how to do this, without being an expert. Using Python or R, for example, I can use Selenium or RSelenium, to spy elements of a website using different ways such as CSS selector, xpath, ID, Class Name, Tag, Text etc.
But for Applications, I have no clue. BluePrism has mainly two different App spying modes which are WIN32 and Active Accessibility. How can I do this type of spying and interacting with an application outside of Blueprism, preferrably using an opensource language?
(only interested in windows-based apps for now)
The aim is of course to create robots able to navigate the apps as a human would do.
I guess you are using selenium for web-browsers
There is also some projects for windows based applications working with a Windows Driver.
Take a look to the project on github, it may be what you are looking for.
https://github.com/2gis/Winium
https://github.com/microsoft/WinAppDriver
Autoit: https://www.autoitscript.com/site/
It also comes with an identify mode for application elements and is has a big community
There is a free version of Blue Prism now :) Also Blue Prism uses win32, active accessibility and UI Automation which is a newer for of the older active accessibility.
To do this yourself without looking into Blue Prism you would need to know how to use UIA with C#/VB.new or C++. There are libraries however given that Blue Prism now has a free version I would recommend using that. Anything specific can be developed withing a code stage within Blue Prism.

Windows Phone Programming Visual Studio

I am programming some applications for the Windows Phone and am looking for some standard debugging practices that I cannot figure out how to do in a Windows Phone project in Visual Studio.
How can I print statements to the command line just for debugging purposes in a windows phone project?
Can I use MessageBox.show() (it seems that I cannot import System.Windows.Forms)
All help is appreciated!
you can use Debbugger.Log which will output to debug window
http://msdn.microsoft.com/en-in/library/system.diagnostics.debugger.log(v=vs.95).aspx
Indeed, you cannot import System.Windows.Forms from a Windows Phone project. In the case of WP7 you will program using a subset of Silverlight. With that in mind, there is a Message Box control in Silverlight for WP7 using the System.Windows namespace: http://msdn.microsoft.com/en-us/library/system.windows.messagebox(VS.95).aspx
I suggest that you approach your debugging needs by leveraging unit tests instead of printing to the Message Box.
For advanced tracing and logging you may want to take a look on
Silverlight and WP7 Exception Handling and Logging building block
NLog for Windows Phone
You can simply use Debug.WriteLine(Something); just like Console.WriteLine(Something);. The Something will automatically be converted to string. This is as simple as it can get.
As indicated, you can indeed use MessageBox control. It's present in System.Windows namespace. You can also use some third party toolkit like Coding4Fun if you need customized messagebox.

Program Advice Directx with C#

What I am using:
Visual Studio 2010
Windows Media Center
Language C#
The Program
A part of my program needs to display movies by their covers and be able to scroll through them, much like netflix. I was told that directx would be good to accomplish this. Basically I just want it to be easy to view, use, and flow nicely.
Help?
Any Ideas as to what to use. (I was also looking into writing it as a pluggin for windows media player, but i read somewhere you can only have html based menus?)
Any suggestions would be appreciated.
Thanks
-Scott
Have a look at the following.
http://channel9.msdn.com/Blogs/scobleizer/Charlie-Owen-Your-first-Media-CenterVista-application-and-a-look-at-their-secret-room
The problem with using Direct3D for an application like this is that you have to start creating your own window manager.
You don't have the default events available to you and you will have to basically create your own GUI which is easier in WPF as those events and helpers exist.

C# windows mobile skins or fancy controls

I am developing an application for a window mobile 6 using Visual Studio C# 2008 SP1.
However, the design of the application is very plain using the standard windows controls.
The application I am making is a phone that will be installed on WM6, so I am looking for controls that I can drag on to the form that resemble something that looks like a phone. Or just skins.
Any 3rd party controls or skins that can do this would be better? However, I don't mind paying for some if they fit for my application needs.
If there isn't any, any ideas how to make them myself? Any website tutorials?
Many thanks for any advice,
Steve
I make a Ink component for Pocket PC check this at http://velocityink.codeplex.com/ if you interested.

Categories