Groups > WordPerfect Office > WordPerfect X3 > Re: Macro run code




Re: Macro run code

Re: Macro run code
Sat, 05 Apr 2008 11:10:57 -050
Say, I want to run w:\t.wcm.  I am going to run it from the standard X3 
install.

So, I enter this as the program to run in a Window Task Schedule:
"c:\Program Files\WordPerfect Office X3\Programs\ps130.exe"
/#/m-w:\t.wcm

You can also pass parameters in this way too.  In the t.wcm macro, I get 
the passed parameter value by MacroArgs[1], MacroArgs[2] and so on.
Post Reply
Macro run code
Sat, 05 Apr 2008 11:12:11 -040
Does anyone know how I would get Windows XP to run a WPX3 macro at 
midnight every day?

This code should

1.) At an appointed time every day, say 12 midnight
- Check to see if the computer is hibernating.
- If hibernating then wakes it up and runs my EmailHarvestMacro#1.
- If computer is turned off then it runs the EmailHarvestmacro#1 the 
next time it is turned on.
- If computer is on then it runs the procedures as explained below, but 
pauses and displays a message box that announces that it is going to run 
a macro and gives me time to stop doing other things.

Vic
Post Reply
Re: Macro run code
Sat, 05 Apr 2008 11:31:15 -040
I see that Windows XP has a task scheduler in the Control Panel.

So my problem is really how do I get my EmailHarvestMacro#1 to show up 
in that list of programs to schedule.

Vic


Victor Ouellette wrote:
> 
> Does anyone know how I would get Windows XP to run a WPX3 macro at 
> midnight every day?
> 
> This code should
> 
> 1.) At an appointed time every day, say 12 midnight
> - Check to see if the computer is hibernating.
> - If hibernating then wakes it up and runs my EmailHarvestMacro#1.
> - If computer is turned off then it runs the EmailHarvestmacro#1 the 
> next time it is turned on.
> - If computer is on then it runs the procedures as explained below, but 
> pauses and displays a message box that announces that it is going to run 
> a macro and gives me time to stop doing other things.
> 
> Vic
> 
Post Reply
Re: Macro run code
Sat, 05 Apr 2008 11:52:36 -040
It appears that the PerfectScript Dlg window that comes up when I 
schedule a WPX3 macro will not run that macro but waits for user 
interaction. Is there a way to make this Perfect Script dlg window play 
the macro automatically?

Vic




Victor Ouellette wrote:
> 
> I see that Windows XP has a task scheduler in the Control Panel.
> 
> So my problem is really how do I get my EmailHarvestMacro#1 to show up 
> in that list of programs to schedule.
> 
> Vic
> 
> 
> Victor Ouellette wrote:
>>
>> Does anyone know how I would get Windows XP to run a WPX3 macro at 
>> midnight every day?
>>
>> This code should
>>
>> 1.) At an appointed time every day, say 12 midnight
>> - Check to see if the computer is hibernating.
>> - If hibernating then wakes it up and runs my EmailHarvestMacro#1.
>> - If computer is turned off then it runs the EmailHarvestmacro#1 the 
>> next time it is turned on.
>> - If computer is on then it runs the procedures as explained below, 
>> but pauses and displays a message box that announces that it is going 
>> to run a macro and gives me time to stop doing other things.
>>
>> Vic
>>
> 
Post Reply
Re: Macro run code
Sat, 05 Apr 2008 12:32:37 -040
On my computer the task scheduler in the window called Select Program to 
Schedule, the File name box will not allow the name
"c:\Program Files\WordPerfect Office X3\Programs\ps130.exe"
/#/m-w:\t.wcm

It says it is an invalid name.


nor will it allow
c:\Program Files\WordPerfect Office X3\Programs\ps130.exe /#/m-w:\t.wcm

Is there some way to get the /#/m-w:\t.wcm  (which I have changed to my 
drive and macro name


Vic




Kenneth Hobson wrote:
> 
> Say, I want to run w:\t.wcm.  I am going to run it from the standard X3 
> install.
> 
> So, I enter this as the program to run in a Window Task Schedule:
> "c:\Program Files\WordPerfect Office X3\Programs\ps130.exe"
/#/m-w:\t.wcm
> 
> You can also pass parameters in this way too.  In the t.wcm macro, I get 
> the passed parameter value by MacroArgs[1], MacroArgs[2] and so on.
> 
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact