Author |
Message |
LaZ3R
|
Posted: Wed Nov 07, 2007 7:09 pm Post subject: Is it possible to... |
|
|
Make turing actually perform specific key inputs?
So make turing actually type the letter T or symbol @?
I want to create a neat program but would require to know whether or not this is possible. Any idea's ladies and gentlemen?  |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Clayton

|
Posted: Wed Nov 07, 2007 7:14 pm Post subject: RE:Is it possible to... |
|
|
I'm not sure what exactly you mean. In what sense? |
|
|
|
|
 |
HeavenAgain

|
Posted: Wed Nov 07, 2007 7:26 pm Post subject: RE:Is it possible to... |
|
|
code: | put "l"..
delay (150)
put "i"..
delay (150)
put "k"..
delay (150)
put "e"..
delay (150)
put " "..
delay (150)
put "t"..
delay (150)
put "h"..
delay (150)
put "i"..
delay (150)
put "s"..
delay (150)
put "?" |
cough cough... |
|
|
|
|
 |
Nick

|
Posted: Wed Nov 07, 2007 7:37 pm Post subject: RE:Is it possible to... |
|
|
i beleive he means to another running aplication such as a web browser |
|
|
|
|
 |
CodeMonkey2000
|
Posted: Wed Nov 07, 2007 7:47 pm Post subject: RE:Is it possible to... |
|
|
code: | var output : string := "Or rather this?"
for x : 1 .. length (output)
put output (x) ..
delay (100)
end for |
|
|
|
|
|
 |
Nick

|
Posted: Wed Nov 07, 2007 7:59 pm Post subject: RE:Is it possible to... |
|
|
or maybe
|
|
|
|
|
 |
syntax_error

|
Posted: Wed Nov 07, 2007 10:23 pm Post subject: Re: Is it possible to... |
|
|
um..... do you mean for an input of the user output a random char?
if that is the case simple
get input
put randint cast it into a char forgot how to do that in turing...
but ya
and if you want each inputed letter to be entered as another char
then i think 26 if statements would work
for example
Turing: |
if input='a'
then
input :='any other char you want'
end if
|
|
|
|
|
|
 |
Zampano

|
Posted: Wed Nov 07, 2007 10:47 pm Post subject: Re: Is it possible to... |
|
|
Sounds pretty illegal!
I don't know of any command that might help you steal other people's personal information (joking ). |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Nick

|
Posted: Wed Nov 07, 2007 10:51 pm Post subject: RE:Is it possible to... |
|
|
lmao i know ur joking but im wondering where u came up with that |
|
|
|
|
 |
Tony

|
Posted: Wed Nov 07, 2007 11:42 pm Post subject: Re: Is it possible to... |
|
|
LaZ3R @ Wed Nov 07, 2007 7:09 pm wrote: Make turing actually perform specific key inputs?
If you are thinking of what I think you are thinking... then that is system specific, so no, Turing can't do that.. not directly. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
LaZ3R
|
Posted: Thu Nov 08, 2007 5:07 pm Post subject: RE:Is it possible to... |
|
|
Meh, thought so. Thanks Tony.
For the rest of you who assumed I don't know how to input text... just wow ..
I meant like creating a turing program which could run in the background and actually type out characters on it's own. Basic idea was to make a screen capturing program like Fraps. Didn't think it was possible but wanted to ask anyways. Guess my initial question was slightly confusing  |
|
|
|
|
 |
Tony

|
Posted: Thu Nov 08, 2007 5:36 pm Post subject: RE:Is it possible to... |
|
|
Turing can't take screenshots outside of its own window either
And Fraps isn't really a screen capture program.. in a way that you can't make screencasts with it. Fraps hooks into either DirectX or OpenGL (or both? I don't remember the options available) and logs the render frames. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
|