You declare the object outside the script/function but initialize it in the function as normal var object vs_jaws Function AutoStartEvent() vs_jaws = = GetObject("Connect") EndFunction On 10/28/12, Andy B. <sonfire11@xxxxxxxxx> wrote: > I was wondering how you make an object globally available? I have this code > in the AutoStartEvent: > > > Var object vs_jaws = GetObject("Connect") > > > > Which tends to work, but how do you make it available outside of the > AutoStartEvent? > > > > > > __________ï > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > -- Soronel Haetir soronel.haetir@xxxxxxxxx __________ï View the list's information and change your settings at http://www.freelists.org/list/jawsscripts