Search found 1030 matches

by Grovkillen
Thu Feb 22, 2024 8:16 pm
Forum: General Discussion
Topic: Scrollable menu/dialog
Replies: 16
Views: 12005

Re: Scrollable menu/dialog

I got the scroll menu working using a HTMLViewer element but now I want/wish/hope to get the results fetched when clicking submit.
by Grovkillen
Thu Feb 22, 2024 4:53 pm
Forum: Scripts and Tips
Topic: Scaling dialog based on TextHeight
Replies: 6
Views: 28765

Re: Scaling dialog based on TextHeight

But please don't remove it because I have some scripts that are still relying on it to exist :oops:
by Grovkillen
Thu Feb 22, 2024 4:50 pm
Forum: Technical / Scripting
Topic: Can HTMLViewer dialog component display a clickable link?
Replies: 13
Views: 14170

Re: Can HTMLViewer dialog component display a clickable link?

Here's an example how to create buttons using PNG files: Dialog>Dialog1 object Dialog1: TForm ClientWidth = 800 ClientHeight = 120 object MSHTMLViewer1: tMSHTMLViewer Left = 0 Top = 0 Width = 800 Height = 120 end end EndDialog>Dialog1 LabelToVar>form_html,TEMP_html,1,1,*/ SetDialogProperty>Dialog1,M...
by Grovkillen
Thu Feb 22, 2024 4:12 pm
Forum: Technical / Scripting
Topic: Setting Screen Resolution
Replies: 4
Views: 2068

Re: Setting Screen Resolution

No but you would probably want to insert a dummy HDMI plug or similar to be sure that the resolution stays the same.
by Grovkillen
Thu Feb 22, 2024 4:11 pm
Forum: Scripts and Tips
Topic: Scaling dialog based on TextHeight
Replies: 6
Views: 28765

Re: Scaling dialog based on TextHeight

All right, thanks for the input Marcus. :)
by Grovkillen
Thu Feb 22, 2024 2:36 pm
Forum: Technical / Scripting
Topic: Can HTMLViewer dialog component display a clickable link?
Replies: 13
Views: 14170

Re: Can HTMLViewer dialog component display a clickable link?

And here's the "opposite" version which triggers once the input first has had focus and then loses it: Dialog>Dialog1 object Dialog1: TForm ClientWidth = 250 ClientHeight = 120 object MSHTMLViewer1: tMSHTMLViewer Left = 0 Top = 0 Width = 250 Height = 120 end end EndDialog>Dialog1 LabelToVar>form_htm...
by Grovkillen
Thu Feb 22, 2024 2:22 pm
Forum: Technical / Scripting
Topic: Can HTMLViewer dialog component display a clickable link?
Replies: 13
Views: 14170

Re: Can HTMLViewer dialog component display a clickable link?

Found another useful event, if a form control element has the attribute "OnFocus" set it'll fire of an event when the element is in focus. Great to use for having tooltip etc. visible. Dialog>Dialog1 object Dialog1: TForm ClientWidth = 250 ClientHeight = 120 object MSHTMLViewer1: tMSHTMLViewer Left ...
by Grovkillen
Thu Feb 22, 2024 2:08 pm
Forum: General Discussion
Topic: Scrollable menu/dialog
Replies: 16
Views: 12005

Re: Scrollable menu/dialog

In the help file under "TFormSubmitEvent" we see that the HTMLViewer have the following parameters set when triggered by a form submit: Action Target EncType Method Results These are automatically populated and all except the "Results" parameter work as intended: Dialog>Dialog1 object Dialog1: TForm...
by Grovkillen
Thu Feb 22, 2024 12:43 pm
Forum: Scripts and Tips
Topic: Scaling dialog based on TextHeight
Replies: 6
Views: 28765

Re: Scaling dialog based on TextHeight

Is it possible to make the property accessible?

Code: Select all

GetDialogProperty>Dialog1,,TextHeight,FOUND_TEXT_HEIGHT
//FOUND_TEXT_HEIGHT=NO_SUCH_PROPERTY
SetDialogProperty>Dialog1,,TextHeight,10
by Grovkillen
Thu Feb 22, 2024 12:06 pm
Forum: Technical / Scripting
Topic: Can HTMLViewer dialog component display a clickable link?
Replies: 13
Views: 14170

Re: Can HTMLViewer dialog component display a clickable link?

New code: Dialog>Dialog1 object Dialog1: TForm ClientWidth = 250 ClientHeight = 120 object MSHTMLViewer1: tMSHTMLViewer Left = 0 Top = 0 Width = 250 Height = 120 end end EndDialog>Dialog1 LabelToVar>form_html,TEMP_html,1,1,*/ SetDialogProperty>Dialog1,MSHTMLViewer1,HTML,TEMP_html AddDialogHandler>Di...
by Grovkillen
Mon Feb 12, 2024 8:25 am
Forum: Technical / Scripting
Topic: Windows Defender Hates My Executables
Replies: 4
Views: 5193

Re: Windows Defender Hates My Executables

For my own and other's knowledge; here's how I create certificates using PowerShell: Let>NAME_OF_CERTIFICATE=test Let>EXPIRE_OF_CERTIFICATE_IN_YEARS=99 Let>EXPORT_CERTIFICATE_TO=%SCRIPT_DIR%\%NAME_OF_CERTIFICATE%.cert Let>RP_CAPTURESTDOUT=1 Let>POWERSHELL_COMMAND=New-SelfSignedCertificate -DnsName %...
by Grovkillen
Fri Feb 09, 2024 6:53 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 77576

Re: [added 15.0.23] Run command, capture STDOUT

I've been running the latest version for some days now and no crash yet. Thanks for the help. 8)
by Grovkillen
Fri Feb 09, 2024 6:30 pm
Forum: Technical / Scripting
Topic: Windows Defender Hates My Executables
Replies: 4
Views: 5193

Re: Windows Defender Hates My Executables

We recently had a huge problem with our approach. The excluded files was captured and removed by windows defender. However, we did find a way to manually sign the exe files and add this signature file to Intune. It's free of charges but is only recommended to be used in development purposes. I feel ...
by Grovkillen
Fri Feb 09, 2024 9:55 am
Forum: Technical / Scripting
Topic: VirtualKey for Gamepad/Joystick input
Replies: 10
Views: 8641

Re: VirtualKey for Gamepad/Joystick input

Here's some AutoHotKey discussions regarding XInput: https://www.autohotkey.com/board/topic/ ... oller-api/
Sign up to our newsletter for free automation tips, tricks & discounts