Font size and colour in dialog box

10 posts / 0 new
Last post
Pawelski_33
Offline
Joined: 06/05/2018 - 12:16
Font size and colour in dialog box

Hello all,
 
Maybe its a silly question but is there a way in IDEA to change the default font size and colour of the dialog tools in the dialog box (as well as background colours in other dialog box tools, ie.text box etc.)?

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Not that I know of, I know there is a video (http://ideascripting.com/comment/2297#comment-2297) that has an opening screen but my guess is that is actually an image that is being displayed in a dialog with a timer that closes the dialog after 5 seconds or something.  In the video for the actual dialog it looks like a regular IDEAScript dialog.

With 10.3 we now have options to create scripts in Python and I believe (I haven't tested it yet) that you will be able to create dialogs and menus in Python that can change the font and colours.

Pawelski_33
Offline
Joined: 06/05/2018 - 12:16

Fair enough , 
Thank you for a prompt answer , Brian
 

osaajah
Offline
Joined: 05/25/2018 - 02:33

Hi Pawelski,
I think most IDEA users are auditors with no or little programming skill. So the programming in IDEA (IDEAScript) must be simple and easy to learn. That things make IDEAScript just have basic functionalities. We wil not find sophisticated IDEAScript keywords / statements and controls. So the answer of your question, we can not change colors and fonts for dialogs and controls. But if you need more functionalities, you can create dot Net program (C# or VB.NET) that will execute IDEAScript inside it. There is a guidance in Caseware Passport about it. Or as Brian said, you can try to use Python that will execute IDEAScript inside it.
 
Firdaus Sentosa

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi Firdaus,

Thanks for sharing the information.  I thought it was something like that but I had hoped you might have found some secret IDEAScripting codes that no one knows about.

Brian

osaajah
Offline
Joined: 05/25/2018 - 02:33

HI Brian,
To get more functionalities, I combine IDEAScript with Windows API, other OLE applications (e.g. Excel to create dynamic dashboard, Outlook to send email with attachment) and my own DLL library (written in C#). I think it is hard to create IDEA solution if we are 100% rely on IDEAScript. Especially when working with IDEA Server.
 
Firdaus Sentosa.

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi Firdaus,

I agree, I have never worked with IDEA Server so I can't comment there but I do use Excel and such as output for some of my projects.  I have played around with C# some but I am an accountant and not a programmer so usually it is stuff I have learned online.  If you would ever like to write anything on using C# with IDEAScript I would be more than happy to find a spot on my site for you to share, I also wouldn't mind learning as I have tried some projects and it is not that easy to figure out how to access the IDEA objects from C#.

Brian

Pawelski_33
Offline
Joined: 06/05/2018 - 12:16

Thank you osaajah, that information is really useful
I will examine Caseware Passport hub at some point.

osaajah
Offline
Joined: 05/25/2018 - 02:33

Hi Brian and Pawelski,
Attached is a PDF from Caseware Passport about how to create a C# DLL library and invoke it inside IDEAScript. I had downloaded a tutorial to invoke IDEA objects from C#, but I can not find it in my computer.  I will upload it when have found the tutorial file.
 
Firdaus Sentosa

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi Firdaus,

Thanks for posting the document.  I kept forgetting to go grab it from the IDEA support site.  I am looking forward to seeing your tutorial file, hope you can find it and share it.

Brian