Ghost Typing into Browser - bots

I'm working on a Chat Bot that needs to do some automatic "ghost" typing into your web browser (or other software). The target platform is Mac OSX, but there might be a need for a port to other OS's in the future. What needs to be accomplished is to take over the user's keyboard and "ghost" type for them.
What programming language would suit this project best? If you are also knowledgable in this topic, please help steer me in the right direction. Cheers.

If your target OS is a Mac OSX you should look to develop your software with Objective-C and Cocoa
More information: http://developer.apple.com/technologies/mac/cocoa.html
However if you are a C/C++ developer you can develop 32-bit OSX software with Carbon, this would make it easier to port if you decide to at a later date.
More information: http://developer.apple.com/carbon/

Related

Can I port a cocoa app made in swift to Windows and Linux?

I have a Cocoa app that I wrote targeting OS X 10.11 using swift and storyboards. Is there a way to port it to Linux and Windows, or at least part of it? (e.g. moving some code a Cocoa framework and using a tool to port it etc.)
I saw this question that mentions Cocotron, but it's only for Objective-C and it seems it's not fully developed.
Thanks for you Advice
Apple has said that Swift will be open sourced "later this year" and ported to Linux, but they haven't said any such thing about Windows.
QT is one of the solutions for porting cocoa to windows, but even qt is limited... in a good way. i mean youre not gonna want to program a windows application with ios features in mind like screen shaking.
other solutions consist of devolpers porting cocoa functions and they as well as qt can be incomplete even within the realm of possibility like volume buttons and clicking to change views, etc.
this is the essence of toolchains and frameworks
research those as they are available on swift for windows etc
there are several ways that porting code is possible.
binary, compiler infrastructure are the things that come to mind
sorry if this answer seems uninformative, counter-methodical/"rebellious" or philosophical
Edit: cocoapods.org
Edit: https://swift.org/blog/swift-on-windows/
Edit: http://www.wxswift.org/
there are currently no libraries for writing swift apps on windows, and cocoa is currently only working on ios macos etc
Edit: I recently learned that you can port over existing code onto other platforms via simulation systems like sandboxes and the Wine application on mac which allows 32 bit windows apps to work on mac. if you want to make an app for everyone, then youll have to bundle it with one of those structures - as simple as possible
hope you find this useful
im a beginner swift programmer so this is new to me too
Apple have begun porting Foundation to Swift for use on other platforms:
https://github.com/apple/swift-corelibs-foundation?files=1
UIKit will be much harder but might happen eventually.

How to use IVI-C instruments-drivers (not IVI-COM)

I want to use IVI-C instruments-drivers (not IVI-COM) in Visual Studio 2012
Someone ever did this?
I only found examples for Visual Basic.
Drivers are downloadable on keysight.com-website which are free to use.
For VISA i installed Keysight IO-Libraries.
I'm doing something similar in Visual Studio 2013 using VB, but the basic principles will be similar for all languages. You probably know all of this already, but the question is a bit vague so here goes:
You need to install the drivers plus an SDK (which comes as a dll). Hopefully the SDK will come with a manual of commands in your language of choice, but if not study the manufacturer's coding examples in VB or whatever.
It is easiest to use the languages provided in the SDK (usually VB and C#, maybe C++) otherwise you will have to write an interface between your language and the actual command syntax and work in a multi-language environment.
The drivers and the SDK need to be referenced in your project after you have installed them. (MyProject, Reference Tab, use the Add command and Browse for the files.) Sometimes its hard to find the correct files but VS 2013 is quite good at telling you when you get the wrong ones.
You may have to target your build (Build|Configuration Manager) on x86 processors because there are no x64 drivers for much of this kit - check with Keysight.
Then, in your code you will need to:
instantiate a copy of the driver for the specific instrument:
Dim MyDriver As New InstrumentManufacturersDriverName
initialize it using the manufacturer's commands (on my kit initialization connects the driver to the physical interface via USB):
MyDriver.Initialize(ParametersIfAny),
set up the ports you want to use (very dependent on the specific hardware)
program your commands.
Use a lot of patience and trial and error at first.
Best of luck - it's not so difficult.

Implementing an Alternative to Adobe AIR in for Linux

I use a product called ReadCube on my desktop, and the creators haven't developed a version for Linux because AIR for Linux does not include many features the same way the Mac and Windows versions do, and so the development of a Linux version would be difficult for them to do. From reading adobe's website, it looks like there won't be any updated version of AIR for linux anytime soon.
I'd like to know if it would be feasible for one person to develop an alternative to AIR for Linux that app developers could build upon. I'm not sure what this would entail as I can't see the source code for AIR so I'm not sure what technology is involved aside from the short wiki description that it allows developers to combine HTML, Javascript, Flash and other things to make applications.

How to create application for Mobile?

I have to create a mobile installable/client application...and I dnt know nothing abt this..
what SDK,language should I use?? if this will in .net will be fine(optional)... any Ideas
Will really appreciate this...
Thanks!!!
First you will need to decide what mobile platform or platforms you want to support. Often your choice of language and toolset will be completely dictated by that. For example, if you want to write software for the iPhone, you will need to use Objective C (and use a Mac) while Android-based phones and BlackBerry devices require Java. Windows Mobile and Symbian devices natively support C/C++ and their own proprietary APIs but you can use frameworks like Qt to make things easier (and portable between the two). Windows Mobile in particular also supports lots of other platforms that run on top of the base OS, such as slightly limited version .Net or Java (but bring-your-own-JVM).
The one common denominator between them all is web applications. If you want a single codebase that will work everywhere and that doesn't use a completely proprietary toolset, you can build a web app.
Programming languages: Objective-C, Java, C# .NET CF etc. It depends on what devices you application should be running.
You can use Visual studio to target Mobiles have Windows Mobile OS or Windows CE or Pocket PC, for other OSs you have to see the SDK that the Manufacture company provide.
I you got no clue to start with, I suggest you start with Java ME. Java Mobile Application is, in my opinion, the safest way to go for starters as they have the widest acceptance among mobile device platforms.
Good luck.

web developer tools linux

I started using Linux for PHP web development. What is a helpful toolset to use for web development (mostly PHP) available for the Linux platform. My Current IDE is netbeans and I am happy with it.
In no particular order, my perfect environment consists of:
vim - text editing
git - version control
screen - terminal management
This is all you really need to build a great app in any language, for that matter (baseline). Every language has its specifics, but the above will more than get you started.
The PDT project provides a PHP
Development Tools framework for the
Eclipse platform. This project
encompasses all development components
necessary to develop PHP and
facilitate extensibility. It leverages
the existing Web Tools Platform (WTP)
and Dynamic Languages Toolkit (DLTK)
in providing developers with PHP
capabilities.
You can have a try for eclipse.
http://www.eclipse.org/pdt/
Another one not mentioned in this thread (suitable for PHP and a lot of other dynamic languages):
Komodo Edit (free version of the Komodo IDE)
I really like using Netbeans and SqlSquirrel. Both of these tools are written in Java and they are cross platform compatible. Also an odd note about SqlSquirrel: It uses the Netbeans editor. Also, if you like there are many tutorials and articles on using PHP with Netbeans on their site. Overall, go with the toolset that you like the most. There isn't a single toolset that works with everyone, and for all problems.
I like Eclipse PDT, and it can be used both on Windows (which I use at work) and on Linux (which I use at home).
Features are quite the same as netbeans, I'd say ; especially, you've got nice stuff like graphical debugging, when used with Xdebug.
I'd say that, these days, when it comes to a modern full-IDE for PHP, that works on Linux, and is free, there are two choices : netbeans and Eclipse PDT. Which one you prefer is generally a matter of taste, as far as I can tell.
If you're happy with NetBeans, stick to that as you IDE. Learn to use Vim or emacs just for common knowledge. Use version control, Subversion and git are good choices.
The power of linux is in the command line. Whatever you do outside the IDE, learn to do it with command line. After a while you'll be comfortable with it and you'll discover that there's bunch of stuff you never want to do with GUIs anymore :)

Resources