• 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: How to repeat forever
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to repeat forever


  • Subject: Re: How to repeat forever
  • From: Dave Balderstone <email@hidden>
  • Date: Sun, 14 Dec 2003 22:29:20 -0600

Here's one approach. I'm sure there are better ones.

set theTrigger to 0
set i to 1
repeat while theTrigger = 0
set celladdr to "R" & i & "C" & 1
set i to i + 1 -- add 1 to i
tell application "Excel"
Select Range celladdr
CopyObject Selection
set tname to the clipboard
end tell
display dialog tname
--if tname is empty then set theTrigger to 1
if (tname is "") then set theTrigger to 1
end repeat

djb
_______________________________________________
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: 
 >How to repeat forever (From: Jim Witte <email@hidden>)

  • Prev by Date: Why isn't Mail recordable?
  • Next by Date: Re: How to repeat forever
  • Previous by thread: How to repeat forever
  • Next by thread: Re: How to repeat forever
  • Index(es):
    • Date
    • Thread