Since there is no way that aware can run a process when a tab gets focus, wondering if anyone has written a script (so I don't have to reinvent the wheel), that can run (and call an aware process) when a tab gets focus?
The reason I need this is that I have a customer query and when the user selects a customer, it opens a NEW tab with the customer's orders. The user can do this again (and again) and now have 2 or more new tabs with orders for different customers. I have an option on the top menu to create new orders. I need to know which customer I am creating the order for. I have an attribute in RegularUser with the "selectedCustomer" but if there are 2 windows, I have no clue which tab the user selected.
If anyone has a better solution, I am all ears, but it seems like I do need to have a process run when the tab gets focus to update the regularUser. (although, I am not sure how I will get the current selected customer.. thats another matter).
bruce