Rank: 3279 based on 35 downloads (last 30 days) and 2 files submitted
photo

Phillip

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Phillip View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Jan 2013 Screenshot KeyInject Send key strokes to any window from within Matlab Author: Phillip key stroke, send, window, interprocess communic..., mex 17 5
  • 5.0
5.0 | 2 ratings
01 Dec 2010 Screenshot TextInject A mex file to send text to any other application. Author: Phillip windows, application, text, send, mex 18 13
  • 4.0
4.0 | 5 ratings
Comments and Ratings by Phillip View all
Updated File Comments Rating
21 Dec 2014 TextInject A mex file to send text to any other application. Author: Phillip

Hi Amirhosein,

Yes! Here is one I prepared earlier :)

http://www.mathworks.com/matlabcentral/fileexchange/40001-keyinject

16 Oct 2014 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera

Using this across a broad range of applications, very handy.

17 Sep 2014 Log-polar image sampling Resamples an image from a conventional grid to a log-polar grid, and back. Author: David Young

Works as advertised, good job. Am using this to recover rotation/scale for image registration.

30 Jul 2014 xlswritefig Write a MATLAB figure to a Microsoft Excel spreadsheet. Author: Michelle Hirsch

22 Jul 2014 KeyInject Send key strokes to any window from within Matlab Author: Phillip

Oh yes, I meant hidden windows. It seems that some applications have all sorts of sub-windows or "Children" floating around behind the scenes.

I have another submission called "textInject" which you may want to look at. You specify the name of the main window for the application, and some (x,y) co-ordinates in pixels within that window. Then it uses a Windows API function called ChildWindowFromPoint to obtain a handle to the Child window at that location. The downside is that it cannot handle Alt/Ctrl keys etc, as I used a different function which makes it more practical to type text (SendMessage as opposed to SendKey). But I can probably revise this way of doing things if needed.

Comments and Ratings on Phillip 's Files View all
Updated File Comment by Comments Rating
21 Dec 2014 TextInject A mex file to send text to any other application. Author: Phillip Phillip

Hi Amirhosein,

Yes! Here is one I prepared earlier :)

http://www.mathworks.com/matlabcentral/fileexchange/40001-keyinject

19 Dec 2014 TextInject A mex file to send text to any other application. Author: Phillip Amirhosein Ghenaati

hello i want to send keyboard key to a software like press a key from keyboard in a software not a string can you solve this?

19 Dec 2014 TextInject A mex file to send text to any other application. Author: Phillip Amirhosein Ghenaati

hello i want to send keyboard key to a software like press a key from keyboard in a software not a string can you solve this?

22 Jul 2014 KeyInject Send key strokes to any window from within Matlab Author: Phillip Phillip

Oh yes, I meant hidden windows. It seems that some applications have all sorts of sub-windows or "Children" floating around behind the scenes.

I have another submission called "textInject" which you may want to look at. You specify the name of the main window for the application, and some (x,y) co-ordinates in pixels within that window. Then it uses a Windows API function called ChildWindowFromPoint to obtain a handle to the Child window at that location. The downside is that it cannot handle Alt/Ctrl keys etc, as I used a different function which makes it more practical to type text (SendMessage as opposed to SendKey). But I can probably revise this way of doing things if needed.

22 Jul 2014 KeyInject Send key strokes to any window from within Matlab Author: Phillip Laura

hmm, I don't think it's got multiple windows, unless they're hidden, but the application does have several tabs in the main window, so maybe the tabs affect the naming?

Contact us