• 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
Re: Display Status Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display Status Window


  • Subject: Re: Display Status Window
  • From: John Delacour <email@hidden>
  • Date: Thu, 20 Mar 2003 00:46:35 +0000
  • Mac-eudora-version: 6.0a11

At 3:33 pm -0600 19/3/03, Darwin Zins wrote:

I'm just trying to understand how I would redistribute it. I am very new to applescript and I am also new to Apple/Mac.

Could you outline the steps I would need to go through to include a dialog with my application?


Here's a way to do it without anything but standard applications, so you would need to include nothing in the distribution. All you need to do is make sure that the TextEdit is visible to the user.


makeProgressWindow()
repeat with i from 1 to 100
my logprogress(i)
end repeat
--___________________________________________________
on logprogress(s)
set s to s as string
tell application "TextEdit" to set text of document 1 to s
end logprogress
on makeProgressWindow()
set f to "" & (path to "cusr") & "progress"
open for access file f
close access file f
tell application "TextEdit"
open {alias f}
set bounds of window 1 to {0, 0, 300, 200}
end tell
end makeProgressWindow
_______________________________________________
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.

References: 
 >Re: Display Status Window (From: Darwin Zins <email@hidden>)

  • Prev by Date: Re: "tell" is opening *classic* QuickTime Player, not OSX version!
  • Next by Date: Re: max script size
  • Previous by thread: Re: Display Status Window
  • Next by thread: Eudora users - Did you know that...
  • Index(es):
    • Date
    • Thread