|
-
Jul 25th, 2002, 02:27 PM
#1
Thread Starter
Registered User
Macro accept PERL system() variables?
Hi all,
I currently have a PERL script that calls a MS Word macro via system(), the macro does it's thing and returns to the PERL script to finish.
I would like to know how I could pass to the MS Word macro some constants from the PERL script. This is what I have on the PERL side:
(all those scalars are actually constants within the PERL script)
@args = ($vbmacro, $file1, $file2, $file1.".txt", $file2.".txt", $file1.".doc", $file2.".doc", $source, $dest);
system(@args) == 0 or die "system @args failed: $?";
My question is...how do I get the macro to "accept" those passed arguments? (how can I know if the macro recognizes and can use those arguments)??
Thanks in advance!
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|