Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 9th, 2024, 12:25 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Simulate Keypress in a variable!!
PostPosted: June 8th, 2010, 8:48 pm 
Offline

Joined: June 6th, 2010, 6:31 am
Posts: 1
Opus: 6
OS: windows 7
i wanna a button that simulate the BackSpace on a variable, i know how clean all, but dont the last letter!! i already see how works a keyboard that i downloaded in a topic this forum, but i think that it was done in a old version of Opus.. because the command that have the button backspace dont works on my version of Opus the Command is "Left (VarName)" it just clean all..

Opus 6

thanks for attention^^


Top
 Profile  
 
 Post subject: Re: Simulate Keypress in a variable!!
PostPosted: June 8th, 2010, 10:17 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
This works;

Code:
myVar = "interaktiv"
Debug.trace(String.left(myVar,4))


Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group