• 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: delay 1 millisecond in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delay 1 millisecond in Panther


  • Subject: Re: delay 1 millisecond in Panther
  • From: Deivy Petrescu <email@hidden>
  • Date: Fri, 13 Feb 2004 19:57:37 -0500

At 12:02 AM +0800 2/14/04, Bill wrote:
Do you think Smile is suitable for the task?

Yes.

Maybe you don't know but Smile includes a graphic library, which your friend may appreciate - you can display not only words but actually anything.

Finally, in Smile you can make a UI, which may also help your friend.

Bravo!

The only problem is that he doesn't know applescript ;)


merci beaucoup
bill

Bill, just to have some fun!
Run this code in a Smile window
<script>

property cueWord : "tomorrow"
property targetWord : "yesterday"
tell application "Smile"
activate
tell window 1
--- puts the code in the clipboard
set theclip to contents
set the clipboard to theclip
set the contents to ""
--save old bounds
set oldbounds to bounds
-- place the window in a specified position
set bounds to {170, 280, 870, 490}
-- sets first word to space
set word 1 to space
-- sets font size to 127 points
set text size of word 1 to 142
-- display cue word for 0.02 second
set word 1 to cueWord
smilepause 0.01
-- display blank for 0.5 second
set word 1 to space
smilepause 0.5
-- display target word for 1 second
set word 1 to targetWord
smilepause 0.01
-- display blank again
set word 1 to space
smilepause 1
set the contents to ""
set text size of word 1 to 9
--- puts the code back
set the contents to the clipboard
--- puts the window back
set bounds to oldbounds
end tell
-- close window
--close window 1 without saving
end tell
</script>
--
Regards
Saudagues

Deivy
http://www.dicas.com
_______________________________________________
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: delay 1 millisecond in Panther (From: Bill <email@hidden>)
 >Re: delay 1 millisecond in Panther (From: Emmanuel <email@hidden>)
 >Re: delay 1 millisecond in Panther (From: Bill <email@hidden>)

  • Prev by Date: Re: delay 1 millisecond in Panther
  • Next by Date: More ichat scripting
  • Previous by thread: Re: delay 1 millisecond in Panther
  • Next by thread: Re: delay 1 millisecond in Panther
  • Index(es):
    • Date
    • Thread