• 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
My first applescript studio app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My first applescript studio app.


  • Subject: My first applescript studio app.
  • From: Bernardo Hoehl <email@hidden>
  • Date: Tue, 27 Jul 2004 16:15:18 -0300

Hi folks!

I am trying to play around with XCode and trying to build my first app.

Please forgive for asking basic questions... If anyone can point me to
some good tutorial, I apreciate.

I have a good old applet that does a curl shell script comand, and
writes me a log file with the data, I am trying to get an applescript
studio app to display a window with the log file.

I changed the applescript code below to make things more understandle:

on clicked theObject -- Indded, My applet used the "on idle" But this
is only for tests.
set MyText to "Beginin of text." & return
repeat while true
set MyScript to do shell script "ls /"
set MyText to MyText & MyScript
set contents of text field "Primary" of window "Main" to MyText
return 5
end repeat
end clicked

I thought this code would just repeat itself every 5 seconds after
clicked, but it doesn't. I only get the text from one "ls" each time I
manually click the function. Why?

How do I get an applescript studio app to be repeating itself?

Again I want MyText to acumulate the Contents of MyText each time it
repeats.

Thanks to you alll.

Bernardo

Rio de Janeiro - Brazil
_______________________________________________
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.


  • Follow-Ups:
    • Re: My first applescript studio app.
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: I cannot even successfully have the Finder make a folder on the Desktop!
  • Next by Date: Display Dialog (get Password?)
  • Previous by thread: Re: I cannot even successfully have the Finder make a folder on the Desktop!
  • Next by thread: Re: My first applescript studio app.
  • Index(es):
    • Date
    • Thread