Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: More REBOL IOS questions.

From: edanaii:cox at: 13-May-2002 18:32

Gregg Irwin wrote:
> Hi Ed, > > << Does REBOL View, for example, support a drag & drop interface? I have > seen no evidence of this, but admit that the time I've spent looking at > it is probably no more than two hours. >> > > Allen Kamp has done some really nice demos of D&D inside View apps. Getting > D&D events from Windows is another matter. I haven't tried catching > WM_DropFiles, though it may be possible. The new SYSTEM port may allow > catching WM_ messages but I haven't tried it. >
In what little testing I've done, it looks like, if I have to publish multiple scripts, I have to do it once for each one. Our development scripts are structured in a psuedo-object-oriented fashion. It would be convenient then to take a directory, or a group of files and publish them to IOS all at once.
> << Can REBOL call external applications? I know it can connect to Oracle > through ODBC and I assume it can through TNS Names, but can it call > other applications (at least through OS calls) and execute them with the > appropriate parameters? Case in point: can it call SQL*Plus, pass the > User and Password and script to be run? >> > > View/Pro and Command can. The Link client still can't AFAIK. We have a > script on our IOS server that doesn't run under Link, because we need to do > that. No problem running that way if you don't mind doing it. >
But Link is extensible through REBOL, correct? So if REBOL can, I assume we can create an app in Link to do so.
> << I know IOS can detect file changes. Can it intercept those changes > programmatically? Can we use it to create a log of files that have been > changed? > > Not sure exactly what you mean, but probably yes. If you're going through > IOS, you will see items published and, if you're writing your own post-func > for your reblets, you can act on that. You could also have a daemon-type > process that polls for things if that will work for you. Callbacks might be > possible with the new system port as well, but I haven't tried it so I don't > know, under Windows, if you can use the file-change notification APIs. >
I mean, within Link, using REBOL, can I intercept a change in a file and us it to fire of an action. It is functionality that we could use to help us manage our scripting process. -- Sincerely, | Cold Hearted Orb, that rules the night. Removes Ed Dana | the colours from our sight! Red is gray and Software Developer | yellow white! But we decide which is right... 1Ghz Athlon Amiga | And which is an illusion! | -- The Moody Blues, Late Lament.