Bloomberg terminal and UFT tool - hp-uft

I am doing manual work on Bloomberg terminal on daily basis.
I am looking to automate manual work using UFT tool, but UFT is not able to recognize Bloomberg terminal and capture it's objects.
I tried using TE add-in in UFT but it is of no use.
Is it possible to automate Bloomberg Terminal with UFT tool?

Have you tried macros and assigning them to buttons? Macros are short (or long) scripts of commands to run in the Bloomberg Terminal. Everything that you can do by typing into the command line - you can automate with a macro. To click a button or a menu, type their number and then <go>. You can even record macros and play them back.
Start by hitting alt-b in your Terminal to bring up the buttons and macros popup.
Edit: You can also use DDE to communicate with the Terminal, see (though it is deprecated, it should still work): How to open a specific bloomberg terminal page programmatically?

Related

vs2019 external tool uncrustify hide console

I have been able to successfully add and configure uncrustify as an external tool to vs2019.
The problem I have is that the console window flashes each time uncrustify is executed (via keyboard shortcut).
Is there a way to hide the console window or prevent it from appearing?
Thank you all.
You can enable the Use Output window option for the tool.

How do you assign a keyboard shortcut or hotkey in sketchbook pro?

I'm using Sketchbook pro for mac, the documentation that states: "Many of the tools found in the lagoon and menus have assigned hotkeys. You can also check out the Preferences window for a list of them or to remap a tool." However, the link they provide does not give information about how to remap commands.
So trying to switch gears and use hotkeys instead, now the documentation describes a method of assigned hotkeys; however, this doesn't work and nothing happens. Also mysteriously the documentation shows the lagoon with the ability for hotkeys however on my desktop this isn't what I see (see figure below)
Ultimately my goal is to assign commands to my tablet, literally I just want to assign the r key to the rectangle tool instead of the ruler as shown. The problem is that on my Wacom I can only use keystrokes and as it is there is no keystroke for the rectangle command, so frustrating.
It seems like it would be so simple to just "assign keyboard shortcuts in sketchbook pro" but I can't find a single example of it actually happening, I only find references to it being possible, like for example the end of this video see image below:
I don't mind trying to figure out how to use Applescript but I can't find any information on how to talk to sketchbook with applescript. Frustratingly there is an interface to run Applescripts...but no information about how to write applescript to interact with sketchbook commands, see figure:
I'm not sure about applescript, so I hope someone else can help.
You cannot set your own shortcuts inside of SketchBook.
You can only select from the list provided.
In your screen-cap the context of that video is setting your Wacom tablet buttons to Sketchbook hotkeys. That end slide is attempting to communicate that you can use our suggestions (which are listed in the video) or make your own configuration from the available hotkey list. It's not meant to say that you can create your own custom hotkeys.
What are you using the rectangle so much for? 🤔
Regarding AppleScript, I've checked via Autodesk Support and they replied they currently do not support it.
The fact that you see your script appearing in "Sketchbook Pro > Services" is a MacOS feature, it doesn't necessary mean Sketchbook knows about it.

Minimalist cocoa app, how to create a menu bar?

I’m just trying to create a window in cocoa. I wanted to use this code as a basis but somehow the app menu does not show up (still shows the one from the terminal, un-clickable though).
Can anybody give me a hint what might have changed in cocoa since that article was written? I’m using Yosemite.
It works fine for me, but I had to Cmd-Tab switch away and back again to the running executable before the app menu became active. I tried appending a space and the ampersand symbol to the end of the code, which tells the shell to background the task, thinking it may launch normally then, but to no avail.
You might try appending an AppleScript command such as tell application MinimalistCocoaApp to activate after the command to launch ./MinimalistCocoaApp (separated by a semicolon). I'm not sure the "compile and run" terminal command for AppleScript, but that should be easily Googled.

Remembering terminal states in OS X (like Fluid for the shell...)

I have a few different things open in the terminal whenever I'm developing -- log tailing, Ruby console, plain shell in a certain directory, and so on.
How do I:
start all those things at once, hopefully in the right position on the screen?
make them distinct so I can switch to them with Quicksilver / Alt-Tab?
Fluid solved this problem with all of my web apps, so now I want to do it with my terminals.
And while we're on the topic, has anyone found a working solution for getting OS X to remember window positions on an external monitor? If I unplug it and plug it back in, I have to drag everything back to the same position (although at least Mercury Mover makes it possible to do it with the keyboard.)
Open Terminal, and go into Preferences, then go into the settings tab, and create a new setting for each of your windows that you want. Either give them all different colour schemes, or duplicate a colour scheme multiple times for them all to have the same settings. Under the shell sub-tab, add "Run command" to be run at shell startup. (This is the command that will cd to the directory you want, or tail a log).
Then initialise the windows as you want. Then click Window in the main menu and select Save Windows as Group...
In OSX Yosemite you can use (in Terminal) Window -> Save group. It will do all the work for you.

Unable to use X clipboard in Screen

I read the following code in Unix Power Tools on page 117
*VT100.Translations: #override\
Button1 <Btn3Down>: select-end(primary,CUT_BUFFER0,CLIPBOARD)\n\
!Shift <Btn2Up>: insert-selection(CLIPBOARD)\n\
~Shift ~Ctrl ~Meta <Btn2Up>: insert-selection(primary,CUT_BUFFER0)
I have not managed to see any effect of the above code.
How can you use X clipboard in Screen, without your mouse?
Using the mouse. Left-click drag to select and usually the middle mouse button pastes but some terminals may differ (PuTTY uses right-click). If you only have two buttons you click them both together (left mouse button + right mouse button).
In reply to comment below ("Can you do it without your mouse?"):
ctrl-insert : copy
shift-insert : paste
shift-delete : cut
shift-ctrl-C : copy
shift-ctrl-V : paste
Not all applications will support the last three (though Konsole does). In fact most console applications will not allow you to delete text once it's printed.
As far as selecting text without a mouse I'm not sure there's a generic mechanism for that. It's probably terminal and/or application specific (ie, vim has it's own keys for marking and copying text - but only within vim). You could do it with mouse emulation but I'm sure that would be a painful process.
You can't use the traditional Mac/Windows shortcuts in a terminal because they were reserved for different actions long before these OS existed (ie, Ctrl-C terminates the running process).
I'm trying to use Ctrl-C in X
X does not handle these operations directly, they are handled by the application. That's why modern GUI programs like Firefox or Gedit support Ctrl-C for copy but terminals and command-line programs generally do not. As I said, it's a conflict in established conventions and Ctrl-C for kill got in first.
BTW, you could do some key-remapping if it drives you nuts but then you would be learning bad habits when you use a different machine. Best to just get used to it or do most of your editing in a GUI application.
More Information
EDIT: For a Mac, this may help: MacOSX-to-Konsole or This or This. It looks like you need to replace Ctrl with Command on Mac keyboards. It seems like Terminal the mac console has a right-click context menu for copy-paste so to do it the traditional way you me need to install a different console program or change some settings in Terminal.

Resources