Pasting an image directly from a client clipboard - image

We have a need to allow application users to paste images into WYSIWYG from. Our front-end runs in IE 11. In cases when the image in case is actually a screen capture we really do not want to force users to first save and then upload it. It should be pasted directly (at least in terms of user experience) from Windows clipboard.
I was thinking of creating our own Image plug-in for CKEditor, but not sure if what we want is actually doable.
For example, CanIUse warns that
Internet Explorer will display a security prompt for access to the OS
clipboard
Not sure what other difficulties we might face due to JavaScript guarding end-user file systems and other resources.
Since CK Editor site refers to SO for support, I hope that someone here might be able to enlighten me.

CKEditor 4.5 supports that. Test their demo.

Related

Reproduce Windows drag and drop with a custom image

I am looking for a way to reproduce this behaviour from the Windows drag&drop file system :
The cursor isn't visible with the default screencap feature of Windows, but of course it's on the right side file.
I'm looking to reproduce this right side image following the cursor in a program and setting the image myself. Having it be removed automatically on MOUSE_UP would be a big plus.
I'd like to use the Windows API directly so this process could work in the same way across languages, but if anyone has a better way I'm perfectly willing to hear it, of course.
Thanks.

Fore a file to only open in adobe acrobat

I have a pdf that needs to only be opened using acrobat. This is easy enough on a configured computer. But is there a way to only allow this file to be opened using adobe regardless of what the default program is. I have a lot of computers in my firm and I have to configure app defaults for every user. If I could just force the file to require acrobat that would be awesome.
No, there is no way to indicate that a PDF should only be opened with a particular PDF viewing application. You would not even be able to rely on JavaScript in the PDF to put up a dialog to let the user know they should view the document in Adobe Acrobat because not all PDF viewers implement JavaScript.
The closest thing I can think of would be to use a rights management tool that only Adobe Acrobat works with, even this though is not guaranteed to stop users from trying to open a PDF with a viewer other than the one you want them to view it with.
PDF's goal/purpose is to provide a file format the allows the author to share content across platforms without noticeable differences. What you are looking to do is something PDF was not truly designed for.

Creating a Typing Assist in Firefox addon

I want to create a typing assisting addon to my Firefox such that whatever the user is typing currently appears on a small window on the right hand side bottom in bigger fonts.
This will help slow typists to type at a faster rate.
For example, when the user is on yahoo sign-up page and text box name, a small window should appear on the bottom right corner and should display the text he is entering in larger fonts. In this manner, the user can keep typing without moving his head up.
I have no experience with firefox addons, so I would like to know whether this project is feasible. If it is, then I would like to know whether it's possible to do with only JavaScript; or if I will have to use jQuery.
It will be much appreciated if you can provide some guidance in this matter.
Sure it's feasible. You never have to use jQuery and it's not very useful when writing an add-on anyway, since you don't care about differences between browsers.
I suggest you start with https://addons.mozilla.org/en-US/developers/ , try to get a page-mod running, make it handle keystrokes and display them in a <div> on the web page it's running in.

Is it possible to override the default folder browser dialog in Windows?

For a while now I've disliked the default folder browser dialog in Windows:
Granted, at least it has the text box with autocomplete; but if you go strictly with the tree view, it can take a lot of clicks and scrolling to get where you want!
It'd be nice if I could develop a superior (to my taste) UI and have this override my system's default. That is, whenever an application requests a native folder browser from Windows on my system, I'd like to be able to define my own such control so that it will be displayed instead of the built-in one. Naturally I could/would then also offer this to others to install on their systems if they like.
Does Windows provide an API to override this particular feature? Maybe via a shell extension or something like that? (I've never done anything that interacts directly with the OS like that; so I don't even know where to start looking.)
Basically I am asking if this OS-level functionality is configurable within Windows.
An app called FlashFolder seems to have done that, and has a lot of good reviews (meaning it at least works for someone) but doesn't work for me at all on Windows 8. If you have an earlier version of Windows perhaps you'll have more luck.

Disabling Tabbed Browsing Based On Website

A client is reporting a problem using our Web-Based application. It seems that their users are opening Multiple tabs while using the site. It leads to a problem where they lose track of what tab they are on and sometimes enter invalid data or view data in the wrong context believing that they are on a different tab.
Though I have proposed different solutions for them they only want to consider one solution: disabling tabbed browsing when their users are on our site, and enabling it again when they are not.
Is such a thing possible? All the users are using Windows (XP, I believe, although possibly W7) and Internet Explorer 7+.
I wasn't sure if there is a Windows Scripting solution that can accomplish this, or maybe an ActiveX control that has this capability.
EDIT: 2012/08/13 One feature I am now considering is a custom Internet Explorer application. Something similar to what the poster is talking about here:
http://www.symantec.com/connect/forums/ie8-virtual-layer-custom-ie-settings
and here
http://www.vandyke.com/support/tips/ieobject.html
This is new ground to me so if someone with experience here has any ideas I would love to hear it.
No, you cannot do this. IE will only allow the user to make choices around how tabs work, not the website. It does not have a feature for controlling this on a per-site basis.
If modifying the application to behave differently when it detects this happening is off the table, your client (the people) can just disable tabbed browsing completely using administrative tools.

Resources