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