I would try using Lingon. On Wed, Feb 22, 2012 at 6:30 AM, Rudolf O. Durrer <[email protected]> wrote: > There's no error message. > I also tried to refer to the executable, and to omit the open command, with > no avail... > > Note:The LaunchAgents launch without problems on the Mac Mini, also running > with SnowLeo: but they are written slightly otherwise as shown below. > But even this version does not run on the MBP: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" > "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>Disabled</key> > <false/> > <key>Label</key> > <string>com.durrer.startups.dragthing</string> > <key>ProgramArguments</key> > <array> > <string>open</string> > <string>/Applications/Programme > (Benutzer)/Dragthing.app</string> > </array> > <key>RunAtLoad</key> > <true/> > </dict> > </plist> > > Rudolf > > Am 21.02.2012 um 19.03 schrieb Nathan Sims: > >> You haven't stated what error message you receive from launchd or how you've >> tried to launch it, but you might try getting rid of the "open" command and >> refer directly to the executable: >> >> <key>ProgramArguments</key> >> <array> >> <string>/Applications/Programme\ >> \(Benutzer\)/DragThing.app/Contents/MacOS/DragThing</string> >> </array> >> HTH, >> -Nate >> >> >> On Feb 21, 2012, at 6:55 AM, Rudolf O.Durrer wrote: >> >>> Hi >>> >>> I tried to write a short launchagent for Dragthing.app >>> I first tried: >>> <?xml version="1.0" encoding="UTF-8"?> >>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" >>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >>> <plist version="1.0"> >>> <dict> >>> <key>Label</key> >>> <string>LaunchDragthing</string> >>> <key>Program</key> >>> <string>open /Applications/Programme\ >>> \(Benutzer\)/DragThing.app</string> >>> <key>RunAtLoad</key> >>> <true/> >>> </dict> >>> </plist> >>> >>> This thing did not load. >>> >>> So I tried a modification: >>> <?xml version="1.0" encoding="UTF-8"?> >>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" >>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >>> <plist version="1.0"> >>> <dict> >>> <key>Label</key> >>> <string>LaunchDragthing</string> >>> <key>ProgramArguments</key> >>> <array> >>> <string>open</string> >>> <string>/Applications/Programme\ >>> \(Benutzer\)/Dragthing.app</string> >>> </array> >>> <key>RunAtLoad</key> >>> <true/> >>> </dict> >>> </plist> >>> >>> No succes, launchd will not launch..... >>> What do I have to change >>> Rudolf >>> >>> >>> _______________________________________________ >>> MacOSX-talk mailing list >>> [email protected] >>> http://www.omnigroup.com/mailman/listinfo/macosx-talk >> > > _______________________________________________ > MacOSX-talk mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/macosx-talk
-- Best Regards, John Musbach _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk
