applescript question

Yves COPPE yvescoppe at skynet.be
Thu Oct 28 08:06:18 EDT 2010


Hello,

on mac machine
I want to ask the user the name of a MS Excell file on the desktop
then

I want this script not in LiveCode language but applescript (for  
another purpose afterwards in the livecode script)

here is my applescript code that doesn't run  (!)

set le_chemin to (path to desktop) as unicode text
set le_nom to display dialog "Saisissez le nom du classeur" default  
answer ".xlsx"
set mon_classeur to le_chemin & ":" & text returned of le_nom

tell application "Microsoft Excel"
activate
open mon_classeur
end tell

Can someone help me ???

Amicalement.

Yves COPPE
yvescoppe at skynet.be



Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list