Search found 7 matches

by PHG-CWF
Mon Nov 15, 2010 9:12 pm
Forum: Beginners
Topic: Login field names?
Replies: 2
Views: 4215

Thanks! That worked!
by PHG-CWF
Mon Nov 15, 2010 6:08 pm
Forum: Beginners
Topic: Login field names?
Replies: 2
Views: 4215

Login field names?

I' writting a script which involves login into to Peachtree accounting. When I open Peachtree, it automatically starts the login window with the user name of the last person to login in, and is focused on the password. How do I tell it to switch focus to the user name? ("setFocus>user name" has no e...
by PHG-CWF
Sat Nov 06, 2010 4:19 pm
Forum: Beginners
Topic: Still can't switch focus
Replies: 4
Views: 5707

That did not work. I got an error saying the window did not exist. As I said, the name of the window is "* PACIFIC HOME & GARDEN INC. - Peachtree Accounting" I'm not adding the asterisk for search purposes, its part of the name. Interestingly, when I put the asterisk back, the whole script works now...
by PHG-CWF
Fri Nov 05, 2010 8:32 pm
Forum: Beginners
Topic: Still can't switch focus
Replies: 4
Views: 5707

Thanks.

The asterisk is part of the window name. Its some weird thing Peachtree does. And it works to open and close when only Peachtree in involved.

I added the Let>STEP_DELAY=500 and Send>fa, but it still ceases to function after the report is exported. It just stops doing anything.
by PHG-CWF
Fri Nov 05, 2010 2:45 pm
Forum: Beginners
Topic: Still can't switch focus
Replies: 4
Views: 5707

Still can't switch focus

Ok, I'm a newbie and not a coder and don't want to be. I just need to get one thing automated to save me time. This is supposed to export a report from Peachtree Accounting to Excel, then save the Excel sheet in a specific folder. I chunked the script and ran the Peachtree and Excel parts separately...
by PHG-CWF
Fri Oct 29, 2010 11:53 am
Forum: Technical / Scripting
Topic: Can't focus or close windows
Replies: 3
Views: 4931

mtettmar wrote:Maybe it is busy when you're trying to close it. Perhaps you need to wait for it finish whatever it is doing. A bit drastic, but if you want to close the entire application you could try killing it's process using the KillProcess command in v12.
I tired a 20 second wait and waitwindowclose.
by PHG-CWF
Wed Oct 27, 2010 7:34 pm
Forum: Technical / Scripting
Topic: Can't focus or close windows
Replies: 3
Views: 4931

Can't focus or close windows

I'm writing my first script to open Peachtree Accouting, export a report to Excel, save the report, then close both programs. I can get the script to open Peachtree and export the report, but afterward it will not setfocus on any window or close any window. I've tired Alt+F4, CloseWindow, SetFocus+C...
Sign up to our newsletter for free automation tips, tricks & discounts