Re: How to use XFCNs & XCMDs in Rev?
I'm pretty sure that they'd only work under Mac OS 9. Best, Mark On 27 Feb 2007, at 15:52, Joe Lewis Wilkins wrote: Dave, while we're at it, and I know this has been asked and answered a kajillion times: is there any chance that HC XCMDs and XFCNs will work with Rev? They were created with CompileIt mucho years ago! Joe Wilkins On Feb 27, 2007, at 5:45 AM, Dave wrote: Hi. Something like this should do it: on preOpenStack local myExternalFilePathName set the externals of this stack to empty put into myExternalFilePathName -- -- Have to test for a folder here since on MacOS X the external is a bundle which looks like a folder to RunRev -- if there is a folder myExternalFilePathName then put myExternalFilePathName & cr into myExternalFilePathName set the externals of this stack to myExternalFilePathName else beep answer "External File Not Found: " & cr & myExternalFilePathName end if end preOpenStack Hope this Helps All the Best Dave On 27 Feb 2007, at 12:53, Tim MacKenzie wrote: How do you install and use XFCNs and XCMDs in Rev? - Tim MacKenzie ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to use XFCNs & XCMDs in Rev?
Hi Dave and Joe, Hi, I'm really not sure, but I guess it would depend on the Platform. I'm pretty sure it won't work under MacOS X, but under Windows it may well work since I think the DLL format is compatible. I'm afraid that you can ONLY use HC XCMDs and XFCNs with REV on Mac OS <= 9.x. These are code resources stored in the resource-fork of the stacks and the format is not compatible with the OS X "bundle" or Windows "DLL" format. You will have to convert them to the necessary format, but I have no idea how this could be done. Maybe they have to be re-compiled into the necessary formats. All the Best Dave On 27 Feb 2007, at 15:52, Joe Lewis Wilkins wrote: Dave, while we're at it, and I know this has been asked and answered a kajillion times: is there any chance that HC XCMDs and XFCNs will work with Rev? They were created with CompileIt mucho years ago! Joe Wilkins On Feb 27, 2007, at 5:45 AM, Dave wrote: Hi. Something like this should do it: ... Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to use XFCNs & XCMDs in Rev?
Tim MacKenzie wrote: How do you install and use XFCNs and XCMDs in Rev? In most casess, you won't need to because Revolution is so feature-rich that most of the things HyperCard required XCMDs to do are already built into Revolution. So before you even try to use an XCMD, see if the feature is already available in native Revolution. In all the years I've been using Revolution, I have only had to use an external two or three times. Virtually everything I used to use HC XCMDs for can be done in regular scripting. If you really, really do need an XCMD or XFCN, be aware that they will only work on OS 9 standalones. If you want to use them in OS X, you'll need to program a Revolution external (different than an XCMD) using the Revolution API. There is currently no OS 9 engine for the latest Revolution build, so you will need to regress to 2.6.x to get that engine when buildling a standalone. Once you have that and have built the standalone, open a resource fork using ResEdit (or similar) and install the XCMD just as you did with HyperCard. After that, usage is the same as in HC. Just call the XCMD using the syntax you used in HC. One other thing: only XCMDs/XFCNs that use the older 1.0 interface will work. XCMDs that use the 2.0 format cannot be used. This means that basically any XCMD written after HC 2.0 was released cannot be used. Given all the restrictions on XCMDs/XFCNs in Revolution, it is really much better to see if you can rewrite the functionality using native syntax. Revolution is so fast that a native solution almost always runs faster than an XCMD because you avoid the overhead of calling out to an external. If you want to let us know about some of the XCMDs/XFCNs you need, we can probably tell you how to do the same thing in native scripts. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to use XFCNs & XCMDs in Rev?
Hi, I'm really not sure, but I guess it would depend on the Platform. I'm pretty sure it won't work under MacOS X, but under Windows it may well work since I think the DLL format is compatible. All the Best Dave On 27 Feb 2007, at 15:52, Joe Lewis Wilkins wrote: Dave, while we're at it, and I know this has been asked and answered a kajillion times: is there any chance that HC XCMDs and XFCNs will work with Rev? They were created with CompileIt mucho years ago! Joe Wilkins On Feb 27, 2007, at 5:45 AM, Dave wrote: Hi. Something like this should do it: on preOpenStack local myExternalFilePathName set the externals of this stack to empty put into myExternalFilePathName -- -- Have to test for a folder here since on MacOS X the external is a bundle which looks like a folder to RunRev -- if there is a folder myExternalFilePathName then put myExternalFilePathName & cr into myExternalFilePathName set the externals of this stack to myExternalFilePathName else beep answer "External File Not Found: " & cr & myExternalFilePathName end if end preOpenStack Hope this Helps All the Best Dave On 27 Feb 2007, at 12:53, Tim MacKenzie wrote: How do you install and use XFCNs and XCMDs in Rev? - Tim MacKenzie ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to use XFCNs & XCMDs in Rev?
Dave, while we're at it, and I know this has been asked and answered a kajillion times: is there any chance that HC XCMDs and XFCNs will work with Rev? They were created with CompileIt mucho years ago! Joe Wilkins On Feb 27, 2007, at 5:45 AM, Dave wrote: Hi. Something like this should do it: on preOpenStack local myExternalFilePathName set the externals of this stack to empty put into myExternalFilePathName -- -- Have to test for a folder here since on MacOS X the external is a bundle which looks like a folder to RunRev -- if there is a folder myExternalFilePathName then put myExternalFilePathName & cr into myExternalFilePathName set the externals of this stack to myExternalFilePathName else beep answer "External File Not Found: " & cr & myExternalFilePathName end if end preOpenStack Hope this Helps All the Best Dave On 27 Feb 2007, at 12:53, Tim MacKenzie wrote: How do you install and use XFCNs and XCMDs in Rev? - Tim MacKenzie ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to use XFCNs & XCMDs in Rev?
Hi. Something like this should do it: on preOpenStack local myExternalFilePathName set the externals of this stack to empty put into myExternalFilePathName -- -- Have to test for a folder here since on MacOS X the external is a bundle which looks like a folder to RunRev -- if there is a folder myExternalFilePathName then put myExternalFilePathName & cr into myExternalFilePathName set the externals of this stack to myExternalFilePathName else beep answer "External File Not Found: " & cr & myExternalFilePathName end if end preOpenStack Hope this Helps All the Best Dave On 27 Feb 2007, at 12:53, Tim MacKenzie wrote: How do you install and use XFCNs and XCMDs in Rev? - Tim MacKenzie ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
How to use XFCNs & XCMDs in Rev?
How do you install and use XFCNs and XCMDs in Rev? - Tim MacKenzie ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution