PS_ADD_LAUNCHLINK(3)

okay bestie, welcome to the PS_ADD_LAUNCHLINK(3) page from the Library Functions Manual β€” yes it's a section 3 joint, we're in library-land now, get comfy ✨


πŸŽ€ NAME πŸŽ€

PS_add_launchlink β€” adds a link which launches a file πŸš€


🌸 SYNOPSIS 🌸

#include <pslib.h>

void PS_add_launchlink(PSDoc *psdoc, float llx, float lly, float urx,
float ury, char *filename)

like. that's the whole signature. six args. she's not complicated, she just knows what she wants πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So what this does is: it places a hyperlink at the position you give it, and that link points to a file program which is being started when clicked on. so click the thing β†’ the file launches. main character behavior fr fr πŸ‘‘

The hyperlink start is a rectangle, and the corners are yours to place:

  • lower left corner sits at (llx, lly)
  • upper right corner sits at (urx, ury)

and the rectangle has, by default, a thin blue border. cute, subtle, iconic 🩡

⚠️ okay listen: the hyperlink will not be visible if the document is printed or viewed. but β€” and this is the plot twist β€” it will show up if the document is converted to pdf by either Acrobat Distillerβ„’ or Ghostview. so don't panic if you can't see it, it's just living its invisible era until the pdf conversion hits πŸ™ˆβœ¨

🌈 SEE ALSO 🌈

the whole link squad, go read them too, iykyk 🫢


πŸ’œ AUTHOR πŸ’œ

This manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you for your service king 🫑


and that's the whole thing bestie!! this page lives in the PS_ADD_LAUNCHLINK(3) corner of the Library Functions Manual β€” no version number or date was ever put on it, so we're just vibing with the title as the sign-off. go forth and launch some files πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from