Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Communicator

macrumors newbie
Original poster
Hi, this is my first post!

New to Mac and been enthusiastically using Geektool and Geeklets to personalise a MacBook Pro over the last few day.

I came a across the script posted below to show a random quote (originally posted on www.macosxtips.co.uk by Bluereef).

On my Macbook, I want to show 3 repeating lines of text, not Randomly), eg.
This is the property of: (then)
John Smith (then)
Tel. +XX 8787676767 (then return to show the 1st line again, and repeat each line at about 5s intervals.

The code below worked because I use only 2 lines for now, so random doesn't really apply!

I've read most of the postings in the Geektool threads, am a convert to Mac, am of an age that remembers the birth of Windows, and know nothing about Applescript ----- so any help doctoring the script for my purposes would be appreciated.
Thanks.


(Original Script Below)

set newline to ASCII character 10

set quoteFile to POSIX file "/Users/papabear/Documents/Scripts/Quotes.txt"

open for access quoteFile

set quoteList to every paragraph of (read quoteFile)

set list_count to the count of quoteList

set pick to random number from 1 to list_count

set finalText to item pick of quoteList as string

close access quoteFile

finalText
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.