Studio 5 to Omnis 10.1 - Mac - Apple Events

Michael Mantkowski michaelj at clientrax.com
Fri Nov 8 16:43:14 EST 2019


I have been asked to look at an Omnis 5 library for a company whose developer has moved on.

They want to upgrade the application to work with Studio 10.1 so they can use the latest Mac OS.

The current application uses Apple Events to work with MS Excel.  Being that Apple Events are obsolete now, how would one interact with Excel on the Mac?

Here is an example of some of the code that 10.2 is flagging.

"On Hold Base.Jims Code1.Launch Excel Open Spreadsheet.1"	"Method line"	"Commented obsolete command:Enable receiving of Apple events OBSOLETE COMMAND"
"On Hold Base.Jims Code1.Launch Excel Open Spreadsheet.18"	"Method line"	"Commented obsolete command:Send finder event OBSOLETE COMMAND Open Files (FV_SPREADSHEETFULLPATH)"
"On Hold Base.Jims Code1.Launch Excel Open Spreadsheet.22"	"Method line"	"Commented obsolete command:Send finder event OBSOLETE COMMAND Open Files (FV_TEMPLATEPATH)"
"On Hold Base.Jims Code1.Save Sheet As.6"	"Method line"	"Commented obsolete command:Send finder event OBSOLETE COMMAND Open Files (LV_SAVESCRIPTPATH)"
"On Hold Base.Jims Code1.Quit Excel.1"	"Method line"	"Commented obsolete command:Set event recipient OBSOLETE COMMAND Microsoft Excel"
"On Hold Base.Jims Code1.Quit Excel.2"	"Method line"	"Commented obsolete command:Send core event OBSOLETE COMMAND Quit Application"
"On Hold Base.Jims Code1.Launch Update Script Timer.2"	"Method line"	"Commented obsolete command:Send finder event OBSOLETE COMMAND Open Files (FV_UDSALESSCRIPTPATH)"

I also plan to look for any obsolete hash variable use.  Anything else I should be on the lookout for?

Thanks!

*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************





More information about the omnisdev-en mailing list