Hi
I'm very new to this.
I'm trying to use the print function i.e. in add action i have the following:
-- print the specified file
File.Print(string "Autoplay\\Docs\\prog3ect.doc");
-- check to see if an error occurred
error = Application.GetLastError();
-- if an error occurred, display the error message
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
end
The error message i get is: OnClick, line 2: attempt to call global 'string' (a table value)
I'm very new to this.
I'm trying to use the print function i.e. in add action i have the following:
-- print the specified file
File.Print(string "Autoplay\\Docs\\prog3ect.doc");
-- check to see if an error occurred
error = Application.GetLastError();
-- if an error occurred, display the error message
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
end
The error message i get is: OnClick, line 2: attempt to call global 'string' (a table value)
Comment