discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

StepTalk script to set app wrappers in Dock.app


From: Frederico Muñoz
Subject: StepTalk script to set app wrappers in Dock.app
Date: Mon, 14 Jun 2004 22:38:45 +0100

Hello,

One of the things that have been bugging me in the GWorkspace Dock.app (that 
I've been suing extensively) is the fact that applications launched trough App 
Wrappers don't behave properly due to the missing notifications.

With this in mind I made a simple script using StepTalk (wonderful framework) 
that works for me; I haven't extensively test it but I'm quite please with the 
results... app wrappers now behave as normal GNUstep applications in what 
regards the Dock.

I send the .st file in attach; I consider it a first workable version, but 
probably mroe could be refined. One thing in particular hat I'm still missing 
is deregistering the application from gdomap and the GWorkspace "Applications" 
tools. Probably missing some notification...

To test it:

o Be sure to have StepTalk installed
o Copy this file somewhere
o In the appwrapper executable just write:
   stexec <script-location> <AppName> <cmdPath>
  e.g.
  stexec /Local/Library/StepTalk/awlaunch.st Mozilla /usr/bin/mozilla-firefox
o To be on the safe side name the script executable in the appwrapper according 
to the app's name, e.g, if the wrapper is named Mozilla.app be sure to name the 
NSExecutable Mozilla.
o Launch the app using GWorkspace or openapp; it should appear in the Dock when 
running and should dissapear when the application closes.

Best Regards,

Frederico Muñoz


<awlaunch.st>

Attachment: awlaunch.st
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]