Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Is it possible to...
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
LaZ3R




PostPosted: 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? Razz
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: Wed Nov 07, 2007 7:59 pm   Post subject: RE:Is it possible to...

or maybe
code:

put chr(116)
syntax_error




PostPosted: 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




PostPosted: 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 Very Happy ).
Sponsor
Sponsor
Sponsor
sponsor
Nick




PostPosted: 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




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
LaZ3R




PostPosted: 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 .. Razz

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 Smile
Tony




PostPosted: 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 Razz

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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: