Will Rebol 3 support SetWindowsHookEx - rebol

I asked the question "Will Rebol 3 extension support any windows api call including those requiring callback ?".
Now to be sure and to take an example, will it possible to use Win 32 SetWindowsHookEx() and do screen capture like this:
http://www.codeproject.com/KB/cpp/Screen_Capture__Win32_.aspx
Rebol is really missing screen capture function.

Carl has released a new hostkit that support callbacks.
see http://www.rebol.net/r3blogs/0329.html

I've actually built a screen capture and Image editing application in REBOL for Qtask, so yes, its already possible in R2. :-)
https://www.qtask.com/qwiki.cgi?mode=previewSynd&uuid=RX1BV28XG68G87ERFEA2BXLQ63QT

Related

Tiles and Live Tiles in Windows phone 8

Is there any difference between Tile and Live tiles in windows 8 phone.
or we can use both interchangeably.
I googled it but not finds any satisfy results.
This really depends (not actually, but let's assume it this time) on the template for the tile you choose. If the template exists for both WP8 and W8, then the code allowing it to actually do anything looks the same if you utilize C/C++, C# or Visual basic. BUT, most of the templates (XML) does have some differences so most of them will need som opt-ins by you to work on different platforms. So, the short answer is no, they do not work interchangeably and the long one is yes, if you modify the parser (which you can, but should not do!).
Alex

Using live tiles inside a windows 8 metro application [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Unable to create live tile inside Windows 8 application
is it possible to use live tiles inside a page? I know how to configure tiles for start menu, but I don't know how to obtain a similar effect inside my app. Thank you
You can use the LiveTile control that comes with Callisto.
You could create the effect within an application, but the specific mechanism used for the Start screen is not directly available within the context of an application.
From another post in StackOverflow, you may be able to reuse/port code from the Windows Phone 7 toolkit. There's a number of applications in the Windows Store as well (search for "tile") that provide interfaces for designing tiles, and some may have incorporated similar functionality.
Also from this post, looks like Telerik may have a solution.

AirPlay API for Mac OS X

Is there currently any API (public or private) that will allow a 3rd party Mac OS X application to stream audio to AirPlay receivers? Airfoil by Rogue Amoeba Software seems to be able to do this, same goes for Erica Sadun's AirFlick, but I was unable to find any source code that would demonstrate how to do this. Any pointers are appreciated!
Here is an open source ruby implementation. It's pretty straight forward. https://github.com/elcuervo/airplay
It turns out AirPlay audio streaming is possible as of OS X 10.8 using public APIs, but wasn't really documented anywhere. Joris Kluivers wrote a great blog post on how to get it going.
There are a couple of open-source RAOP players available; I haven't tried them, so I don't know if Apple has broken them since they were written.
Mountain Lion (OS X 10.8) has added AirPlay support in the sound settings. The user can choose to send the local sound output to an AirPlay device. However, I don't think that you have access to any API within your app.
There are some libraries available to implement AirPlay, but know that Apple will reject your app if you try to publish it on the App Store. At least, that's what happened to me.
I wrote a node.js module to support AirPlay. Even if you don't use node, you can just pipe your audio data through stdin.
https://github.com/lperrin/node_airtunes/
I don't think it's available. At least not in versions prior to 10.7.
I'm guessing that Airfoil uses something like DVD John did a while ago when he cracked the Airport Express key payload. He released the code (C#) you should be able to find it but it's pretty cryptic.
I'm not aware of what AirFlick uses but you could always try pinging Erica, she usually shares her stuff.
Someone recently managed to obtain the AirPlay private key which allows you to have your program listed in the AirPlay menus on devices on your network.
You can read about it here. There is also an open source project linked from that page.
http://mafipulation.org/blagoblig/2011/04/08#shairport
Be aware that obviously any application you create will never be approved by apple and the private key could potentially be changed in a firmware/software update.

Hooking/Scraping .NET application

I would like to create a trading bot for Magic Online. If it's a concern, doing that would not violate the terms of use, and several vendors for such a bot exist. I initially started out with the DLL injection/API hooking path, but that doesn't work as it doesn't seem to call any of the standard GDI functions. My code works fine on Notepad, but does nothing on MTGO_NET. Same result with third party hooking libraries.
I then "gave up", and decided to try to use OCR. However, this weird thing happens when I try to do a screenshot of the client window: I only get the game's splash screen, no matter what the client is actually displaying. The main window device context is always the splash screen. I am guessing the client uses a separate device context to actually render the game, and I have to somehow figure out what that DC is. Does anyone have experience encountering this issue? I would gladly take any advice regarding either hooking .NET applications or how to take a screenshot.
I am testing all this on Windows Vista Ultimate 64 bit. I haven't tested this on a 32 bit installation, but I hope that isn't an issue.
I suggest you look here: http://www.mtgnews.com/showthread.php?t=191879
Which provides a link to source code for a 'working' bot.
The result of a google search............

mixing JQuery and Objective C

Is it possible to use the JQuery effects in the existing Xcode project?
Please let me know if it is possible.
Short answer without more details is probably no, inasmuch as Objective-c is a compiled language that produces a runtime package that will run on the appropriate devices and JQuery is a set of javascript libraries that are interpreted when run in a browser or or on a server side javascript engine such as NodeJs.
It's possible you might be writing an application in Xcode that users a browser window so once you are inside a browser then the answer might be yes you can run JQuery inside that but this supposes that you are writing html/js inside this area.
THe other question would be why do you want to? If you are writing XCode then you have full access to all the Apple UI's which are native to the touch devices you are developing for and probably (certainly) give you a much wider set of options.