Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > RealBasic: text field to variable?

RealBasic: text field to variable?
Thread Tools
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 14, 2001, 10:08 PM
 
With realbasic, how can I set the contents of a text field to a variable in AppleScript. Here is the idea.. I want to set the contents of a text field to the variable "theContents" then I want to activate an applescript:

display dialog theContents

Easy enough, right? Thanks.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Oct 15, 2001, 12:43 PM
 
Use the AppleEvent's stringParam("---") or similar method. If you don't have a clue about AppleScript on RB, have a look at this oldish but very good article: http://www.nd.edu/~jvanderk/rbm/5-99/coverstory.html
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:22 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2