• 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: Copy to list Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy to list Question


  • Subject: Re: Copy to list Question
  • From: Skeeve <email@hidden>
  • Date: Thu, 16 Apr 2009 08:43:38 +0200

Oakley Masten schrieb:
The answer appears to be NO if using only AppleScript.

Still it seems stupid to me, but here is a solution that might satisfy you:

property var1 : "Cat"
property var2 : "Dog"
property var3 : "Mouse"
property var4 : "Cheese"

on run
set ListThings to {}
set commandstart to "set mycopy to load script (\"" & (path to me) & "\" as alias)" & return & "return "
set commandend to " of mycopy"
set i to 1
repeat
try
run script commandstart & "var" & i & commandend
on error
exit repeat
end try
copy the result to the end of ListThings
set i to i + 1
end repeat
return ListThings
end run


_______________________________________________
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
References: 
 >Re: Copy to list Question (From: Oakley Masten <email@hidden>)

  • Prev by Date: Re: Copy to list Question
  • Next by Date: Re: Copy to list Question
  • Previous by thread: Re: Copy to list Question
  • Next by thread: Re: Copy to list Question
  • Index(es):
    • Date
    • Thread