Re: Tool for debugging droplets
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