You are here: Re: Sending a String from php script to separate app « PHP Programming Language « IT news, forums, messages
Re: Sending a String from php script to separate app

Posted by Jerry Stuckle on 05/30/06 13:29

drec wrote:
> I have a very simple mysql/php script that is being used to store
> program keys in a db for multiple users. I would like to add the
> ability to send these string values to another application. In doing
> some research it looks like the VB function SendKeys is what I would
> like to be able to do using PHP. Simply copy and pasting these values
> will not work, because the string is 20 + characters long, and the
> applications where these strings are being pasted into break these
> strings into 4 or more separate entry blanks. Therefore, only pasting
> the first 5-6 characters.
>
> In order for this to work correctly, I need to somehow make the
> application think the string to be copied is being typed in, or if
> there is some way to emulate tab spacing in the copied string.
>
> Any ideas?
>

Sorry, you can't emulate keyboard input in PHP. And if the copied string had
tabs, they would be handled as tab characters within the window, not as commands
to switch to another window.

If this is on Windows, you may be able to do it with an ActiveX control. But
there's no way to do it natively in PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация