Search found 7 matches
- Mon Nov 15, 2010 9:12 pm
- Forum: Beginners
- Topic: Login field names?
- Replies: 2
- Views: 4215
- 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...
- 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...
- Fri Nov 05, 2010 8:32 pm
- Forum: Beginners
- Topic: Still can't switch focus
- Replies: 4
- Views: 5707
- 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...
- Fri Oct 29, 2010 11:53 am
- Forum: Technical / Scripting
- Topic: Can't focus or close windows
- Replies: 3
- Views: 4931
I tired a 20 second wait and waitwindowclose.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.
- 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...