Source language: Translate to:

AUTO ACTION ON SPECIFIC KEYSTROKE

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Postby Sam Cox » Fri Aug 18, 2006 12:50 pm

In the TextChange action of your TextEntry object:
Code: Select all
SearchStr "[#13]" "[textentry1]" "[result]"
If "[result]" ">" "0"
    Alertbox "debug" "ENTER PRESSED -- TAKE ACTION HERE"
Endif
User avatar
Sam Cox
 
Posts: 768
Joined: Fri Apr 01, 2005 7:30 am
Location: Loveland CO USA

Postby Wrangler » Sat Aug 26, 2006 8:07 am

Good one Sam. Thanks. Into the snippet box it goes!
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1507
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest