increment pasted number keyboard - keyboard

Probably this question is absurd for you and i don't know if there is solution.
What i would like to do is increment the number that i have copied with control-c after each control-v that i do..
For example if i copy with control-c the number 10 from a site, then when i paste with control-v in another program the number pasted should be 11 etc..
Is there a way to do this???
Because i have to insert about 2000 number in a program and in this specific case is not possible to do script in order to automate the work..
I hope in some answer
Thanks

I can't think of a great way to do it.
What comes immediate to mind is you can open Excel and have two cells, let's call them incoming and outgoing. You paste into incoming, and outgoing is setup to be incoming + 1, which you can copy and paste into your program. So you double the number of copies and pastes you have to make but it won't be the end of the world. It sure beats manually typing.

It's possible, using a small (custom written) program that would run in the background. It would have to look at the contents of the clipboard, test if it's numeric, and if so, increment the value, if it's not already been incremented. Shouldn't be all that hard for a windows programmer worth their salt to cook up.

I did this in excel when i needed it multiple views. row() function enters current row number. Copy this cell for as many times as you want one below other and then copy paste in android studio.
=CONCATENATE("dateBoxView"|ROW()|" = fragmentView.findViewById(R.id.dateBox"|ROW()|");")

You can do this using something like Pulover's Macro Creator. You press a hotkey to copy a number. Everytime you press ctrl-v a the copied number gets +1 and that new number copied to clipboard for the next paste. When you want to stop doing this just stop the macro.

Related

How to input,copy and paste into different file specific lines from millions in Emeditor?

What i am looking to achieve is simple, but i am a noob in this and i have tried to get that done.
I am used to copy in excel but in Emeditor i feel there is a better way of doing that, afterall it opens more file.
I do not want to be copying-down specific line range like i do in excel.
For instance, if i have a file that is 20million lines, and i need to copy only specific range, maybe between 1-2M or from 2M to 5M, without having to highlight and copydown, how do i go about it?
I will appreciate your responses.
Press F8 (or Ctrl+F8 to select whole lines) to mark the
beginning point of a selection.
Press Ctrl+G and specify the destination line number/column to jump to the ending point.
Press Ctrl+C to copy the selection.

How to avoid reloading data in each run

How can I avoid reloading data each time when I want to check if my script works? I work with spyder and python.
I have to load around 1000 .csv files, it takes just a few seconds but it is unnecessary to repeat this step each time I change a parameter or a name somewhere else in the code.
One simple option is to comment a part of code. What would be a more efficient way?
(Spyder maintainer here) You can use cells in Spyder, which are blocks of code delimited by comments of the form #%%. You can evaluate cells with keyboard shortcuts Shift+Enter (run and advance to the next cell) or Ctrl+Enter (run and stay in the same cell).
This way you can have a cell to load your files and then another cell to do you computations with them, like this
#%%
data = load_my_files('my-dir')
#%%
compute(data)

Automatically copy excel values not formulas

I am looking for an automatic version of this feature:
https://www.technipages.com/excel-copy-and-paste-values-without-formulas
Is there a built in Excel function that can do this automatically without manually copy/pasting each cell? I have a column of functions and I want to have another column of values beside it.
Thanks!
I'm not sure what you mean by "automatically", but this should at least speed up the process:
Select the cells you want to copy the content from and press CTRL+C
Click in the new cell and instead of using CTRL+V, use CTRL+ALT+V. This will open a dialogue box, in which you have to check "values". This can be done with another keyboard shortcut V (english version of Excel, might be something else in your language).
This might seem complex, but it's actually pretty fast.
Instead of pasting the cells with CTRL+V, you now paste the pure cell values with CTRL+ALT+V + V (+ ENTER, depending on whether you use the english verion or not).
This at least saves you from using the mouse and clicking through additional menues. Hope that helps!
#J Connor, if I'm not mistaken you are in need of PROGRAMMING method, as you have written Automatically.
Here are few simple steps to get the Solution.
Method 1
Range("A1:B10").Copy Destination:=Range("E1")
Method 2
Range("A1:B10").Copy Range("E1").Select ActiveSheet.Paste
Few more I can suggest. ☺

Auto populate column by reference?

I am working on the following sheet, called Raw_Data:
In a new sheet, I want to copy the registration_date column by reference. This means that if I change the registration_date on the Raw_Data, the changed value should be reflected in the new sheet.
To implement this, I have entered the following =Raw_Data!C2. So far it works fine as you can see below:
But the problem is that when I double click on the little green square here, it doesn't automatically populate the entire column.
I don't want to manually drag-and-drop because there are several thousand rows. Does anyone know how I could automatically populate the column by reference?
While there are some automation things you could do, I think a lot of that would be overkill for what could be just an input issue with how you are choosing to copy in Excel.
If you find that you need to copy a large block of data, rather than dragging the corner of your cell like that, try one of these alternate methods:
While selected on the cell, press CNTRL + C. Then in the 'Name Box' (where it shows the address of the cell you are on), type in the cell where you want to go (A17000); then press SHIFT + ENTER. This will jump you to that cell, and will highlight all cells inbetween where you were and where you are going. Then press CNTRL + V.
Another method of moving around a large data block in Excel is to hold CNTRL and press an arrow key. This will move you as far down the data block as possible. Note that this will not work on a blank sheet, as there is no data and therefore Excel doesn't know when to stop.
Again - some automation would be possible here, but moving around an Excel worksheet is something you will be doing too frequently in too many different ways to want to automate what might be 5 keystrokes once a week.
In excel the "double click to fill" feature is a heuristic based feature that fills the cells that appear to be relevant with the selected formula (+ reference corrections).
In your case there is no hint the heuristic can use to tell what to fill so nothing is being done.
Regarding dragging "several thousand rows", that's not a real problem. If you only do it once, there no reason to even trying anything "smart" or complicated.
You can also copy the source cell, select all the cells you want to fill and then paste. You can select cells in any way you like, not just dragging.
You could instead of all the dragging/copying/filling approach simply copy directly from the source, and paste by reference.
As a last resort, you can always go for a VBA solution to do that for you.

insert hyperlink for more that 1000 entries in excel

i habe many entries in excell ( more than 3000 ).
actually their are hyperlink but just like a text. i need to convert them in excel hyperlink but dont know how do to that with thousends of entries. please help.
\\192.162.0.2\public
\\192.162.0.2\public\Big-PC.log
\\192.162.0.2\public\InstantReview-ExperimentalHive.reg
\\192.162.0.2\public\InstantReview.reg
\\192.168.0.2\public\Invitation-BLUB.ir
Just use the formula & drag;
=HYPERLINK(A1, A1)
Edit;
I put =HYPERLINK(B3, B3) in the formula bar and hit enter (to get the colour effects that don't seem to appear otherwise for some reason) then dragged down;
I'll give you a generic answer to these sorts of problems.
start Macro recording
convert the first item (convert your
fisrt text cell to hyperlink)
stop Macro recording
open the recorded macro and copy the
code snippet that does the job
write a function (using the code snippet) that iterates over
all your items and does the job
(If you have further problems with one specific step, then that should be considered as a new question, I guess)

Resources