
| # | User | Message | Date |
| 424 | Gregg | I've used rasdial very successfully under Windows Xavier. | 12-Jun 14:52 |
| 423 | xavier | i just found the site of anton i go to read all that, it looks like what i wanted :) | 12-Jun 9:09 |
| 422 | xavier | hello, i m working on a programm that must interact with outlook and the number dialer of windows ... can someone tell me where do i have to look for documentation on it ? does anybody already did it ? | 12-Jun 9:03 |
| 421 | Graham | Dunno if any of that helps. | 12-Jun 8:22 |
| 420 | Graham | now with the same library ( I think ), I also didn't get an error under XP and using Benjamin's getNumber version. | 12-Jun 8:22 |
| 419 | Graham | Ok, I have this observation. I get crashes or errors with using the getInteger command when passing a string parameter to the skype4com dll. I don't get an error if I don't pass a parameter. I don't get errors when passing strings to Getobject. I also don't get errors passing strings to getInteger to other dlls. Just Skype. | 12-Jun 8:21 |
| 418 | Graham | Script: "COMLib (the rebol side of the com2rebol interface)" (9-Mar-2007) {make object! [ code: 800 type: 'user id: 'message arg1: {Member:^^- .Convert.TextToUserStatus(%s) Function:^^- getInteger^^-^^- Error In:^^- InvokeArray Error:^^- Unspecified error Code:^^- 80004005 Source:^^- IDispatch Interface} arg2: none arg3: none near: [GetInteger [oSkype ".Convert.TextToUserStatus(%s)" "OFFLINE"]] where: none ]} | 12-Jun 7:30 |
| 417 | Graham | Gives this error | 12-Jun 7:30 |
| 416 | Graham | COMlib: do %comlib.r
COMlib/initialize if error? set/any 'err try [ do bind [ oSkype: CreateObject "Skype4COM.Skype" if -1 <> res: GetInteger [oSkype "Client.IsRunning"] [ CallMethod [oSkype "Client.Start()"] ] cUserStatus_Offline: GetInteger [oSkype ".Convert.TextToUserStatus(%s)" "OFFLINE"] ] COMlib/api ] [ probe mold disarm err ] | 12-Jun 7:30 |
| 415 | Graham | Using the international string format for cellphone numbers and XP, I can now send messages with the latest version of Skype. Still crashes on Vista though. | 9-Jun 21:52 |
| 414 | Anton | Ok... Skype now looks more particular than COMLib, then. | 6-Jun 9:45 |
| 413 | Graham | ie. I can use their dlls to send SMS messages. | 6-Jun 8:14 |
| 412 | Graham | Both Australian based it seems | 6-Jun 8:13 |
| 411 | Graham | I found two more SMS providers with a COM interface. They both work with the comlib. | 6-Jun 8:13 |
| 410 | Anton | (that's my guess, anyway) | 6-Jun 7:33 |
| 409 | Anton | The bug is more likely on our side. | 6-Jun 7:32 |
| 408 | Graham | https://developer.skype.com/jira/browse/SPA-559 They have assigned someone to look at the problem. Since comlib works with other applications, there must be something odd with the way Skype is different string parameters. Or, there is a bug in the way Rebol strings are converted to BSTR strings. | 5-Jun 21:52 |
| 407 | Graham | I posted a question on the Skype API forums ... not that I am expecting a reply :( | 4-Jun 3:18 |
| 406 | Graham | Just checked on XP .. send sms also sends garbage. I can see the message it is trying to send in Skype and it is garbage there too. So, presumably the way strings are being sent via the comlib is not correct for Skype. | 3-Jun 22:17 |
| 405 | Graham | What about using sprintf, and feeding the c string to skype instead ( http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=printf.r ) | 3-Jun 19:14 |
| 404 | Anton | (And COMLib has no string conversion support functions at the moment - you'll have to do any string conversions yourself.) | 3-Jun 9:37 |
| 403 | Anton | It's quite possible these days that it doesn't take ascii. | 3-Jun 9:35 |
| 402 | Anton | Each type of COM object may support different string encodings, I think. We'll have to look up what type of encoding Skype supports. | 3-Jun 9:26 |
| 401 | Anton | Each of those way of writing null char are equivalent. | 3-Jun 9:24 |
| 400 | Graham | or is it #"^@" ? | 3-Jun 7:04 |
| 399 | Graham | are null terminated strings like this "+12345679^(00)" "Hello!(^(00)" or "+12345679^(null)" "Hello!^(null)" ? | 3-Jun 6:50 |
| 398 | Graham | Curiously Anton's examples sending normal strings to MS Word and Excel work fine. | 3-Jun 6:26 |
| 397 | Graham | I wondered about that ... | 3-Jun 6:25 |
| 396 | Dockimbel | Try by putting a null character at the end of all strings passed to the COMlib ? | 3-Jun 6:24 |
| 395 | Graham | Using %S expects a unicode string | 3-Jun 6:21 |
| 394 | Graham | You shouldn't need to register the skype4com.dll as it is normally registered with Skype. | 3-Jun 6:19 |
| 393 | Graham | On Windows 2K, a SMS is sent, but it's just garbage | 3-Jun 6:18 |
| 392 | Graham | However, the getObject will invariably crash Rebol on Vista. | 3-Jun 6:17 |
| 391 | Graham | Anton, can you see anything wrong with this ... crashes Rebol rebol [] ; download the skype4com dll from https://developer.skype.com/Docs/Skype4COM/Start ; and register the library ; regsvr32 skype4com.dll ; example of using sms ; https://developer.skype.com/Docs/Skype4COMLib/Sms_vbs COMlib: do %comlib.r COMlib/initialize do bind [ oSkype: CreateObject "Skype4COM.Skype" oSMS: GetObject [ oSkype ".SendSms( %s, %s)" "+12345679" "Hello!" ] ] COMlib/api This should send a SMS using the Skype installed on your PC. | 3-Jun 6:16 |
| 390 | GiuseppeC | Added to REBOL2 Projects on DocBase. | 3-Mar 18:06 |
| 389 | Anton | You're welcome, James. | 1-Mar 13:31 |
| 388 | james_nak | Thanks Anton. | 26-Feb 19:42 |
| 387 | Anton | Create an appointment - I don't know if it can. The answer is... probably. COMLib is just a wrapper for COM, so if COM can do it, then there's a good chance that COMLib can do it too. I'm not on Windows any more so it's less likely that I'll test it, but I can still do so. | 23-Feb 3:11 |
| 386 | Anton | This link? http://anton.wildit.net.au/rebol/os/windows/COMLib/ It seems to be up and working for me at this time. | 23-Feb 3:06 |
| 385 | james_nak | Anton, it looks like you have done some work with interfacing with Outlook. I'm trying to create an appointment invitation function. Does your com lib do that? By the way, the old link seems down. Thanks in advance | 22-Feb 19:00 |
| 384 | james_nak | Ah thanks. I saw your name mentioned Graham in the examples. Thanks Y'all. | 28-Oct-07 15:47 |
| 383 | Graham | Look at the announce.r script here http://trac.geekisp.com/synapse/browser | 28-Oct-07 9:57 |
| 382 | Graham | that was Gabriele's and Allen's popup ... but it's rather Cpu intensive | 28-Oct-07 9:54 |
| 381 | Henrik | I've seen one in Graham's Synapse. | 28-Oct-07 9:41 |
| 380 | james_nak | Does anyone have an example of how to pop-up a little window in the Window's system tray? I've seen the system tray examples but I want to create a "reminder" like when Outlook does when gets a new email, etc. | 28-Oct-07 2:49 |
| 379 | Graham | what is it that you've done? | 23-Sep-07 5:43 |
| 378 | Benjamin | I've done that in the past, the problem when using direct API calls is passing pointers and stuff, remember you need to create a main loop to pool events and messages, it's a pain... i've some code that does this, but remember that this old style is gone on vista gfx. | 23-Sep-07 4:33 |
| 377 | Maxim | hum... printing :-) that's cool. | 9-Mar-07 5:51 |
| 376 | Maxim | ok... I know that you can use com to get a text version of any file format which has a thumbnail viewer... which can be very usefull to read things like pdf, word, and other obscure file types.... | 9-Mar-07 5:36 |
| 375 | Anton | Hopefully, since it is a wrapper for COM, you should be able to do anything that COM allows you to do. So the answers to all these types of questions are to be found by researching COM land (which I myself am not very familiar with). | 9-Mar-07 5:32 |
| 374 | Maxim | hum interesting. | 9-Mar-07 5:31 |
| 373 | Anton | Check out the demos on the website. | 9-Mar-07 5:30 |
| 372 | Maxim | I'm just curious. | 9-Mar-07 5:30 |
| 371 | Maxim | what do you use the com lib for? | 9-Mar-07 5:30 |
| 370 | Anton | Umm... don't know. | 9-Mar-07 5:29 |
| 369 | Maxim | even if slow... | 9-Mar-07 5:19 |
| 368 | Maxim | anton, can this be used to embed MS IE into a view app? | 9-Mar-07 5:19 |
| 367 | Anton | This is in response to Philippe Legoff in RebolTalk http://www.reboltalk.com/forum/index.php/topic,335.0.html | 9-Mar-07 5:14 |
| 366 | Anton | COMLib has been updated: Backwards compatibility fixes in the main rebol interface file, COMLib.r http://anton.wildit.net.au/rebol/os/windows/COMLib/ | 9-Mar-07 5:13 |
| 365 | Anton | Oh wow ! You're back ! I wondered where you went. :) "switch bands" Do you mean you started work at a new company, which uses only unix ? Hooray ! So now comlib is needed by one less person ! :) | 14-Jan-07 6:26 |
| 364 | Graham | Glad to see you back here Benjamin! | 13-Jan-07 21:11 |
| 363 | Benjamin | I've seen the resent updates to comlib, great job Anton ! keep it up !, 2006 was crazy i've to switch bands an now im working in a unix enviroment, im only migrating bash scripts to rebol :) | 13-Jan-07 3:11 |
| 362 | Graham | So, those option values are being included in the http get. | 17-Sep-06 11:36 |
| 361 | PeterWood | The drug list is in the HTML: <select name="drugList" id="drugList" size="8" style="width:280px; font-family: verdana; font-size:10pt;" onDblClick="addDrugToList();"> <option value="4055" title="2-Amino-2-Deoxyglucose">2-Amino-2-Deoxyglucose</option> <option..... | 17-Sep-06 11:33 |
| 360 | Graham | Ok. | 17-Sep-06 11:27 |
| 359 | PeterWood | ...but it may be possible to extract the drug list by processing the HTML ...once you understand what is loading into the "chooser" | 17-Sep-06 11:26 |
| 358 | PeterWood | I think it would take a little time to understand what the JavaScript is doing. | 17-Sep-06 11:24 |
| 357 | Graham | :) | 17-Sep-06 11:24 |
| 356 | PeterWood | No | 17-Sep-06 11:23 |
| 355 | Graham | so, you reckon it's easily scriptable? | 17-Sep-06 11:22 |
| 354 | Graham | It shows the text of the drugs you entered .. but not the correct drug interaction. | 17-Sep-06 11:18 |
| 353 | PeterWood | I took a look at the page source, it seems to simply search the scrollable list titled search results, it doesn't appear to go back to the server. | 17-Sep-06 11:18 |
| 352 | Graham | Ahh.. it appears to work .. but it does not. | 17-Sep-06 11:17 |
| 351 | Graham | I shall try again! I did try this before and got server errors generated. | 17-Sep-06 11:15 |
| 350 | Anton | The chickenfoot video: http://video.google.com/videoplay?docid=-8967914974980683249&q=type%3Agoogle+engEDU | 17-Sep-06 11:14 |
| 349 | PeterWood | It seems to work without the codes, I tried this : http://www.drugdigest.org/DD/Interaction/InteractionResults?drug=&dN=%2220%2F20+Tears%22+%223-beta%2C5-alpha-stigmastan-3-ol%22+&CheckFDA=1 | 17-Sep-06 11:09 |
| 348 | Graham | Oh well.. I'm getting numerous errors running chickenfoot anyway. | 17-Sep-06 11:08 |
| 347 | Graham | But .. you see there are codes in there. | 17-Sep-06 11:02 |
| 346 | PeterWood | If you know the names of the drugs in the system can't you just generate the html/get? http://www.drugdigest.org/DD/Interaction/InteractionResults?drug=&drugList=551938&cD=6355&cD=551938&dN=%2220%2F20+Tears%22+%223-beta%2C5-alpha-stigmastan-3-ol%22+&CheckFDA=1 | 17-Sep-06 10:59 |
| 345 | Graham | But I have to put the drug in the top field, search, select the highlighted item in the list, move it to the right list and repeat till done .. then check interactions. | 17-Sep-06 10:52 |
| 344 | Graham | I would like to be able to send the drugs to this form for checking for interactions. | 17-Sep-06 10:52 |
| 343 | Graham | here's a page http://www.drugdigest.org/DD/Interaction/ChooseDrugs | 17-Sep-06 10:51 |
| 342 | Graham | Which makes it tricky to do using Rebol. | 17-Sep-06 10:49 |
| 341 | Graham | I want to be able to go to websites, feed data to forms and fill them out and then grab the results .. where the forms are generated dynamically in javascript | 17-Sep-06 10:49 |
| 340 | Graham | No, not really. | 17-Sep-06 10:48 |
| 339 | Graham | the video shows the guy being able to script firefox to pickup a report from his online banking site. | 17-Sep-06 10:46 |
| 338 | Anton | Is that what you want to do ? Because I just use Privoxy (a web proxy) to filter out the ads. | 17-Sep-06 10:46 |
| 337 | Graham | Pretty cool though to script firefox .. so that you remove ads from your favourite pages | 17-Sep-06 10:45 |
| 336 | Anton | I had a look at XPCOM, which is supposed to be similar to COM (achieves much the same thing). I was overwhelmed by its complexity. I would only go there if I could contact some XPCOM experts. | 17-Sep-06 10:45 |
| 335 | Graham | Any other ways for Rebol to control Firefox .. browser plugin ?? | 17-Sep-06 10:42 |
| 334 | Graham | Is there any way of controlling Firefox using Com? Or, do we have to use XPCOM ? | 17-Sep-06 10:41 |
| 333 | Graham | There was a video link posted on the mailing list to chickenfoot .. which allows you to script Firefox. | 17-Sep-06 10:41 |
| 332 | Anton | Just checked out IBprovider, as linked to by Graham, above. I've decided not to investigate more of it at this stage. Too much complication for me :) I have plenty to do already :) If someone is going to use it, that may change things, but I can't just go around investigating all the possible OLE applications this COMLib allows you to connect to. (Mmmm.... maybe I'm just not big on databases. It doesn't make my blood pulse any faster.) | 12-Aug-06 15:31 |
| 331 | Anton | Fourth. This time, I didn't receive any notification, so it was unexpected. | 11-Aug-06 4:16 |
| 330 | Graham | Anton, is this the third website you've shifted to? | 11-Aug-06 4:10 |
| 329 | Anton | My website is down, so COMLib page is not accessible for now. Migrating from http://home.wilddsl.net.au/anton/ to http://anton.wildit.net.au/ | 11-Aug-06 3:39 |
| 328 | Graham | Native OLE DB provider ... has a free version http://www.ibprovider.com/eng/index.html So, perhaps a way for users with /Pro to obtain database access without odbc ? | 7-Aug-06 1:42 |
| 327 | Graham | Ms provide the Active X controls for this unsupported research prototype | 22-Jul-06 2:05 |
| 326 | Graham | Anyone built a file transfer using FEC ? http://research.microsoft.com/barc/mbone/fcast.aspx | 22-Jul-06 2:04 |
| 325 | Volker | Eclipse - erm, use java? | 21-Jul-06 9:15 |
| 324 | Volker | "Speech recognition command & control does not work with Rebol apps as long as that is the case and I need that..." Terry claims speech recognition worls pretty well with his products. | 21-Jul-06 9:14 |
| 323 | Graham | is there any way to reuse some of the eclipse work? | 20-Jul-06 23:53 |
| 322 | Graham | It's not so much the look I necessarily want but the support for native functionality. | 20-Jul-06 23:31 |
| 321 | Pekr | I am very tempted to know, what is licensing model and extensibility model for R3. Really not much was said in that regard yet ... | 20-Jul-06 22:05 |
| 320 | Cyphre | I also agree DLL support should be free in Rebol. | 20-Jul-06 22:02 |
| 319 | Cyphre | Henrik: agree...you are surely payed by someone for your cool widgets and it is great you can share it with us. So the same can be with other dev products. This all depends on the 'sponsor'. People usually provide something to comunity in case they really need/use it for their own work and IMO in our case that is the only way we can get more complex solutions 'for free'. | 20-Jul-06 21:59 |
| 318 | Henrik | Things like Webobjects for MacOSX cost a lot of money back in the NextSTEP days. Today they are free. | 20-Jul-06 21:58 |
| 317 | Pekr | nice :-) http://wxwidgets.org/about/screensh.htm (I got to it trying PythonCard for Python, which uses wxPython, which is just wrapper to wxWidgets) | 20-Jul-06 21:57 |
| 316 | Henrik | I wonder how much money Carl gets from Pro Rebol tools versus end user products like IOS. I think there should be more products like IOS for Rebol Tech to sell, in order to get income from there instead of from developers. You can get really far on other solutions without paying a dime. | 20-Jul-06 21:57 |
| 315 | Henrik | this also means it would be problematic if one developer were to only create developer products, so we shouldn't do that. balance between end user and developer products :-) | 20-Jul-06 21:55 |
| 314 | Pekr | Cyphre - I also agree with your another pov, which you had in the past. It all seems simple at the beginning, but once you delve more deeply into it, things start to complicate. Bringing native OS binding for Rebol imo would cost many resources. And I believe first version would be just ugly wrapper, containing more or less stright conversion, using Win32 logic. Isn't there a fact, that others do use other, mainly cross-platform bindings? We have View, but wouldn't native toolkit project be just reinventing the wheel? Others use tk, gtk, qt, wxwidgets, etc. | 20-Jul-06 21:55 |
| 313 | Henrik | the money has to come from somewhere yes, but use the tools we create, to create more leverage in making money on end-user products. | 20-Jul-06 21:54 |
| 312 | Henrik | cyphre, hopefully it wouldn't have to be the end of it. it should be the final product that users should pay for and native support for GUIs is not the goal but the means. I think it would be a bit sad if Rebol had yet another essential component as payware. you can do most of this stuff for free on other languages, which would cause even smaller motivation for using Rebol as a development platform. this is why I release my components (LIST-VIEW, Tester, Tab-view, TOOLBAR) as BSD licensed freeware. If I didn't, I would have zero users. | 20-Jul-06 21:53 |
| 311 | Cyphre | (or at least provide the framework in library form with documentation so people can use it) | 20-Jul-06 21:53 |
| 310 | Cyphre | Another possibility is that you find some company who is interested and pay the developement and make the source open for the comunity. | 20-Jul-06 21:52 |
| 309 | Cyphre | "...it should not be a luxury item either that you have to pay for" Well, this all depends on the conditions. You can expect this as free stuff in Java world with much bigger developer base. But I don't believe anyone here in our small comunity have enough time/resources to spent hunderds hours on such project just to make some people from the comunity happy and provide solution for their commercial app for free ;) | 20-Jul-06 21:50 |
| 308 | Pekr | If I would consider different UI toolkit, maybe I would look to create some GTK or Qt bindings, as other scripting languages try to do ... those are existing, and even cross-platform, no? | 20-Jul-06 21:49 |
| 307 | Pekr | But we were promissed VID plus will fix that, no? | 20-Jul-06 21:48 |
| 306 | Pekr | the problem, for me, for Bobik, and maybe for others, could also be, that VID simply has problems, and is not features/styles complete. | 20-Jul-06 21:47 |
| 305 | Pekr | I think that what Henrik feels as a problem is not actually "look" at all, but it is the "feel", which is the culprit. I expect UI elements as drop-down, etc., react to keyboard, mouse, just the same as if it would be OS app, or it is denerving, stopping my productivity, which is based upon certain customs .... | 20-Jul-06 21:47 |
| 304 | Cyphre | From my POV View is still very ligthweight and powerful system for OS independent solutions. | 20-Jul-06 21:45 |
| 303 | Henrik | I agree that native GUI/feel should not be a main part of Rebol, but it should not be a luxury item either that you have to pay for | 20-Jul-06 21:45 |
| 302 | Pekr | ok, then, I can accept your pov. But - wouldn't fixing View plus providing certain skin be enough? | 20-Jul-06 21:45 |
| 301 | Pekr | I think time of "amiga" (in the sense of non traditional look to apps), is coming back in Internet age ... | 20-Jul-06 21:44 |
| 300 | Cyphre | Yes, in specific commercial sector people expect the 'conservative' look&feel. But this feature should be provided as an external solution mainy due the increase of binary size of Rebol in that case. I think sch module would be for about 2MB in size. | 20-Jul-06 21:44 |
| 299 | Pekr | the question is, with Google and others pushing the envelope, how long OS itself will be driving factor of IT evoluion, or it will become a commodity :-) | 20-Jul-06 21:43 |
| 298 | Pekr | Just look for e.g. ad Ad-aware vs. Spy and Destroy. Spy & Destroy was chosen by many as better, yet I can see ppl chosing Ad-aware, because of different look actually ... | 20-Jul-06 21:43 |
| 297 | Pekr | ... that can be fixed imo, if View gets fixed in those respective areas .... | 20-Jul-06 21:41 |
| 296 | Pekr | of course, maybe it just depends, how professional you intend to be, but as I showed you, completly OS compatible look is not so important. What is imo more important is the feel. If we can't get visual representation of accelerator keys, ctrl tab, rich text, key precise behavior for ui elements, that is what I see as a problem .... | 20-Jul-06 21:41 |
| 295 | Henrik | pekr, I don't believe so. View is essential for those 5 minute apps that you need to do for a friend. | 20-Jul-06 21:40 |
| 294 | Pekr | for me, RebGUI, look-wise, is very Windows like .... yet some of us, including you, Graham, complained that it looks dull, and if it could be prettified .... :-) | 20-Jul-06 21:39 |
| 293 | Pekr | We use top systems - SAP - they have own look, completly, even behavior to some elements - noone complains ..... we have Lotus Notes - very different look to most of apps, different navigation to app .... | 20-Jul-06 21:39 |
| 292 | Pekr | Using native Windows will certainly kill View completly | 20-Jul-06 21:38 |
| 291 | Henrik | because they don't have to ask "why does the program look so weird?" | 20-Jul-06 21:34 |
| 290 | Graham | Using native windows will go to greatly improving the success of View based programs in the commercial sector. | 20-Jul-06 21:11 |
| 289 | Cyphre | http://www.eclipse.org/swt/widgets/ | 20-Jul-06 20:43 |
| 288 | Cyphre | http://www.eclipse.org/swt/ | 20-Jul-06 20:40 |
| 287 | Cyphre | (But for example Java has already such toolkit and IIRC it is huge opensource Eclipse tool platform supported by IBM) | 20-Jul-06 20:38 |
| 286 | Henrik | which is why it's probably not worth doing for anything other than Windows and OSX. For linux, it would be ... wow... how many different GUI systems do we have there? :-) | 20-Jul-06 20:36 |
| 285 | Cyphre | If you really need noative GUI then this can be the way but remember this is also *lot* of work multiplied by each operating system ;) | 20-Jul-06 20:35 |
| 284 | Henrik | the same could probably be done for OSX/Cocoa... it would solve many issues with GUI nativity in OSX. | 20-Jul-06 20:33 |
| 283 | Cyphre | Pekr: You can create and control any windows dialog if you have the API available. (and this can be applied to any other OS feature). So it is possible to create native GUI controlable at the higher level of some dialect(simmilar to VID/Rebgui). People who are making common apps don't need to access it at face level but ofcourse such system would be based on face-like objects with methods related to Windows GUI elements etc. | 20-Jul-06 20:27 |
| 282 | Graham | Cool :) | 20-Jul-06 20:20 |
| 281 | Pekr | hmm, not sure Cyphre, but you are the guru. Does windows has anything like face? If you would use only its windowing system, it is just what win32API allows you - dialogs, etc. - so no such flexibility, unless you would code View like compositing yourself | 20-Jul-06 20:20 |
| 280 | Cyphre | If you write VID/RebGUI like dialect with binding to Windows native GUI why not? :) | 20-Jul-06 20:19 |
| 279 | Graham | While maintaining the flexibility of VID/rebGuI ? | 20-Jul-06 20:17 |
| 278 | Cyphre | Yes, with the DLL interface you can theoretically create native-like GUI system according to your needs if you have enough time/motivation ;) | 20-Jul-06 19:49 |
| 277 | Gregg | I don't know of anyone that's wrapped the ability to use native Windows controls in a REBOL dialect, though it *might* be possible. I think Cal (and maybe Cyphre or Oldes) have emebedded native OS windows in a View window. You might also be able to do it by creating your own windows, using the API, and then interacting with them behind the scenes. It would be a lot of work though, and be highly OS specific. | 20-Jul-06 12:34 |
| 276 | Anton | That's a big job, I'm afraid. | 20-Jul-06 7:08 |
| 275 | BenK | That ouwl defeat the purpose; the idea is that the system works for all apps and that the apps themselves do not need to do anything to have it. Wrapping the API and then building it into every single app is not a feasible option. Do you think it's possible to adapt the Vid and RebGUI dialects to integrate with the SPeech API so everything built with those at least would work? (don't know much about how dialects work yet) | 19-Jul-06 20:27 |
| 274 | BrianH | It would probably be easier to wrap the Speech API and use it directly. | 19-Jul-06 18:56 |
| 273 | Anton | I think that's a tough one. | 19-Jul-06 16:55 |
| 272 | BenK | The Speech Reco software is the one that comes built-in with Windows XP and Windows Vista (BTW, speech reco in Vista is much better than in XP). It analyzes widgets on the screen by running through all the windows handles (just about everything on a Windows screen is a window) and their labels, so it actually knows there's a menubar with a file menu on it so you can do things like say "Menu" "File" "Open" and it simply works for almost all native apps. It sends the equivalent commands by sending Windows messages to the windows. Problem is, since Rebol widgets do not have their own handles, the system never finds them, doesn't know they're there or that messages can be sent to them... | 19-Jul-06 14:57 |
| 271 | Anton | Hmm.. the system port can be used to trap windows messages, perhaps if the command & control uses windows messages you can handle them that way... Can you give more information about the speech recognition software used ? (Is it MS software ? etc..) | 19-Jul-06 14:23 |
| 270 | BenK | Is there any way to get around the fact that Rebol faces are not native Windows "windows"? (i.e. don't have a handle on the system). Speech recognition command & control does not work with Rebol apps as long as that is the case and I need that... | 19-Jul-06 11:32 |
| 269 | Anton | Not sure on this. The postings I find about the COM interface in OneNote a few years ago make the interface sound very lacking. Not sure it's much better now a few year have gone by or not. | 15-Jul-06 12:14 |
| 268 | Graham | Anton, is there a way to use Com and OneNote? | 15-Jul-06 9:09 |
| 267 | Robert | And, as I don't use OL myself, I need to setup a test system. | 15-Jul-06 8:47 |
| 266 | Robert | Not yet, sorry, was busy. I will. Thanks for posting this stuff. | 15-Jul-06 8:46 |
| 265 | Anton | Robert, have a look at the outlook demos. | 13-Jul-06 15:53 |
| 264 | Anton | COMLib website update: Added outlook-calendar.r and outlook-contacts.r demos. Fixed a few bugs in the main rebol interface file, COMLib.r http://home.wilddsl.net.au/anton/rebol/os/windows/COMLib/ | 13-Jul-06 15:50 |
| 263 | Anton | Well, if it really is COM based, then I imagine it should work. | 11-Jul-06 7:09 |
| 262 | BrianH | A better question is whether COMlib supports OLEDB, which is COM-based. SQL Everywhere works with OLEDB too. | 11-Jul-06 6:55 |
| 261 | Anton | I think that depends on whether ADO.NET supports the older ADO interface or not. | 11-Jul-06 6:44 |
| 260 | Anton | I guess the question is: does COMLib work with ADO.NET ? | 11-Jul-06 6:31 |
| 259 | Anton | No idea. Do you need it ? | 11-Jul-06 6:29 |
| 258 | Allen | Does the ado stuff work with this new beastie? http://www.microsoft.com/sql/ctp_sqleverywhere.mspx . | 11-Jul-06 1:32 |
| 257 | Anton | Thanks for your test. | 10-Jul-06 18:01 |
| 256 | Anton | Terry, I found some Agent code in HAL 4000 package. Looks pretty similar to other demos I have seen. I don't see what exactly I'm doing wrong there. I am very suspicious about the TTSModeID setting not working. I'll have to follow that up at some stage. | 10-Jul-06 17:57 |
| 255 | Anton | Hmm... yes. Of course, if I could just choose the syntax I would make it much better. For now, still in learning mode. | 10-Jul-06 14:49 |
| 254 | Henrik | wouldn't it be prettier with: tts: CreateObject [Sapi SpVoice] tts/call [Speak "Hello, let's have a conversation"] just to make the syntax more smooth and REBOLish... :-) | 10-Jul-06 10:08 |
| 253 | Anton | pretty similar in COMLib. | 10-Jul-06 7:42 |
| 252 | Anton | tts: CreateObject "Sapi.SpVoice" CallMethod [tts ".Speak(%s)" "Hello, let's have a conversation"] | 10-Jul-06 7:42 |
| 251 | Terry | Here's TTS in PHP.. <? $voice = new COM("SAPI.SpVoice"); $voice->Speak("Hello, lets have a conversation"); ?> | 10-Jul-06 7:25 |
| 250 | Anton | I will publish what I have in the next day or two. | 10-Jul-06 7:22 |
| 249 | Robert | And I want to import those into IOS/xpeers :-) so that we can sync to OL. Maybe even in both ways. | 10-Jul-06 7:19 |
| 248 | Anton | .. but when I set TTSModeID it doesn't work. I am not sure if I am using the right TTSModeID or if I am passing it correctly... Robert, I'm extracting Outlook Calendar Appointments and Contacts. Just rudimentary at the moment, though. I haven't figured out how to surely extract all the properties. | 10-Jul-06 7:18 |
| 247 | Robert | Anton, if you made it with the OL connection let me know. | 10-Jul-06 7:12 |
| 246 | Anton | Looks like you just set the .TTSModeID | 10-Jul-06 7:08 |
| 245 | Terry | How RT manages to charge for library access I'll never understand (even though I paid for it .. once). | 10-Jul-06 6:44 |
| 244 | Anton | I am quite sure I can do better with rebol, but I would have to turn DispHelper inside out to find out the way. As it is, I have left DispHelper untouched. | 10-Jul-06 6:30 |
| 243 | Anton | Yes, you can do the chaining of objects easily, and pass args to functions directly, without using the printf-style syntax. | 10-Jul-06 6:28 |
| 242 | Terry | Not to be critical, but the php syntax is much clearer. | 10-Jul-06 6:23 |
| 241 | Terry | Want Macro support.. ? <? $obj = new COM("AutoItX3.Control"); $obj->CDTray ("H:", "open"); $obj->Sleep (1000); $obj->CDTray ("H:", "close"); ?> | 10-Jul-06 6:15 |
| 240 | Terry | COM with PHP is soo easy... drop this into a page on your local server.. <? $word=new COM("word.application") or die("Cannot start word for you"); print "Loaded word version ($word->Version)\n"; $word->visible =1; $word->Documents->Add(); $word->Selection->Typetext("Dit is een test"); $word->Documents[1]->SaveAs("burb ofzo.doc"); $word->Quit(); ?> | 10-Jul-06 6:14 |
| 239 | Anton | We'll find out what the difference is. | 10-Jul-06 5:16 |
| 238 | Anton | Righto, thanks :) | 10-Jul-06 5:16 |
| 237 | Terry | The MS TTS is pretty old technology.. Sounds like Vista may has much better speech recognition and a new TTS. Should check out the beta. | 10-Jul-06 5:14 |
| 236 | Terry | TTS worked, the ms agent just had the bubble. I have some old ms agent code around somewhere that I used with LFReD, along with a dialect.. I'll see if i can find it. | 10-Jul-06 5:13 |
| 235 | Terry | http://home.wilddsl.net.au/anton/rebol/os/windows/COMLib/files.html | 10-Jul-06 5:02 |
| 234 | Terry | link? | 10-Jul-06 4:55 |
| 233 | Anton | (This is not urgent, just when you can be bothered) | 9-Jul-06 16:43 |
| 232 | Anton | On my computer, only balloon text is shown. | 9-Jul-06 16:43 |
| 231 | Anton | I would like someone to test the speech and let me know if the MS Agent character actually talks or not. | 9-Jul-06 16:41 |
| 230 | Anton | If you've got an older distro, you can just download the full zip and extract the files over your old directory. | 9-Jul-06 16:41 |
| 229 | Anton | Updated COMLib website a little bit. Amongst other small changes, added demos/speech.r | 9-Jul-06 16:39 |
| 228 | Anton | Yes, you can flop around in the MSDN archive for a while before you find what you want. An example which I am working on now is extracting Calendar data from Outlook. | 9-Jul-06 16:38 |
| 227 | james_nak | That link is not really the best in terms of the nitty gritty. A search through the MSDN site will show other places to look. | 7-Jul-06 15:20 |
| 226 | Anton | Thanks for the link ! I don't actually know that much about COM, as it is a proprietary technology, I have avoided it til now. | 7-Jul-06 15:10 |
| 225 | james_nak | Yep, six books. | 7-Jul-06 14:52 |
| 224 | james_nak | OK, found something. I bet we have some books in the office as well: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/html/f5f66603-466c-496b-be29-89a8ed9361dd.asp | 7-Jul-06 14:31 |
| 223 | james_nak | Anton, do you have a source for documentation on the COM lib itself. I.e., what it can do? | 7-Jul-06 14:25 |
| 222 | Anton | text to speech ? not added to website yet. The demo is supposed to show two different ways of getting text to speech; via MS Agent and via SAPI. I haven't got the MS Agent one working properly yet on my system. | 7-Jul-06 9:43 |
| 221 | Terry | Where's the file Anton? | 7-Jul-06 7:31 |
| 220 | Anton | Mmm.. that's two people who commented on the requirement for external library access - I will add a message about that somewhere. | 7-Jul-06 6:23 |
| 219 | Anton | Sure, thanks ! I need to remind everyone here also of Benjamin Maggi's great effort in starting this project to begin with. | 7-Jul-06 6:20 |
| 218 | james_nak | Anton, OK DL'd the zip file, tried a couple of files, realized I needed Pro, ran Pro, sat amazed. Nice stuff my man. Thanks. | 6-Jul-06 21:53 |
| 217 | Anton | (not added to the site quite yet.) | 6-Jul-06 17:59 |
| 216 | Anton | Text to speech demo is working. | 6-Jul-06 17:59 |
| 215 | Anton | Added demos/ado.r - ActiveX Data Objects read and manipulate data from a data source. | 6-Jul-06 11:56 |
| 214 | Anton | haa.. just got FOR_EACH working. | 2-Jul-06 15:27 |
| 213 | Anton | Terry, how about MSScriptControl.r. Were you thinking of anything in particular? | 2-Jul-06 8:35 |
| 212 | Graham | skype is not ms office | 1-Jul-06 6:09 |
| 211 | Terry | Any non-ms office demos? | 1-Jul-06 6:01 |
| 210 | Anton | It's good to finally publish. | 30-Jun-06 9:20 |
| 209 | Robert | Anton, cool stuff. Thanks for doing it. | 30-Jun-06 9:17 |
| 208 | Anton | I don't think there's anything in this group that anyone would be offended by publishing... | 30-Jun-06 7:18 |
| 207 | Graham | no objections | 30-Jun-06 7:12 |
| 206 | Anton | Should make this group web-public. Any objections ? | 30-Jun-06 7:11 |
| 205 | Anton | Now is a good time because it's fresh in my mind. | 30-Jun-06 7:11 |
| 204 | Anton | I just thought of it as one of the scripts that have already been created. Send me any scripts you wish converted. | 30-Jun-06 7:10 |
| 203 | Graham | Did you want me to have a go at updating the SkyPe script ? | 30-Jun-06 6:54 |
| 202 | Anton | Renamed this group from "COM Supporting" -> "Windows/COM Support" | 30-Jun-06 6:50 |
| 201 | Anton | I've added about ten newly converted demos to the site. Please send me any scripts you would like converted. I've done quite a few now so it will be easy. Then you can see the differences for yourself more easily, too. Graham, I'm thinking of your Skype script. | 30-Jun-06 6:34 |
| 200 | Anton | I just found a nice way to simplify the usage, so the demos are going to get a little bit shorter. | 29-Jun-06 10:37 |
| 199 | Pekr | Just dunno, if security (https) can be done that way, support for certificates etc., it is belongs to kernel ... | 28-Jun-06 14:05 |
| 198 | Pekr | I prefer plug-in system, so that if someone develops something interesting, I can buy it! RT or third party ... | 28-Jun-06 14:05 |
| 197 | Pekr | I think and I hope, that R3 design will be correct this time! No more integrated third party stuff, which does NOT belong to the kernel! The situation with fast-cgi was hilarious. It was never fixed under Windows, ot my knowledge ... | 28-Jun-06 14:04 |
| 196 | Henrik | I think it's a little silly having to ask developers not to develop something even if it's fairly possible to do. | 28-Jun-06 14:04 |
| 195 | Henrik | for continous value in Command, you'd need something bigger. a different business strategy comes to mind. | 28-Jun-06 14:02 |
| 194 | Pekr | just ask DocKimbel to release his xy years old version. He did not do that, because RT asked him not to do so. IMO fastcgi is not feature which would ruin RT sales. Except secure mode there is very little value in the rest of Command - outdated ... | 28-Jun-06 13:13 |
| 193 | DideC | On his site, there is RebFcgi that can be interesting too. But only for Windows ! Any skilled Linux/C coder to addapt it for a Linux Apache Module ??? | 28-Jun-06 12:45 |
| 192 | Pekr | who is mortimer.systems? :-) | 28-Jun-06 11:55 |
| 191 | Henrik | interesting one | 28-Jun-06 11:53 |
| 190 | Anton | I will be checking out RebCall at some time to see if it can be used. http://mortimer.devcave.net/projects/rebcall | 28-Jun-06 11:51 |
| 189 | Henrik | but that would be a big security hole :-) | 28-Jun-06 11:36 |
| 188 | Henrik | I was suspecting it could be working over TCP/IP like Geomol's OpenGL library | 28-Jun-06 11:35 |
| 187 | Pekr | why? will not RT release library interface as any other normal language, for free? ;-) | 28-Jun-06 11:34 |
| 186 | Henrik | (maybe it would be worth mentioning to avoid too much excitement?) :-) | 28-Jun-06 11:32 |
| 185 | Henrik | ok | 28-Jun-06 11:29 |
| 184 | Anton | Yes, to access external library. | 28-Jun-06 11:28 |
| 183 | Henrik | COMlib requires a /Pro license, right? | 28-Jun-06 11:28 |
| 182 | Anton | Also, I am here to support it fully. | 28-Jun-06 11:13 |
| 181 | Graham | Ok. I'll have to test it in the weekend. | 28-Jun-06 11:13 |
| 180 | Anton | I have scrutinized the API and cleaned it up, removing seemingly arbitrary divergences from DispHelper function names. | 28-Jun-06 11:13 |
| 179 | Anton | I have removed the use of callbacks, so there is no chance for indeterminate behaviour due to the asynchronous operation of callbacks. Exceptions are now thrown as rebol errors, so you can use standard rebol error checking. | 28-Jun-06 11:11 |
| 178 | Anton | I am confident in it. That is why I have published. I worked really hard for the last couple of weeks. I feel the new API is not likely to change very much from here. | 28-Jun-06 11:08 |
| 177 | Graham | is it more stable than Benjamin's ? Although I can't say I've had any problems with his. | 28-Jun-06 10:39 |
| 176 | Graham | Anton, how stable is your fork? | 28-Jun-06 10:39 |
| 175 | Anton | To see some changes, click on Browse Files, then docs/convert-ben-to-anton.txt | 28-Jun-06 7:16 |
| 174 | Graham | What changes ? | 27-Jun-06 19:25 |
| 173 | Anton | First release of COMLib-anton (Benjamin Maggi's COMLib, reengineered) http://home.wilddsl.net.au/anton/rebol/os/windows/COMLib/ | 27-Jun-06 18:41 |
| 172 | Paul | Yes Brett - CreateProcess | 5-Apr-06 3:37 |
| 171 | Thør | . | 4-Apr-06 19:30 |
| 170 | Gregg | Not COM related, but I had similar problems with programmtic control of Acrobat. | 12-Jan-06 17:01 |
| 169 | Anton | no news there. | 12-Jan-06 9:39 |
| 168 | Graham | Was there a solution to Brett's problem ? | 12-Jan-06 9:06 |
| 167 | Anton | Not going to do anything on that for a few days, I think. | 12-Jan-06 9:05 |
| 166 | Anton | I forked and did a lot of cleaning and rebolifying, but I think Benjamin must be real busy or on holiday, because I've been waiting for his email for a while. Also, the more I worked on it, the more I wanted to check the basis of code. Maybe there is better library than disphelper to base on ? I don't know because I didn't check yet. Anyway, I will most l likely continue with my fork as is. | 12-Jan-06 9:04 |
| 165 | Graham | Any updates on the comlib ? | 12-Jan-06 6:52 |
| 164 | Anton | I don't know, I haven't discovered this yet. I will of course put it into a demo when / if I do discover a way to start the app. | 15-Dec-05 1:19 |
| 163 | Brett | On issue 2, I've done some more testing this time with VB script and same result - just one print. However, trying a different printer - multiple prints work using VB script and REBOL/comlib. So it may be the printer driver that is causing me problems. | 14-Dec-05 23:39 |
| 162 | Brett | Ok thanks for that. Is there something I can use to start the application apart from REBOL's Call command? | 14-Dec-05 23:37 |
| 161 | Anton | Yes, CreateObject assumes the application is already running. In the case of MS office apps, they are probably already running in the background somehow, or the interface supports those apps. | 14-Dec-05 14:50 |
| 160 | Brett | P.s both of these I tried at console and I think I did try a wait at the time. | 14-Dec-05 9:33 |
| 159 | Brett | Not a big issue for me now, but would be good to solve these for next time. | 14-Dec-05 9:32 |
| 158 | Brett | Issue 2 - Photoshop method PrintOut only works the first time, subsequent calls are silently ignored. I had a loop so my workaround was to Quit photoshop programmatically, then restart it with Call - bit of a sledgehammer but I generated my cards :) | 14-Dec-05 9:31 |
| 157 | Brett | Just on those issues I mentioned maybe someone here knows: Issue 1 - CreateObject won't start Photoshop but does work with Microsoft products like Access, Excel, Word... >> obj_application: createObject "Photoshop.Application" -------------------------------------------------- ERROR: -------------------------------------------------- Member: Photoshop.Application Function: CreateObject Error In: CreateObjectEx Error: %1 is not a valid Win32 application. Code: 800700c1 Source: Application CODE: -2147024703 -------------------------------------------------- If I start PS by hand or use Call from REBOL then there is no problem. It is starting the process which is the issue. | 14-Dec-05 9:29 |
| 156 | Anton | Thanks for your offer, but Yeksoon has kindly set up a temporary website for us, and will set up a more permanent one after some server upgrading. | 14-Dec-05 4:31 |
| 155 | Anton | Brett, I've noticed many of the code examples have small delays in between each command (eg. wait 0.1) which supposedly makes it more reliable. Don't know if that can help you. | 14-Dec-05 4:29 |
| 154 | Brett | Anton, re webspace, send me an email - what do you need to do? private ftp space or public web and for how long? | 14-Dec-05 0:09 |
| 153 | Brett | Just used comlib to make Photoshop produce my xmas cards controlled by Rebol. Worked pretty well too. I did have a couple of problems, and worked around them but I'm don't know if it was PS or comlib. Assuming PS at the moment. | 14-Dec-05 0:06 |
| 152 | Anton | Hmm, maybe Sunanda will give us a directory on rebol.org ? eg. www.rebol.org/COMLib/ ? :) | 9-Dec-05 5:30 |
| 151 | Anton | Got it, Ben, very good. Is there anyone who can donate webspace (say 10MB) and set up FTP access for Ben and I ? | 9-Dec-05 5:21 |
| 150 | Benjamin | i mean sources, also i whant to thank you all for giving you'r attention in this project. | 8-Dec-05 7:11 |
| 149 | Benjamin | check you'r mailbox sourcer shold be there by now | 8-Dec-05 7:07 |
| 148 | Anton | Excellent. | 8-Dec-05 7:05 |
| 147 | Benjamin | Hello im back, im sending sources and demos to Anton. he's going to post sources and documentations on his site. | 8-Dec-05 7:03 |
| 146 | Anton | Don't worry, Ben and I are going to work together. | 5-Dec-05 2:21 |
| 145 | Graham | I'm pretty sure most of the demos worked as advertised ... | 5-Dec-05 2:19 |
| 144 | Graham | what does that one do ? | 5-Dec-05 2:19 |
| 143 | Anton | All except the WORD open_save.r demo. But I don't think Ben's could do that on my system either. | 5-Dec-05 2:18 |
| 142 | Graham | Anton, can your version do all the demos that Ben posted ? | 5-Dec-05 2:09 |
| 141 | Anton | Ben just emailed me, so good news. | 5-Dec-05 1:52 |
| 140 | Rebolek | I think /PRO is bad idea...but I said that many times :) | 4-Dec-05 22:05 |
| 139 | Graham | What he said he was going to do was to find a way to provide comlib support for those without pro. | 4-Dec-05 19:08 |
| 138 | Graham | I don't think Ben is working on comlib at present | 4-Dec-05 19:07 |
| 137 | Anton | Ok, what I'll do is send you a zip of the current distro, but with not much promise of support. ie. that branch is marked for death. I will support your migrating to the new interface when that comes, though. | 4-Dec-05 13:22 |
| 136 | Anton | Yes ... I could publish it, as now it is pretty much the same interface as Ben's. However, I plan to totally rearrange all that (probably), so my distro will be hard to keep up with for a while... Mmm... what to do... Work faster I suppose.. :) I *could* release this version and fork again for future rearrangements, but I am not keen to double the work-load... | 4-Dec-05 13:19 |
| 135 | Robert | Sounds good, any chance to get my hands on it? I have ported an Excel dialect to ComLib and would get it in sync than. | 4-Dec-05 11:27 |
| 134 | Anton | More cleaning to be done.. | 3-Dec-05 16:21 |
| 133 | Anton | Lots of spelling corrections :), more official rebol style guide compliant, reducing unnecessary code to be more rebolish.. | 3-Dec-05 16:21 |
| 132 | Robert | Anton, what did you changed in comparision to Benjamin's versions? | 3-Dec-05 15:46 |
| 131 | Anton | All Ben's demos work except the Word open_save.r demo. | 3-Dec-05 15:22 |
| 130 | Anton | OK, couldn't wait. I have forked Benjamin's project, and I am cleaning it up. Recompiled the dll successfully and ran one of the word demos so far. | 3-Dec-05 14:39 |
| 129 | Anton | Benjamin, I would like to contribute to the COMLib project. Have you made any more changes ? | 2-Dec-05 6:46 |
| 128 | Benjamin | never the less i think it would be done in a cuple of weeks, i know i need to document as much as possible but i need time :( it will be here soon ... | 13-Nov-05 23:10 |
| 127 | Benjamin | sorry i've been out for a while, the as i said before im working on a solution for those who dont have the /pro license, im working on the security of such a client because it opens a gate on a tcp port, the security must be hight imagine why... the development time has take more than i've ever imagine .... | 13-Nov-05 23:08 |
| 126 | Graham | Any progress ? | 12-Nov-05 9:40 |
| 125 | Benjamin | i have almost finish the utility it I'll post it as soon i finish the testing, the solutions is very much like reb2win it provides the same functionality plus COM supporting, the cost of the license is in USD, is too expensive to me I'll buy it some day im sure :) i can barely pay my Internet connection, anyway my philosophy is not to buy software it doesn't matter if its windows or rebol. we all could doit better with free soft. | 3-Nov-05 2:39 |