• 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 do a goto with Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do a goto with Applescript?


  • Subject: Re: How to do a goto with Applescript?
  • From: AndrĂ© Renault <email@hidden>
  • Date: Sun, 2 Jan 2011 09:19:49 -0500

Subroutines are your friend. Or you can set something like this:

if (x=1) then
	do something
	xsol()
else if (x=2)
	do somethingElse
	xsol()
end if

on xsol()
	-- do something
end xsol

On Jan 2, 2011, at 9:15 AM, Robert Poland wrote:

> Hi,
>
> I'm sure this is a waste of time,but...
>
> Is there a way to do a goto in Applescript.
>
> If x=1 then
> do something
> goto xsol
> else if x=2 then
> do something
> goto xsol
> ...
> end if
>
> TIA,
>
> Robert Poland - Fort Collins, CO
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to do a goto with Applescript?
      • From: Robert Poland <email@hidden>
References: 
 >How to do a goto with Applescript? (From: Robert Poland <email@hidden>)

  • Prev by Date: How to do a goto with Applescript?
  • Next by Date: Re: How to do a goto with Applescript?
  • Previous by thread: How to do a goto with Applescript?
  • Next by thread: Re: How to do a goto with Applescript?
  • Index(es):
    • Date
    • Thread