02-22-2005, 08:45 PM
I've been able to program a number of macros to wait in the background and execute when a particular window is created in QuickBooks. I've used
act(wait(0 WC "Customer:Job Not Found")) with 100% success.
Now I want to create a macro that waits for the creation of the "Edit Customer", but I simply cannot get it to work.
It appears to be a child window, and when it is activated manually (in normal use, without a macro program), the field with the customer name is highlighted. I have tried numerous configurations of the Wait, and Act functions without success.
I have edited the properties to create a trigger, and using the Drag capability it creates the following trigger text
!a"My Company - QuickBooks Pro 2004" "MauiFrame" "Edit Customer" "MauiForm"
That does not work either - (however, I am not very certain I understand when and how "triggers" created through properties are activated.)
Do you have any suggestions? Thanks!
Craig
act(wait(0 WC "Customer:Job Not Found")) with 100% success.
Now I want to create a macro that waits for the creation of the "Edit Customer", but I simply cannot get it to work.
It appears to be a child window, and when it is activated manually (in normal use, without a macro program), the field with the customer name is highlighted. I have tried numerous configurations of the Wait, and Act functions without success.
I have edited the properties to create a trigger, and using the Drag capability it creates the following trigger text
!a"My Company - QuickBooks Pro 2004" "MauiFrame" "Edit Customer" "MauiForm"
That does not work either - (however, I am not very certain I understand when and how "triggers" created through properties are activated.)
Do you have any suggestions? Thanks!
Craig