Search found 495 matches
- Sat Jul 02, 2022 7:57 am
- Forum: Technical / Scripting
- Topic: ObjectSendKeys Ideas
- Replies: 3
- Views: 3552
ObjectSendKeys Ideas
I have just discovered the ObjectSendKeys command, it is great! One issue I always had was setting focus to various things in order to send key to them. However I have had to do this kind of thing in order to get it to work. Example from ini file /////////////////////////////////////////////////////...
- Sat Jul 02, 2022 7:46 am
- Forum: Technical / Scripting
- Topic: Any way to get which item has been clicked in a dialog?
- Replies: 8
- Views: 5366
Any way to get which item has been clicked in a dialog?
Hi all, Always some new challenges eh... I have a dialog that contains 24 small panels that behave as buttons. (Thanks JRL, indeed panels make great colourful buttons.) object Panel1: TPanel Left = 8 Top = 8 Width = 65 Height = 25 Caption = '1' ParentBackground = False TabOrder = 0 TabStop = True en...
- Sat Jun 25, 2022 9:16 am
- Forum: General Discussion
- Topic: Set color for Button
- Replies: 7
- Views: 20259
Re: Set color for Button
JRL to the rescue again!
- Fri Jun 24, 2022 2:50 pm
- Forum: Technical / Scripting
- Topic: Set BG Colour of Button?
- Replies: 1
- Views: 2800
Set BG Colour of Button?
Hi all,
Is there anyway to simply set the background colour of a button, without using a graphic?
I have tried various permutations of:
But the button does not seem to want to take on any colouring.
Is there anyway to simply set the background colour of a button, without using a graphic?
I have tried various permutations of:
Code: Select all
SetDilaogProperty>DIALOG,BUTTON1,COLOR,RGB
- Fri Jun 17, 2022 4:55 am
- Forum: Technical / Scripting
- Topic: Virus Total False Positives
- Replies: 8
- Views: 5559
Re: Virus Total False Positives
Encrypting was no use for me in this case as it is a specific distribution site that insists on the files being cleared by Virus Total. (Which I suppose is fair enough). If you do this a lot, it is worth taking the time to contact the AV vendors. I was frankly surprised about how efficient and helpf...
- Wed Jun 01, 2022 5:30 am
- Forum: Technical / Scripting
- Topic: Virus Total False Positives
- Replies: 8
- Views: 5559
Re: Virus Total False Positives
Well good news is that after a very laborious process of submitting my installer to all the vendors that were producing false positives, I finally got the all clear. I am still not sure if I will have to resubmit every time I update the application but we'll see. https://flightsim.to/file/31716/admi...
- Mon May 23, 2022 10:31 am
- Forum: Technical / Scripting
- Topic: Virus Total False Positives
- Replies: 8
- Views: 5559
Re: Virus Total False Positives
I wish I could afford a certificate and of course the time to figure out how it works...
- Mon May 23, 2022 10:30 am
- Forum: Technical / Scripting
- Topic: Reading from a Google Sheet
- Replies: 3
- Views: 3355
Re: Reading from a Google Sheet
Thanks Dorian, yes I found that pasting a text file to Githib and reading it RAW works really well.
- Mon May 23, 2022 9:47 am
- Forum: Technical / Scripting
- Topic: Virus Total False Positives
- Replies: 8
- Views: 5559
Re: Virus Total False Positives
Thanks Dorian, I had read all that after searching the forum. So not entirely. I fully understand all of it of course but take my example case: Free Application for Gamers. So buying a certificate is out of the q. Gaming site requires verification by a tool that uses hundreds of Virus Sigs form vari...
- Sat May 21, 2022 1:52 pm
- Forum: Technical / Scripting
- Topic: HTTPRequest not working in Compiled version
- Replies: 18
- Views: 21356
Re: HTTPRequest not working in Compiled version
Life Saver!
- Sat May 21, 2022 8:03 am
- Forum: Technical / Scripting
- Topic: Dealing with Windows Scaling
- Replies: 4
- Views: 2168
Re: Dealing with Windows Scaling
And for graphics we need to do this, after making different graphics for each resolution and naming them for example 100logo.jpg 125logo.jpg etc.:
Code: Select all
SetDialogProperty>Dialog1,MSImage1,LoadImage,%SCRIPT_DIR%/%logos%/%ResPerc%logo.jpg
- Sat May 21, 2022 7:50 am
- Forum: Technical / Scripting
- Topic: Dealing with Windows Scaling
- Replies: 4
- Views: 2168
Re: Dealing with Windows Scaling
So for the memo field we only need to adjust height:
For graphics I think we need different res graphics for all percentages.
Code: Select all
GetDialogProperty>Dialog1,MSMemo1,Height,memoheight
Let>xboxdimx=memoheight/100
Let>xboxdimx=xboxdimx*ResPerc
SetDialogProperty>Dialog1,MSMemo1,Height,xboxdimx
- Sat May 21, 2022 7:50 am
- Forum: Technical / Scripting
- Topic: Dealing with Windows Scaling
- Replies: 4
- Views: 2168
Re: Dealing with Windows Scaling
So for the memo field we only need to adjust height:
For graphics I think we need different res graphics for all percentages.
Code: Select all
GetDialogProperty>Dialog1,MSMemo1,Height,memoheight
Let>xboxdimx=memoheight/100
Let>xboxdimx=xboxdimx*ResPerc
SetDialogProperty>Dialog1,MSMemo1,Height,xboxdimx
- Sat May 21, 2022 7:32 am
- Forum: Technical / Scripting
- Topic: Dealing with Windows Scaling
- Replies: 4
- Views: 2168
Re: Dealing with Windows Scaling
Ok I found a post about scaling and added some info: // 96 – Smaller 100% // 120 – Medium 125% // 144 – Larger 150% // 192 – Extra Large 200% // 240 – Custom 250% // 288 – Custom 300% // 384 – Custom 400% // 480 – Custom 500% LibFunc>User32,GetDC,hDC,0 LibFunc>GDI32,GetDeviceCaps,Result,hDC,88 // Te...
- Sat May 21, 2022 7:31 am
- Forum: Scripts and Tips
- Topic: Get scale/zoom percentage setting.
- Replies: 2
- Views: 16678
Re: Get scale/zoom percentage setting.
Additionally if we want to find the actual percentage scale factor and then do some stuff with it.: // 96 – Smaller 100% // 120 – Medium 125% // 144 – Larger 150% // 192 – Extra Large 200% // 240 – Custom 250% // 288 – Custom 300% // 384 – Custom 400% // 480 – Custom 500% LibFunc>User32,GetDC,hDC,0 ...