customToolsUI.txt

AfterShot Pro General Questions & Getting Started Forum

Re: customToolsUI.txt

Postby grubernd on Wed Feb 08, 2012 2:16 pm

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:
use the Monkey to report bugs - include as much precise information as you can provide!
Bibble since 2004 - lots of it in my public archive: http://bilder.grubernd.at
User avatar
grubernd
Moderator
 
Posts: 167
Joined: Thu Jan 12, 2012 8:17 pm
Location: graz, austria
operating_system: Linux
System_Drive: G
32bit or 64bit: 64 Bit
processor: from atom to quadcore
Hard_Drive_Capacity: not enough

Re: customToolsUI.txt

Postby TexJoachim on Wed Feb 08, 2012 2:26 pm

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

Regards,

Joachim
TexJoachim
 
Posts: 17
Joined: Fri Jan 13, 2012 1:22 pm
operating_system: Linux
System_Drive: Z
32bit or 64bit: 64 Bit

Newbie Info Bite

Postby derouyag on Wed Feb 08, 2012 9:13 pm

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.
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)

Re: customToolsUI.txt

Postby ferdinand-paris on Thu Feb 09, 2012 12:07 am

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
ferdinand-paris
 
Posts: 139
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

Postby Tadjio on Thu Feb 09, 2012 12:39 am

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 X5 user
AfterShot Pro ASPirant
Canon EOS 550D
Windows 8 64-bit Pro
Tadjio
 
Posts: 833
Joined: Fri Mar 28, 2008 3:23 pm
Location: UK
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

Re: Newbie Info Bite

Postby lundbech on Thu Feb 09, 2012 9:15 am

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
lundbech
 
Posts: 60
Joined: Tue Jan 24, 2012 4:56 pm
Location: Odense, Denmark
operating_system: Linux
System_Drive: Z
32bit or 64bit: 64 Bit
motherboard: HAL 9000

Re: customToolsUI.txt

Postby ferdinand-paris on Thu Feb 09, 2012 2:54 pm

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
ferdinand-paris
 
Posts: 139
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

Postby Tadjio on Thu Feb 09, 2012 8:39 pm

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 X5 user
AfterShot Pro ASPirant
Canon EOS 550D
Windows 8 64-bit Pro
Tadjio
 
Posts: 833
Joined: Fri Mar 28, 2008 3:23 pm
Location: UK
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

Previous

Return to General Questions & Getting Started

Who is online

Users browsing this forum: No registered users and 6 guests