launch-creator - (source) get a file "double-clicked" from

Source in C, Pascal, etc. Note: apps that come with source should be included here as well as the appropriate software directory.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
launch-creator - (source) get a file "double-clicked" from

Post by Info-Mac » June 23rd, 1996, 9:00 am

Download: http://archive.info-mac.org/dev/src/launch-creator.hqx

What: get any file/folder "double-clicked" from within a running program

Keywords: launch, Finder, scripting, AppleEvent

Language: C++, CodeWarrior9
System: System 7.x (7.5.3) but probably 6.x is OK, too.
Comments to: [email protected], [email protected]
Version 1.1, June 1996

New in version 1.1
- the name of a file/folder to open can be specified either as an
ASCII C string, or as a FSSpec
- included (and shown off) code to convert FSSpec to the full path name
(and how it can be used to figure out the full path name to the
system folder and the stuff within)
- now works under CW9 (the previous version was compiled with
Symantec C++ 6.0)
Post Reply