• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Ronald Hofmann <email@hidden>
  • Date: Sat, 21 Sep 2002 18:15:55 +0200

A question for those who are experienced in AppleScriptStudio

I4m missing something. I4m trying to make a small application and want
to put a greeting in the first window when the app starts. Something
like "Hi Ronny, how are you?" .
I placed a textfield in the window and gave it the name "UserName" at
the AppleScript panel. Then I connected the text field with an
AppleScript and determined that this should happen "on awake from nib"
and here is the Applescript:

on awake from nib theObject -- This is automatically created by
ProjectBuilder
set the contents of text field "UserName" of window "Main" to "Hi
Ronny"
end awake from nib

This doesn4t work but I don4t know why. In addition to the text field
there is a tab object and three buttons.

Any clues?

Ronald
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Unicode to plain text
  • Next by Date: Mail attachment
  • Previous by thread: Re: (no subject)
  • Next by thread: Help! Need to get text from OS X Mail to Tex-Edit...
  • Index(es):
    • Date
    • Thread