Close windows

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
buba
Newbie
Posts: 3
Joined: Fri Jun 20, 2003 1:05 am

Close windows

Post by buba » Fri Jun 20, 2003 1:23 am

I need help with this script.

WindowAction>3,FileMaker*
.......

The problem is if I have the FileMaker program running, then it works fine, but If Filemaker not running, Scheduler give me an error and didnt move on to the next line.


thankyou

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Jun 21, 2003 3:51 pm

Hu buba.......try this:
=======================

IfWindowOpen>FileMaker*,CloseFileMaker
Goto>FileMakerClosed

Label>CloseFileMaker
WindowAction>3,FileMaker*
WaitWindowClosed>FileMaker*

Label>FileMakerClosed
.....
.....
.....
=================

Hope this helps.....good luck,
Bob

buba
Newbie
Posts: 3
Joined: Fri Jun 20, 2003 1:05 am

Thanky0u

Post by buba » Mon Jun 23, 2003 7:53 pm

Thank you Bob ! it works

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts