• 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: check alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check alias


  • Subject: Re: check alias
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 29 Sep 2009 08:50:20 -0700


On Sep 29, 2009, at 8:31 AM, Rounak Jain wrote:

Wait!! I am not playing with beeps!! :)

This is the script, i am struggling with:
http://tinyurl.com/y9kk644

set theitems to {"some paths to files/folders"}

try
	set ifolder to (last item of theitems as text)
	-- Leopard:Users:whatever:Desktop:
	set filestomove to items 1 thru -2 of theitems

You can’t get item -2 of a one-item list.

-- Michelle

-- "The past is like a foreign country. They do things differently there." --Leslie Poles Hartley

_______________________________________________
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: check alias
      • From: Rounak Jain <email@hidden>
References: 
 >Re: check alias (From: Rounak Jain <email@hidden>)

  • Prev by Date: Re: check alias
  • Next by Date: Re: Detecting when URL has been loaded in Safari???
  • Previous by thread: Re: check alias
  • Next by thread: Re: check alias
  • Index(es):
    • Date
    • Thread