Re: Drop Activation on Mac/Win
On 19/6/01 7:29 pm, Peter Reid [EMAIL PROTECTED] wrote: I'm trying to write a small file conversion utility and I'd like to be able to drag and drop a source file on to the icon for a standalone written in MetaCard. The idea is that it starts up and opens the source file, converts it into a result file and then either awaits another drop on its icon (or File menu Convert command) or simply closes. This is mainly for the Mac but it would be handy if worked on the PC as well. I tried using the $0, $1 command line parameters, but they simply return the name of my standalone program, not the file dropped onto its icon. Any ideas please? On the Mac, you need to use an appleEvent handler. Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! Tel: +44 (0)131 718 4333. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Drop Activation on Mac/Win
On 19/6/01 7:29 pm, Peter Reid [EMAIL PROTECTED] wrote: I'm trying to write a small file conversion utility and I'd like to be able to drag and drop a source file on to the icon for a standalone written in MetaCard. The idea is that it starts up and opens the source file, converts it into a result file and then either awaits another drop on its icon (or File menu Convert command) or simply closes. This is mainly for the Mac but it would be handy if worked on the PC as well. I tried using the $0, $1 command line parameters, but they simply return the name of my standalone program, not the file dropped onto its icon. Any ideas please? On the Mac, you need to use an appleEvent handler. Kevin Can you be more specific please?! Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576 E-mail: [EMAIL PROTECTED] Web: http://www.reidit.co.uk Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Drop Activation on Mac/Win
Use the externals collection. That sort of works! In fact I find I often get a Type 2 error on my Mac when I try drag drop - this leads to a system freeze. Also, even the externals collection doesn't provide a solution to dropping onto the icon of a closed standalone application. Compare this with Word say, where you drop a Word doc onto its icon causing it to launch and open the file which was dropped onto it. So, I still only have a partial solution that it buggy! Hi I'm trying to write a small file conversion utility and I'd like to be able to drag and drop a source file on to the icon for a standalone written in MetaCard. The idea is that it starts up and opens the source file, converts it into a result file and then either awaits another drop on its icon (or File menu Convert command) or simply closes. This is mainly for the Mac but it would be handy if worked on the PC as well. I tried using the $0, $1 command line parameters, but they simply return the name of my standalone program, not the file dropped onto its icon. -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576 E-mail: [EMAIL PROTECTED] Web: http://www.reidit.co.uk Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Drop Activation on Mac/Win
Use the externals collection. Hi I'm trying to write a small file conversion utility and I'd like to be able to drag and drop a source file on to the icon for a standalone written in MetaCard. The idea is that it starts up and opens the source file, converts it into a result file and then either awaits another drop on its icon (or File menu Convert command) or simply closes. This is mainly for the Mac but it would be handy if worked on the PC as well. I tried using the $0, $1 command line parameters, but they simply return the name of my standalone program, not the file dropped onto its icon. Any ideas please? Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576 E-mail: [EMAIL PROTECTED] Web: http://www.reidit.co.uk Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.