• 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: Tool for debugging droplets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tool for debugging droplets


  • Subject: Re: Tool for debugging droplets
  • From: kai <email@hidden>
  • Date: Sun, 26 Feb 2006 02:18:40 +0000


On 26 Feb 2006, at 02:12, I wrote:

The following variation...

Sorry, that should have been:

----------------

on |quoted text| from v
	try
		{v}'s v
	on error v
		set d to text item delimiters
		set text item delimiters to "{"
		set v to v's text from text item 2 to end
		set text item delimiters to "}"
		set v to v's text beginning thru text item -2
		set text item delimiters to d
		v
	end try
end |quoted text|

to |copy run handler| from alias_list
	tell application "Script Editor" (* or your editor of choice *)
		activate
		set the clipboard to "on run" & return & "open " & my ¬
			(|quoted text| from alias_list) & return & "end run"
	end tell
end |copy run handler|

to open alias_list
	|copy run handler| from alias_list
end open

tell application "Finder" to tell (get selection) to if (count) > 0 then
	repeat with i in it
		tell i to set contents to it as alias
	end repeat
	return my (|copy run handler| from it)
end if
display dialog "Please select required Finder item(s)." buttons ¬
	{"OK"} default button 1 with icon 1

----------------

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Tool for debugging droplets (From: Walter Bushell <email@hidden>)
 >Re: Tool for debugging droplets (From: kai <email@hidden>)

  • Prev by Date: Re: Tool for debugging droplets
  • Next by Date: Re: Tool for debugging droplets
  • Previous by thread: Re: Tool for debugging droplets
  • Next by thread: Re: Tool for debugging droplets
  • Index(es):
    • Date
    • Thread