customToolsUI.txt

AfterShot Pro General Questions & Getting Started Forum
grubernd
Posts: 248
Joined: Thu Jan 12, 2012 8:17 pm
operating_system: Linux
System_Drive: N/A
Location: Graz, Austria

Re: customToolsUI.txt

Post by grubernd »

TexJoachim wrote:Öhm, the "Mirror / Invert" thingie is missing now.
:(

Any way to find it?

Regards,

Joachim
i put it in the "Stuff" section, cause i dont need it.. same with the Color Correction.. before you start asking about that, too, and it gets really embarrassing - helping is one thing, but a little effort on the receiving side like reading and trying to comprehend goes a long way in making you look better. :mrgreen:
Bibble since 2004. Aftershot until 2020. From then on darktable.
TexJoachim
Posts: 35
Joined: Fri Jan 13, 2012 1:22 pm
operating_system: Linux
System_Drive: Z
32bit or 64bit: 64 Bit

Re: customToolsUI.txt

Post by TexJoachim »

No must have missed that. Thx for the hint (taken) and info!

Regards,

Joachim
derouyag
Posts: 9
Joined: Fri Feb 03, 2012 6:58 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core2 Quad CPU Q6700 2.66GHz
ram: 8GB
Video Card: NVidia GeForce 8800 GT
Hard_Drive_Capacity: 11TB
Monitor/Display Make & Model: HP w2408h (Dual)

Newbie Info Bite

Post by derouyag »

Without wasting too much of everyones time, I did go through all that I read here and found a newbie info bite missing.

All of the ASP Basic UI files can be found in the "C:\Program Files (x86)\Corel\Corel AfterShot Pro\supportfiles\tools" directory. When trying to address UI files in the sub-directories the original author uses the "directory name" + "/" + "UI file."

E.g.

Direct from the Tools directory: Standard, Std, BasicTools.ui
From the Tools\Advanced directory: Color, Clr, Advanced/Curves.ui


Plugins are done directly, but can be found at: C:\Users\User\AppData\Local\Corel\AfterShot Pro\Plugins. The Plugin portion is case sensitive and can be found in the Info.afpxml file, specifically the indentifier="...."

E.g. Long Tab Name, Short Tab Name, Plugin

Effects, Efts, tin.tin.zBlur


Hope this helps the newbies like me.
ferdinand-paris
Posts: 224
Joined: Sun Feb 05, 2012 4:37 am
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: GA-X58A-UD3R
processor: 3.20 gigahertz Intel Core i7 960
ram: 4Gb
Video Card: NVIDIA GeForce 7300 GS
sound_card: Realtek High Definition Audio on-board
Hard_Drive_Capacity: 2500 Gb
Monitor/Display Make & Model: Eizo CG222W

Re: customToolsUI.txt

Post by ferdinand-paris »

afx wrote:
Tadjio wrote:Does anyone know if it is possible to split out all the "Standard" functions into separate items in other tabs?
No, you can not split up a tool, you can only use the tools as defined (unless you start Qt UI files hacking).
As afx said, it can be done, up to a point. The idea is that you take a copy of the ui file with the tools you want to duplicate, edit it so that it's only got the bits you want (this is the tricky bit), and then you "attach" it to another plugin. These tools will then appear as a separate panel above or below the other plugin. It's not perfect flexibility, but it does provide an alternative to pinning tool panels if you want to avoid tab switching all the time. I can provide instructions and an example if there is interest.

F_P
Tadjio
Posts: 1202
Joined: Fri Mar 28, 2008 3:23 pm
operating_system: Windows 8 Pro
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte
processor: Core i7 2.8GHz 860
ram: 8GB
Video Card: ATI HD5570
sound_card: Sound
Hard_Drive_Capacity: 2.5TB
Location: UK

Re: customToolsUI.txt

Post by Tadjio »

ferdinand-paris wrote:
afx wrote:
Tadjio wrote:Does anyone know if it is possible to split out all the "Standard" functions into separate items in other tabs?
No, you can not split up a tool, you can only use the tools as defined (unless you start Qt UI files hacking).
As afx said, it can be done, up to a point. The idea is that you take a copy of the ui file with the tools you want to duplicate, edit it so that it's only got the bits you want (this is the tricky bit), and then you "attach" it to another plugin. These tools will then appear as a separate panel above or below the other plugin. It's not perfect flexibility, but it does provide an alternative to pinning tool panels if you want to avoid tab switching all the time. I can provide instructions and an example if there is interest.
F_P
Yes please, I did have a peek before but chickened out. I'm not yet familiar enough with ASP to know what I really want!
Tadjio
PSP X7.2 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 6
lundbech
Posts: 109
Joined: Tue Jan 24, 2012 4:56 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: HAL 9000
Location: Odense, Denmark
Contact:

Re: Newbie Info Bite

Post by lundbech »

derouyag wrote: Plugins are done directly, but can be found at: C:\Users\User\AppData\Local\Corel\AfterShot Pro\Plugins. The Plugin portion is case sensitive and can be found in the Info.afpxml file, specifically the indentifier="...."

E.g. Long Tab Name, Short Tab Name, Plugin

Effects, Efts, tin.tin.zBlur
The identifier for each plugin can also be found in the menus: Help -> System Info
ferdinand-paris
Posts: 224
Joined: Sun Feb 05, 2012 4:37 am
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: GA-X58A-UD3R
processor: 3.20 gigahertz Intel Core i7 960
ram: 4Gb
Video Card: NVIDIA GeForce 7300 GS
sound_card: Realtek High Definition Audio on-board
Hard_Drive_Capacity: 2500 Gb
Monitor/Display Make & Model: Eizo CG222W

Re: customToolsUI.txt

Post by ferdinand-paris »

Tadjio wrote:Yes please, I did have a peek before but chickened out. I'm not yet familiar enough with ASP to know what I really want!
Well, I can only give so much detail. In what follows I am assuming that you want the Temp, Straighten and Vibrance tools in a tab just above Bez. I also use the customtoolsui.txt file to position to exposure panel just above Bez, so I have a layout like the attached file.

1. Find the BasicTools.ui file in C:\Program Files\Corel\Corel AfterShot Pro\supportfiles\tools (or the equivalent location for your OS).
2. Take a copy and place it in [User Folder Location]\Plugins\Bez.afplugin\ui and rename it BasicTools-bez.ui for the sake of clarity.
3. Edit the file and delete or comment out the bits that you don't want. I suspect this is the bit that you found to be too hard. Truth is, it's a bit complex to describe here - you have to understand the structure of the file in order to do this. Or use Qt Designer. To make it easy, I have put the edited file on my server at http://www.ferdinand-paris.com/bibble/B ... ls-bez.zip which has all the unwanted bits commented out. [Note: if you open this in Qt Designer it will strip all the comments out, so don't do that.]
4. Edit the Info.afpxml file in [User Folder Location]\Plugins\Bez.afplugin and before the line

Code: Select all

            <li>ui/Bez.ui</li>
Include this line:

Code: Select all

           <li>ui/BasicTools-bez.ui</li>
5. Start or restart ASP and you should have what you want.

F_P
demo_of_additional_tools.png
Tadjio
Posts: 1202
Joined: Fri Mar 28, 2008 3:23 pm
operating_system: Windows 8 Pro
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte
processor: Core i7 2.8GHz 860
ram: 8GB
Video Card: ATI HD5570
sound_card: Sound
Hard_Drive_Capacity: 2.5TB
Location: UK

Re: customToolsUI.txt

Post by Tadjio »

ferdinand-paris wrote:
Tadjio wrote:Yes please, I did have a peek before but chickened out. I'm not yet familiar enough with ASP to know what I really want!
Well, I can only give so much detail...
That worked a treat, thanks very much Ferdinand.
A crash course in XML editing, how to put in comments with dates, remembering to copy everything I touched, testing step by step. :D
Tadjio
PSP X7.2 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 6
Post Reply