Launch Creator C
Launch Creator C
| Filename | launch-creator-c.hqx |
|---|---|
| Size | 4.0 KB (4086 bytes) |
| Year | 1991 |
| Mac OS | System 7 |
| Downloads | 4 |
Enjoying MacTrove?
Anonymous downloads are free and unlimited.
Create a free account to track favorites,
contribute metadata corrections, and join the
community chat.
About
What: get any file "double-clicked" from within a running program Contents: launcher.cc - code itself (commented) vlauncher.cc - verification routine Language: Symantec C++ 6.0 (though worked for Think C 5.0, too) System: System 7.x, but probably 6.x is OK, too. Note: needs standard environment, see myenv-notify.cpt Comments to: oleg@ponder.csci.unt.edu, oleg@unt.edu
Explanation: This is a simple program that, given a file name, launches an application-creator and has it handle the file. If the file is an application, it is launched itself. The net result is exactly the same as if the user had double-clicked on the file. Synopsis void open_selection(const char * full_path_name) Where the 'full_path_name' tells the full path name of the file that should be "double-clicked". Though, a relative path name would do, too. The present program achieves the magic by sending an 'Open Selection' event to the Finder. It is significantly based on the FinderEvents stack by Jon Pugh and Apple Computer, Inc. (C) 1991-92 Apple Computer, Inc.) (which is written in Pascal and _very_ big and messy)
File Info
This file is part of the MacTrove archive. See the Thank You page for the upstream mirrors we rely on. It is BinHex encoded — use The Unarchiver to decode it.
Related apps