I have (in the past) written cross-platform (Windows/Unix) applications which, when started from the command line, handled a user-typed Ctrl-C combination in the same way (i.e. to terminate the application cleanly).
Is it possible on Windows to send a Ctrl-C/SIGINT/equivalent to a process from another (unrelated) process to request that...
I have a long URL on a web page in Windows that I need to copy into bash shell in Unix. Is there a way to do this without retyping the URL?
...
The command get executed without the need of pressing Enter.
This can be dangerous sometimes...
Why is that and how can I prevent it?
...
How would you implement copy-paste support in a RESTful way?
Let's say I have book store resource. And books in every store
http://mydomain.com/rest/book-stores/1
http://mydomain.com/rest/book-stores/1/books/12
I need the client to be able to invoke copy paste of a book to another store.
Implementing the following:
PUT http://mydo...
I'm new to Flash, and I can't seem to do this simple action.
(I'm using ActionScript 3.0)
I created an input text box in my editor. The instance name is "test".
In my Action editor I have this:
import flash.events.Event;
this.test.addEventListener(Event.PASTE, pasteHandler);
function pasteHandler(e:Event)
{
trace("blaaaaaaaaaagh...
I have a large number of csv files that look like this below:
xxxxxxxx
xxxxx
Shipment,YD564n
xxxxxxxxx
xxxxx
1,RR1760
2,HI3503
3,HI4084
4,HI1824
I need to make them look like the following:
xxxxxxxx
xxxxx
Shipment,YD564n
xxxxxxxxx
xxxxx
YD564n,1,RR1760
YD564n,2,HI3503
YD564n,3,HI4084
YD564n,4,HI1824
YD564n is a sh...
While working on a wysiwyg editor, I hit the wall of Firefox restricting access to the clipboard (haven't yet tested Webkit).
Can someone explain WHY copying to the clipboard is restricted?
I just cannot think of a single way that this can be used nefariously, and use-cases abound where lack of 'copy' support is a problem.
In fact, who...
Well, as everyone knows there is no way you can assign permissions for Copy/Paste of files on windows platform.
I need to control the copy process from a central file server, in a way that helps me know:
which user performed the copy
Which files were copied
where did he pasted them
Total size of data copied
Time of copy operation
If u...
I've got a handle to a Java Process instance and its associated streams. It's a console program. I'd like to simulate a break sequence. On Windows this is Ctrl-C. Is this possible without natives?
The reason for doing this: the console program is a command-line console itself, controlling a virtual machine for another language. The user...
Is it possible to handle this event in some way?
What happens in terms of stack unwinding and deallocation of static/global objects?
...
The RichTextEdit control in .net does 99% of what I need to do for my application, except for a few little things:
1) I want to disallow pasting/dragging images into the control
2) When text is pasted/dragged into the control, I want to reset its style to the control's default
As far as I can work out, Microsoft hasn't provided any type...
I have a user that is dealing with an Access Database continuous forms page where they can perform a bunch of filtering and data entry.
Occasionally the user wants to be able to select a few rows from this form and paste them directly into an email. Outlook formats the data into a table pretty nicely on its own but the problem we're ha...
Now this is a weird one
We have a project where we are reading some data from an Excel spreadsheet. Obviously this data has to be in a certain format. Some of the fields consists of numbers, but should be treated as text.
To stop Excel from being "smart" and change the cell types, I have set the format in the respective cells to 'text'...
If not why not? It seems as though reading, writing, and appending to it would be far more flexible provided multi instance and multi-user issues are accounted for.
...
Are there best practices and code snippets available which show how I can handle Ctrl+C in a Delphi console application?
I have found some articles which give some information about possible problems with the debugger, with exception handling, unloading of DLLs, closing of stdin, and finalization for example this CodeGear forums thread....
When we copy files in windows, we get an expected time of completion. Is that time the best time or the worst time? Also are you assuming the environmental variables?
...
How can I disable the copy and paste functionality in a Silverlight textblock?
...
I encountered some issues when trying to put more than one data representation onto the pasteboard on iPhone 3.0.
What I'm trying to do is put a data representation and a string representation onto the pasteboard. The data is my own data type and I use it for copy and paste in my application. The string representation is a way to copy a...
How can I make the textbox contents to ANSI format when paste in C#?
...
I'm trying to put some plain text in the iPhone pasteboard. The following code doesn't seem to work:
UIPasteboard *pboard = [UIPasteboard generalPasteboard];
NSString *value = @"test";
[pboard setValue: value forPasteboardType: @"public.plain-text"];
I'm guessing the problem is in the pasteboard type argument. Passing @"public.plain-t...