Steve Martino Posted January 28, 2016 Posted January 28, 2016 Hi Forum. I had a question about how to select a window, when multiple windows are opened. Brief explanation. I am on a layout with 1 window open, called Delivery Management-regular document window. I import records to this layout then open via script 2 more windows with information I need to look at while working in the first window. Both of these are floating windows. When the script ends (the 2nd and 3rd window open), I'm left on the 3rd window. I would like to land on the first window so I can resume working. What I tried, that didn't work for me: 1. Select Window [Name: "Delivery Management"; Current file] // I made sure it was typed correctly by copying/pasting the name from Layout set up 2. Named a field in the first layout "Paid" and used, Go to Object [Object Name: "Paid"] // Also didn't work 3. Go to Field (in first layout) also didn't work. Is it just that you cant select a document window when you have floating windows open, or am I just missing something easy/obvious? Thanks Steve
webko Posted January 28, 2016 Posted January 28, 2016 Personally, once I've finished with these viewing/editing windows, I make sure the script closes them. In my testing, going to the named Window works (FM13A Mac) - check if the script throws a 112 error at that point.
Steve Martino Posted January 29, 2016 Author Posted January 29, 2016 (edited) Thanks webko!. I did get the 112 error. Then stared at it a while and realized in the script I named the window the layout name, and not the actual window name...DOH!!!! I need the 2 floating windows open because the contain data that needs to be analyzed/adjusted as I look through the imported records. Good tip in general Thanks again Edited January 29, 2016 by Steve Martino additional info
Recommended Posts
This topic is 3576 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now