I am looking for a way to create a button to paste plain text. i.e. Edit -> Paste Special -> Text.
I found the function #Command([EditPasteSpecial]) but it only pops up the Paste Special dialog box.
Is there a way to automatically select Text from this list? Some way to automate the keystrokes for "T" and "Enter" maybe?
I tried adding a line for #Char(84) and #Char(13) to simulate these keystrokes, but that didn't work. Any other options?
Thanks.
You have to use Lotusscript.
Look at the GetUnformattedText method of the NotesRichTextItem class.
Related
I want to Google search a term. So, I did a concatenate formula that creates a hyperlink. It looks something like:
=CONCATENATE("https://www.google.com/search?q=",A1)
Where A1 is the location of the term I want to search.
So far, so good. This gives me a hyperlink in text form. Then, I create a second column to establish the actual hyperlink:
=HYPERLINK(location of the concatenate formula result)
Great. I've got a working hyperlink. If I use the mouse to click that formula, it opens the Google search correctly.
Now, I want to use the keyboard instead of my mouse to click this hyperlink. I need to do a bunch of these types of searches. Maybe I'll create a macro that can open them for me a few at a time.
Anyway, this older post describes a way of opening hyperlinks in Excel without using the mouse. The problem I have is that I don't see "Open Hyperlink" in my context menu. All I've got is "Remove Hyperlink".
Any ideas why and what I can do to work around it? Thanks!
I want to make an Automator shortcut to paste selected text to a Word document.
To provide Applescript with the selected text I used the following code:
on run {input, parameters}
set input to input as text
set the clipboard to the input as string
return input
end run
Then I "Get" and "Open" a specified Word document
And here, as I understand it, a new Applescript with the function "paste selected text to this word document" should be, but I have some real problems with this part of the Automator algorithm. Could anyone please help and/or give any tips?
Thanks!
Yesterday I asked for help with macro code. I receive the help I needed and the code works great - with one exception - now, no matter what I do, the shortcut I used to use no longer works.
The keyboard shortcut was CTRL+q. Now it doesn't work and nothing happens when I hit that keyboard combo. I tried saving it with a different letter but that fails too.
Any ideas as to how to get the shortcut to work again?
From the View tab, select the Macros button and then View Macros. Look for your macro on the list that it displays, single-click it, then click the Options... button.
This shows you the dialog box you need. The shortcut key currently assigned to the macro (presumably none, based on your description) will be shown, and you can type whatever letter you would like. Don't forget that assigning a lower-case letter makes the shortcut ctrl-letter while using an upper-case letter makes it ctrl-shift-letter.
I need to automatically retrieve the text of a popup box from an external application. i would need this text to be inserted into a cell in my excel. any idea how?
i am using appactivate and sendkeys to send keystrokes to this application, now i need to do the reverse, to pick up the generated text and insert into my excel.
thanks!
If you are talking about a message box, Ctrl + C copies to clipboard.
I use few predefined strings a lot during the creation of data in MS Excel.
Is there a way I can create a drop down option on right click that says "Paste As..." and then select one of the texts I have predefined? Like an add-in.
Or is there some in built Paste option within Excel itself? That would save up loads of time for me.
In Excel Options (via the Office Button) under Proofing you may have an AutoCorrect Options... button where you can specify Replace: and With:. So you might choose something like qq1 (as unlikely to be required as such) to be replaced with whatever text you prefer to replace qq1.