Re: Scripting Excel 2004 macros
Re: Scripting Excel 2004 macros
- Subject: Re: Scripting Excel 2004 macros
- From: yvan-koenig <email@hidden>
- Date: Thu, 3 Feb 2005 12:25:25 +0100
Le 3 févr. 2005 , à 10:32, Paul Berkowitz a écrit :
On 2/2/05 6:14 PM, "Larry McMunn" <email@hidden> wrote:
I need to call several Excel Macros at different times in a script.
if we use what we think is the correct syntax, the macro runs two
times.
…
Any ideas or
suggestions out there?
I don't know why the () version calls the macro twice,
Hello
This is not simply a feature of Excel.
Testing these two short scripts:
-- [SCRIPT appelant]
set fullPath to false
set p2d to (path to desktop) as text
set theApp to "appelé.app"
if fullPath is true then set theApp to p2d & theApp
run application theApp
-- [/SCRIPT]
-- [SCRIPT appelé.app]
(* saved as application on the desktop *)
tell application "AppleWorks 6"
activate
set laVersion to (version as text)
display dialog laVersion
end tell
-- [/SCRIPT]
I discovered that when using the full path ( set fullPath to true) ,
the script "appelé.app" run twice.
Complementary problem.
May you explain why I get the error message "Invalid connexion" when
the execution ends ?
Yvan KOENIG
_______________________________________________
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