wirch@gumby.UUCP (12/09/85)
I'm working on a little program that will launch an ABasic program from the Workbench. As some of you have heard, if ABasic sees 'init.bas' in the directory when it starts up, it runs that program. I played with OpenLibrary("icon.library",1)... Does this return a pointer to the currently active Workbenchbase struct? I'm looking for the filename of the icon that was just double-clicked, and I can use the Workbenchbase struct's wb_CurrentObject pointer, then look down into that WBObject's wo_Name... But the thing returned from OpenLibrary() is not apparently a Workbenchbase pointer. Does anyone have a clue about this? The manual doesn't say alot about about the Workbench... Rick