How to find the GUI elements in Desktop page using Sikuli without taking Image Screenshot - sikuli-x

I am able to capture GUI elements in Desktop page using Sikuli by taking image screenshot..Can any one help me how to find GUI elements in Desktop page using Sikuli without taking image Screenshot?

Related

Get an image from the screen (not whole screen) using Windows API

I can take a screenshot of all the screen or for an application using windows API, as detailed here and here.
However, my question is how can I take a screenshot of an image in the screen, for example only the image of the orange in this screen:
I found this artical, and tried to get the handle of this image but without success.
Edit: I need it not only for web pages, so Selenium and others are not an option.

Where are the GUI Screenshot images saved in NetBeans

I am using NetBeans IDE which comes with a GUI screenshot button .
I take a screenshot using the GUI screenshot button and all i get is these
Where is these "Snapshot of " image saved on my computer ??
How do i save these image to my computer ???
Urm, I don't think it is really an image - it just lets you inspect the Swing UI controls.

How to drag&drop online images with HTML5?

I'm currently testing drag & drop. Drag & dropping an image from my desktop works fine, but I'm facing a problem : when I drag & drop an "online" image (from another website, or even from the same webpage using a , the variable e.dataTransfer.files is empty.
To sum up what I'm trying to do : You drag an image from your desktop to my page (inside a special zone), then it displays the image inside a <canvas>. I'd like to be able to drag an image from my page also, to say something like "Hey, you can first try with these images !".
For the basics of drag & drop, I got inspiration from this tutorial : http://www.html5rocks.com/en/tutorials/dnd/basics/
Because drag&drop online is interpreted as link, not as file transfer. You must first save the picture on your desktop and it will then be intepreted as real drag&drop.
But, since you already have the pictures on your page, you could reach your goal by filling your canvas with your existing images (e.g. using javascript).
P.S.: Drag&Drop works the way you want only if you use 2 different browsers, for example drag a picture from IE into FF. For that you need load your page in 2 different browsers.

xna 4 taking desktop screenshot

Am currently working on a new application at work and am needing some help.
Basically I need to take real time screenshots of an application running on the users desktop(not my application) then warp the image using a shade and display the wrapped screenshot at 60 frames a second.
I have a windows form application that does this but I am getting 6 frames a second and when I scale this up to 1600x1600 it drops to 2fps.
So I thought that if I could do this in xna and move as much as possible to the GPU it would speed it up.
So I have googled and googled and cant find any information on how to get a screenshot of a running application in xna other than my xna application.
Thanks for any help.
You can use XNA or additionaly the DWM or GDI+ to get the full desktop. Here are some links which can help you:
Capture screenshot of hidden desktop
Is there a way to take a screenshot of the user's Windows desktop?
C: take screenshot
What is the best way to take screenshots of a Window with C++ in Windows?
Take screen shot in XNA
I think there is no way to get a window screenshot of another application. You can use some pattern detection code to find out where a window is but I do not recommend this.

Dashcode question - OnClick image to fullscreen?

I have a web app I'm building in Dashcode, currently every thing is working as advertised. I'm using the browser template and was able to modify it a bit, got the xml working to connect images and their description. Now I want to add a simple OnClick event that sends the image to fullscreen but I can't find any documentation for that. I'm pretty sure this is easily done so I'm missing something here? Any help greatly appreciated.
Tom
Taking over the screen is a bit complicated (if your talking about a full screen experience like youtube), but full screen in the browser window is defiantly possible. The simplest method is to have the click event open a link to the image location. This would load the image in full resolution in the browser window. A more elegant approach would be to load the image url into the source of a image dashcode object. and have that objects visibility only appear overs the whole web app when the Oncick event occurs. If you are talking about a built in function in dashcode to achieve a full screen/browser image, your out of luck.

Resources