OT: Show and Select in Finder

Sivakatirswami katir at hindu.org
Thu Mar 3 03:05:23 EST 2005


Danka Shein (??)

"pfad"

Though I try to stay away from "too much fun" variable names,
lest we break the prudish, yet prudent, law of "intelligent 
nomenclature"
I will definitely add this to my list

jai
hrim
shrim
hoom
*pfad*

:-) LOL

Mahalo  !@  {Hawaiian Thank You]

Om shanti
Sivakatirswami


On Mar 2, 2005, at 5:09 AM, Klaus Major wrote:

> Yes :-)
>
> on mouseUp
>   put fld 1 into pfad
>  ## This is the filename!
>  ## pfad = german for path
>
>   replace "/" with ":" in pfad
>   put "tell application " & quote & "Finder" & quote & cr &  
> "activate" & cr & "select " & quote & (pfad) & quote & cr &  "end 
> tell" into tScript
>   do tScript as AppleScript
> end mouseUp
>
> Et voila, the file is show AND selected! in its parent window in the 
> finder.



More information about the Use-livecode mailing list