Hi Marco!
I'm currently at Dyalog24 and won't have a chance to look at your question in detail for a few days. I apologize for the delay, but wanted to let you know why I'm not able to reply more quickly.
/Brian
Search found 120 matches
- Sat Sep 14, 2024 1:11 pm
- Forum: MiServer
- Topic: MiServer output pages to PDF for print
- Replies: 11
- Views: 13174
- Sun Sep 01, 2024 2:39 pm
- Forum: MiServer
- Topic: MiServer output pages to PDF for print
- Replies: 11
- Views: 13174
Re: MiServer output pages to PDF for print
Hi Marco! I'm a little confused by what you're attempting. First, it looks like you're using MiServer version 2? I wouldn't attempt to call HTMLRenderer from within your MildPage - I think that overcomplicates things. I think the easiest way, assuming I have some understanding of what you're trying ...
- Sat Jun 22, 2024 9:28 pm
- Forum: MiServer
- Topic: Saving a Image file
- Replies: 5
- Views: 21397
Re: Saving a Image file
Hi Marco, There are a number of techniques to accomplish this. I found this on stackoverflow. I don't understand your specific use case well enough to recommend a particular technique, but that link should get you going. If you have further questions, it might help for you to send me a copy of your ...
- Fri Jun 21, 2024 8:02 pm
- Forum: MiServer
- Topic: Saving a Image file
- Replies: 5
- Views: 21397
Re: Saving a Image file
Hi Marco! If I understand your question correctly, you should be able to do something along the lines of: (name content)←imgFile tn←('c:\Temp\',name) ⎕NCREATE 0 content ⎕NAPPEND tn ⎕NUNTIE tn You may need to add code to deal with if the file already exists - do you delete and overwrite, rename, etc? ...
- Mon Dec 11, 2023 7:56 pm
- Forum: MiServer
- Topic: What is the current state of the DUI ?
- Replies: 2
- Views: 40789
Re: What is the current state of the DUI ?
DUI is the successor to MiServer. Like MiServer, DUI consists of two parts - a server component and a WC2 which is a library to help generate HTML/CSS/JavaScript content. MiServer's server component uses Conga to act as a web server which you can access with any web browser. DUI actually has two ...
- Thu Nov 16, 2023 10:17 am
- Forum: Language
- Topic: Avoid interim variable
- Replies: 2
- Views: 24607
Re: Avoid interim variable
Hi Florian,
You can tweak leap a bit to make it take an array...
/Brian
You can tweak leap a bit to make it take an array...
leap←{0≠.=400 100 4∘.|⍵}And then use:
(leap⊢⍤/⊢)2022↓⍳2050 2024 2028 2032 2036 2040 2044 2048I hope this helps!
/Brian
- Thu Mar 30, 2023 3:54 am
- Forum: MiServer
- Topic: Setting ⎕RL does not appear to work under MiServer
- Replies: 6
- Views: 39640
Re: Setting ⎕RL does not appear to work under MiServer
Hi Ray, MiServer does use ⎕RL and ? in the HtmlElement class in order to generate random HTML element ids when needed. The MiPage class is derived from the HtmlPage class which is in turn derived from the HtmlElement class. Your page is based on the MiPage class. ⎕RL has namespace scope so I can thi ...
- Sat Dec 17, 2022 1:30 pm
- Forum: MiServer
- Topic: Callback page redirect
- Replies: 2
- Views: 14002
Re: Callback page redirect
Hi Davin, To redirect to a page from a callback function, just return some JavaScript to set location.href to the new URL. :Class index : MiPage ∇ Compose :Access public (Add _.Button'Click Me').On'click' 'callback' ∇ ∇ r←callback :Access public r←Execute'location.href="https://dyalog.com"' ∇ :EndC ...
- Fri Sep 03, 2021 3:22 pm
- Forum: MiServer
- Topic: Converting from MiServer 3.1 to HTMLRenderer
- Replies: 3
- Views: 16239
Re: Converting from MiServer 3.1 to HTMLRenderer
Hi Ray! The HTMLRenderer is not an HTTP server (so, you can't point a browser at it). It's an HTML rendering object (very much like a browser) that uses CEF (Chromium Embedded Framework). In this case you probably want to use DUI https://github.com/Dyalog/DUI . DUI is a dual-paradigm HTML/HTTP ...
- Fri Aug 13, 2021 4:21 pm
- Forum: MiServer
- Topic: Sending emails
- Replies: 15
- Views: 98130
Re: Sending emails
Hi Chris! I have started an IMAP client utility. It needs some work yet, but it was sufficient to accomplish some tasks I had with regard to analyzing bouncebacks and replies from a bulk email transmission. The part that needs the most work is coming up with a DSL (domain specific language) that is ...