04-02-2005, 05:24 PM
This is the command line, and the first function in the folder is called “QuickBooks” (I’ve repeated it below) If there is nothing obvious in that main function then I can send the other functions. As I said, the system works fine as long as I do not set the folder properties to be “Application”. The other functions called are all executable functions. I found I had to make them executable in order to run them with the mac command and thus have them run asynchronously.
Command Line:
"C:\Program Files\Quick Macros 2\qmcl.exe" M "QuickBooks" A "Admin" "C" "QBW32.exe" "QuickBooks Pro 2004" "QuickBooks Pro" "Zap LLC.QBW" "\Zap" "\Qbooks" "California Sales Tax Rates.txt"
Function called “QuickBooks”:
Thanks, Craig
Command Line:
"C:\Program Files\Quick Macros 2\qmcl.exe" M "QuickBooks" A "Admin" "C" "QBW32.exe" "QuickBooks Pro 2004" "QuickBooks Pro" "Zap LLC.QBW" "\Zap" "\Qbooks" "California Sales Tax Rates.txt"
Function called “QuickBooks”:
function str'User str'MainDataDrive str'QBexecutable str'QBflavorAndEdition str'IntuitExeDir str'DataFile str'CompanyFolder str'SalesTaxDataDir str'Saletaxdatafile
str ExtSTaxDataDir.from(MainDataDrive ":" CompanyFolder SalesTaxDataDir)
str QBDataFile.from(MainDataDrive ":" CompanyFolder "\Qbooks\" DataFile)
str QBProgFile.from("C:\Program Files\Intuit\" IntuitExeDir "\" QBexecutable)
str WindowName = QBflavorAndEdition
str adminfile.from(MainDataDrive ":" CompanyFolder "\Qbooks\" "admin requests.txt")
if(dir(adminfile))
,mes("Administrator has control of QuickBooks. Try again Later" "Administrator Message")
,end
mac "Run_QuickBooks" "" QBDataFile QBProgFile QBflavorAndEdition User ;;terminates
mac "CustomerData_for_Zap" "" WindowName ExtSTaxDataDir Saletaxdatafile ;;stays resident
mac "send_admin_function" "" adminfile WindowName ;;stays residentThanks, Craig
