UI Path How to Change Default Activities Properties - properties

Is it actually possible to change the default property in any of the UI path activities?
I want to do this is because I want the On Element Appear activity to have the RepeatForever property by default set to false, as I often use this activity to be done only once per running.

Some properties could be managed through Project Settings in Studio click on the gear icon in the project panel. You could set up defaults for both Debug and Production runs.
https://docs.uipath.com/studio/docs/configuring-activity-project-settings

Related

Save Tool Window position globally across projects in IntelliJ

I have my Tool Windows in specific parts of the screen (e.g. Version Control and Terminal occupying half of the bottom part) but every time I open a different project with IntelliJ the window positions are back to the default ones. It also opens windows I don't usually use (e.g. Ant Build).
Is there a way to save those settings globally and not per project?
The Window > Store Current Layout as Default and Window > Restore Default Layout options seem to work, with the extra step of having to Restore Default Layout once whenever I first open a new project.
Intellij Docs Reference

Create different theme for different instances of android studio

I will give my use case first. I have two similar android studio projects which needs to be opened always. Now what happens is, I often make changes in wrong project because there is no easy way to identify which project I'm on by simply looking at UI (other than looking at the project name on top- which will go away on full screen). So it would be great if I could use dracula theme on one project and default theme on other. Is there any way to achieve it.
There is a way to change the background color of project pane and recent files window.
Goto Preference -> Appearance & Behavior -> File Colors -> {Add project files and set color}
Got the solution from here
There is the ability to "to define any image as a background".
Set a background image for the current project only, or for any project you open or create anew.
To set a background image
1. Either press:
Shift twice (Searching Everywhere), or
Ctrl+Shift+A (Navigating to Action)
and start typing set back
2. In the dialog box that opens,
Specify:
the image you want to use as the background,
its opacity,
filling and placement options.
Choose to show background in:
the editor and tool windows, or
in the IntelliJ IDEA frame.
Selecting checkbox This project only:
Show background in the current project and ignore this background in the other projects.
https://www.jetbrains.com/help/idea/2016.2/setting-background-image.html

UWP custom control template not applied (but only in one project)

I have created a custom version of the default UWP button control template, which simply modifies the color scheme of the disabled state.
In a test project this customization is applied correctly, but in my real project it is ignored (although other custom control templates are applied correctly).
I have searched the project for TargetType="Button", hoping to discover something else that is overriding or interfering with this custom template, but there is nothing unusual; just a few style definitions that are setting properties for specific button instances.
Can anyone suggest why a custom UWP control template would be ignored or how I can debug what's causing this?

How to use the GtkHeaderBar in glade 3.20?

I tried to do a GtkHeaderBar application with glade 3.20, but I have the oldschool bar on top every time, when creating my python app.
In glade 3.19, checking the client-side decoration property created a line on top, in which I could put the GtkHeaderBar. This is not the case in the latest version.
I tried to check/uncheck every property, I could not find the way to do this. That is very surprising, since this should be the default way to do a Gnome application.
I looked on the internet, but there is dramatically no documentation on gladeā€¦
After searching, it seems that I must add a GtkHeaderBar as child in the main window. But how, that is the mystery.
Create the window, set the "Client side window decorations" property to True. Next, get the HeaderBar widget from the toolbox and drop it on the top part of the window that just appeared:
And here you are, the header bar:
Ok, I found by myself a workaround:
We need to create the GtkHeaderBar apart, and after activating the client side decoration property, we close the project. Then, by editing the XML file, we put the header bar section into the titlebar section, instead of the placeholder xml tag. When we reopen the glade project, that's ok, the header bar is in the window.

My.Settings.mytext has a value but i cannot find where it is set?

onload i do a msgbox (my.settings.mytext)
it returns a value, but i cannot find where in the project i have set this value!! it was definitely set by me, but i cannot find it anywhere. please help
it is attached to textbox1.text, but that has no value either
Please see My.Settings:
The My.Settings object provides access
to the application's settings and
allows you to dynamically store and
retrieve property settings and other
information for your application. For
more information, see Managing
Application Settings.
and also How to: Add or Remove Application Settings:
Application settings allow you to
store and retrieve property settings
and other information for your
application dynamically. There are two
types of application settings, based
on scope: user-scoped and
application-scoped settings.
At design time, you can add
application settings either using the
Settings pane of the Project Designer,
or using the Properties window for a
form or control, which allows you to
bind a setting directly to a property.
This last line that I have emphasized is most likely where you want to look.
Maybe you could goto the Edit menu and do a Quick Find on the Settings name, if it finds it you'll probably find out where you've set the value.
Also, have you checked the Program.vb file? I always forget about that file.
Hope this has helped.