Le 9.3.2004 10:58, Klaus Major � [EMAIL PROTECTED] a �crit:

What may I do without you Klaus?:-)

Thank you!!!

> Bon jour Fran�ois,
> 
>> Hello!
>> 
>> Is it possible to open a window in the finder from a button on the
>> card?
>> 
>> In fact, I want to put on my card a button whos says "show Folder
>> R�sultats
>> in Finder" (of course, the label's button will be shorter!:-)
>> 
>> Thank you very much every body!
> 
> This littel handler will open a folder just like doubleclicked in the
> finder...
> 
> You just have to supply the path to the folder you want to be opended.
> 
> on apfelschreib pfad
>  replace "/" with ":" in pfad
>  put "tell application " & quote & "Finder" & quote & cr &  "activate"
> & cr & "open " & quote & (pfad) & quote & cr & "end tell" into tScript
>  do tScript as AppleScript
> end apfelschreib
> 
> Applescript is needed, of course...
> 
> 
> 
> This one will show and select a file in a finderwindow,
> in case you need this one, too ;-)
> 
> Here the complete path to the file has to be supplied
> 
> on apfelschreib pfad
>  set the itemdel to "/"
>  put item -1 of pfad into datei
>  delete item -1 of pfad
>  replace "/" with ":" in pfad
>  put "tell application " & quote & "Finder" & quote & cr &  "activate"
> & cr & "reveal " & quote & (pfad) & quote & cr & "end tell" into
> tScript
>  do tScript as AppleScript
> end apfelschreib
> 
> Hope that helps...
> 
>> Amicalement
>> Fran�ois
> 
> Regards
> 
> Klaus Major
> [EMAIL PROTECTED]
> www.major-k.de
> 
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 


Amicalement
Fran�ois
--------------------------------------------------------------------------

Fran�ois Cuneo
Au Champ du Pr�
1353 Bofflens

e-mail: mailto:[EMAIL PROTECTED]

Web Cuk New Technologies, programmes �ducatifs pour Mac: http://www.cuk.ch
Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles

T�l: ++41 (024) 441.17.81
Fax: ++41 (024) 441.17.05



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to