List all active windows with dbus - dbus

I'm trying to create a dock from scratch but I'm still stuck in the list of active apps, I searched for it and found "wmctrl", but I would like to use dbus as the main idea. Any suggestion?

Related

UFT 12.01 - Doesn't recognize objects in .Net desktop application

We are working on .Net desktop Empower application, which is completely developed on .Net 4.0 version framework. We are using UFT(QTP) 12.01 as automation tool.
when I am trying spy on any object it's treating as SwfObject instead of it's original property, I tried recording way and it doesn't recognize properly in expected way, for ex: if I spy on Menu bar with list of icons and dropdown menus, UFT recognizing everything as single SWFObject and no use. It's behaving the same way for all the objects.
Selected ADD Ins are : Web, .Net, WPF, Active X, Visual Basic
And also "Infragistics Inc." is used as CompanyName which I have come across in Properties spy window.
We are trying to contact HP support guys too.. meanwhile can somebody post the solution if you come to know, Thanks a million in advance !!
I hope you got solution, If not please use below help,
We are using Desktop application and it developed in Adobe flex, First we got same problem what you are facing later we found soultion, May be it will help you.
Open your desktop application with UFT tool and later try spy or object repository it will recognise.
To open application using UFT we used systemutil.run "application path"
To further elaborate on sateesh response, the following ways:
launch application using Systemutil
Systemutil.Run "C:\Program\YourApplication.exe"
some other tips: https://www.learnqtp.com/ways-to-launch-your-application.
HP UFT menu: Run > Record and run settings
Thanks I appreciate your help, we figured out the issue. We used Keyboard strokes for the objects which do not have tag names or recognizing the objects as a single SWFObject.

How to create structure for Apps to later added for a HMI WPF software

I'm currently creating a HMI software using WPF to control some hardware system. One of the key goals is to create apps for this HMI software that can be installed at a later time. The idea comes is Similar to that of the iOS apps or android apps where by the apps installed can be chosen by the user.
Is there any structure that can be used in WPF to realise this.
I believe a manifest file need to be created for the main HMI software to access these newly installed apps.But what type of file system can be accessed by the main hmi software to display the newly installed apps.
I don't think there is an out-of-the box way to do that using WPF.
I have seen an example on codeproject that showcases how a WPF application loads an executable inside a container (notepad to be exact).
What you could do us create your hmi app store with WPF and have several EXE file (your apps) that can either be added or removed to your display. It might get tricky if you need to implement a communication channel between the container and the running apps, that depends a bit on what you want to achieve exactly.
I hope this can get you started!

Cocs2d-x + XAML on windows phone 8

A couple of weeks ago the new cocos2d-x (version 2.2.1) was released with great support for windows phone. However, there is one thing missing in the templates and examples: integration of XAML with Cocos2d-x. A feature that is absolutely necessary for free to play games that use ads since every single ad network uses a silverlight component.
I tried to implement the integration myself but I am stuck and all I get is a black screen. I used the following strategy for implementing it:
modified the CCEGLView class. The create method takes the follwing arguments:
bool CCEGLView::Create(In IDrawingSurfaceRuntimeHostNative* host, In ID3D11Device1* device)
in the XamlComponent class of the visual studio template I have added CCApplication member variable and the Connect methos create the CCEGLView and runs theCCAplication.
Everything compiles without any errors and runs without any crashes. However, the screen remains black :-( My guess is that the drawing surface / windows is not correctly passed but I do not know how I can do this.
Any help and ideas appreciated.
Cheers
Tom
Cocos2dx 2.2.1 used native mode, currently it's not support XAML+native hybrid mode.
CoreWindow is a fundamental component, do you remove all the referene to CoreWindow?
You can look up from this project, they've a branch for wp8+waml.
https://github.com/MSOpenTech/cocos2d-x/tree/wp8-xaml

Create a .dll from a Silverlight Web Application

I programmed a Virtual Keyboard (On Screen Keyboard) as a Silverlight Web Application, now I want to use this Keyboard in an other Silverlight Application (call the Keyboard when clicking a Textbox). I thought I could create a .dll and use this in my other Application.
So is it possible to create a .dll File from a Silverlight Web Application?
Thank you for reading,
Knut Hansen
You simply need to convert it into a Silverlight Class Library. There are some things to look out for, but it isn't too hard.
It is one of the options when you create a new project in Visual Studio.
See Microsoft's documentation for more info:
http://msdn.microsoft.com/en-us/library/cc838164(v=vs.95).aspx#silverlight_class_library_project
also you can think of a web service, in this way your application can be used by anyone else, of course you can specify users of your app. I think web services are more recent and using them is more future-oriented, give it a go!

How to use Windows Biometric Framework (WBF) in WPF application?

I'm working on WPF application which should identify user using Fingerprint Reader.
It seems Windows Biometric Framework (WBF) is good enough for this task but I can't found examples where I can see how it can be used in my WPF application. Couple found examples use WBF to verify user currently logged in.
But my application should work with custom users and windows authentication is not acceptable.
I found also small MSDN article where described three sensor pools, one of them should be used in my situation. It is not clear how I can move Fingerprint Reader device between pools, where to get C# wrapper for Biometric API and how all of these things can be used together.
I'm using UPEK Eikon as fingerprint reader device and Windows7 based tablet PC where my application should run.
Could you please help and give me examples and links on useful resources?
Thanks
Dmitry
There are complete C++ examples in the WBF documentation NOW.
I'd like to know where you:
"found examples use WBF to verify user currently logged in"
as those should then show you how to call the WBF API from WPF.

Resources