Open XQuery panel in BaseX - basex

I have tried many times to open the XQuery panel on BaseX. I've searched just about anything on the GUI opened any panel that could be opened and searched throughout the documentation of BaseX, no go.
EDIT
When I go to View > Editor I do not get the XQuery panel I get this one:

The query editor is hidden under "View" -> "Editor", or using the hotkey Ctrl+E (on OS X, using Cmd instead).
Edit: In the updated screenshot, the query editor is already visible. The "XQuery" view was renamed some time ago, when the editor was enhanced. Just press the "+" button in the tab view to open a new tab to write XQuery code.

Related

How to make .i and .s file visible in a C project explorer?

What are the instructions written inside the makefile of a C project to make both the expanded source code file .i and the assembly source code .s visible in the project explorer in eclipse IDE ?
that depends on the compiler. for gcc it is -save-temps
Have you seen this site?
Instructions for Showing or hiding files in the Project Explorer view:
You can choose to hide system files or generated class files in one of
the navigation views. (System files are those that have only a file
extension but no file name, for example .classpath.)
On the toolbar for the Project Explorer, click the Menu button Menu button to open the drop-down menu of display options.
Select Customize View..,.
In the dialog box that opens, select the Filters tab and then select the checkboxes for the types of files that you want to hide.
In addition, you can restrict the displayed files to a working set.
On the toolbar for the Project Explorer, click the Menu button Menu button to open the drop-down menu of display options.
Choose Select Working Set...
Select an existing working set from the list or create a new one by selecting New...
Related concepts
And there is also Searching for Files:
Searching for files
The Go To > Resource action in the Navigate menu allows you to quickly
find a resource in the Workbench by searching resource names.
You can also do more complex searches for files in the Workbench. For
example, to find all files that end with .xml:
On the main toolbar, click the command link Search button Search icon.
Type *.xml into the File name patterns field and leave the Containing text field empty.
(You can use the pull-down list to select *.xml if it had been previously entered.)
Finish entering your search options, for example to scope the search to specified working sets, and click Search.
The Search view displays the results of your search. Right-click on any item in the Search view to open a pop-up menu that allows you
to remove items from the list, copy search results to the clipboard,
or rerun the search. To open one of the listed files, double-click it
or select Go to File from its pop-up menu.
If you close the Search view, you can return to it later by selecting
command link Window > Show View > Other... > General > Search.
(Replace *.xml with or *.i or *.s)

oracle database modeler missing toolbar

I am fairly new to oracle database modeler. the first time I ran the application I seem to noticed that my toolbar isnt showing. is there a way to activate it?missing toolbar
Right click on the Logical Model and select "Show". A new window opens up in the middle section and the tool bar should appear.
Hope it helps.
It is not missing. You're not on the right item(page). Go to the view/subview and open a model (diagram) and the toolbars will appear. The toolbar changes based on the page. You're currently on the home page. Easiest way to see the page is double click on the sub-view and it will open a new diagram and the toolbar should appear.
If toolbar does not appear although doing all steps in previous responses try this:
Click "Tools" and then "Preferences"
Select "Environment" option.
In the dropdown of "Appearence" change the selected option (Usually are 'Oracle' and 'Windows').
Click in 'Ok' to save changes.
After step 4 the program will require to be restarted, accept it and when it restarts the toolbar will be visible again.
Click View
->Go to Drop Down and click Browser
->To the left of the "data modeler screen" click
under Browser and click Logical Model Drop
down and then Subviews
->Once you click Subviews, click new Subview and
then this will create the new view (in the middle screen) along with
displaying the toolbar
Hope this helps!
On macos, you should double click on the Logical Model tab in the browser. Then check the "visible" box and "apply".

In SSMS, how do I change a SQL query window's tab name?

I want to know how to change the tab name of a SQL query window:
Instead of SQLQuery8.sql…Registry(sa(51)), I would like to have a custom caption.
If the query window has a very title, I can only open 3 windows at a time. I want to open more than 10 windows. So I need to change the query window's name to something very short, something like Q1, Q2, etc.
How can I change this?
In SSMS, go to Tools > Options > Text Editor > Editor Tab and Status Bar.
You can manage some options of tab text, as shown in the picture below.
(for example don't include db name, file name, login name and/or server name).
My solution when I've got multiple tabs open is to save the file (Ctrl+S) and then renaming it to the table name—or whatever it needs to be to make the query recognisable at a glance.
Go into Tools > Options > Text Editor > Editor Tab and Status bar, and set all tab text to false except for Include file name (set this to True).
Now, when I next execute the query, the Tab text presents the new filename.

Silk Test - PressItem alternative with Open Agent

I need to move all my scripts from Classic to Open Agent and I faced with one problem and dont know how to fix. I have some TreeView where need to rightclick on selected item, before where used PressItem(TreeView.GetSelItem(),2)
But now whole treeview moved to Open Agent declaration and PressItem function is not supported by OA.
Using keyboard is not a solution, because "application" button is not working in that treeview.
Is there any solutions to open context/drop-down menu from selected item?
Fixed by using GetItemRect + GetSelText + OpenContextMenu

Powershell: How to open a file from a separate window

I'm using PowerShell for about a week now. I am able to open a specific URL and fill in my username and password automatically. I can also navigate to a certain page where multiple files can be found to download.
I use the following command to select a certain file to download:
$ie.navigate2('http://www.example.com/resource.aspx?ResourceID=GetDocStoreFile&EntryID=1234')
What happens next is that a second window will open, named "file download". There are three buttons: open, save and close.
I don't want to press the "open" button manually, but would like the script to do that for me and then goes back to the original window to select another file. Any suggestions?
If you use a download URL, I don't think you can interact directly with IE using the COM object, because there's no document. Once the dialog box opens, all of the object's properties become null. You can use the method I posted here: How to perform keystroke inside powershell? AppActivate will work to activate a dialog box by title.
The % represents the the ALT key, so if the underlined letter of the button you want to click is O, you'd invoke SendKeys like this:
$wshell.SendKeys('%O')

Resources