Off Topic Keystroke mapping
Graham White
Hi,
Sorry for this off topic question but I have extreme faith in this forum to get support on most things. We have an automatic phone dialling system here that once it has made contact to a client it moves focus to a unipass form and posts a client number into a field. The key stroke commands for this are +{INSERT}|{sleep 200}|{Enter -2}|^({ESC}{UP}) What I am trying to find out is where I can get a list of exactly what this string of commands does and what other options are available. The support and documentation for the dialler software is poor so we are hoping we can find this from another source.
Thanks you.
Regards
Graham White | Software Developer |
Graham.White@...
|
|
|
Re: Convert PDF to TIFF
Thomas Titus
Hi Avi,
|
|
Re: WebService - Return value - XPA3.3 - Axis2 - SOAPui
Andreas Sedlmeier
Hi Gábor,
That this results in anything @MSE I have my doubts as well. They know that since 20 years I suppose. The rectangle is however no rectangle, it just looks like one because it's either an invalid Unicode character or a Unicode for which you have no Glyph in the font. I suppose it's none printable control characters with codes < 32 (in that range only a few are valid XML characters, check https://www.w3.org/TR/2006/REC-xml11-20060816/#charsets) I suppose there is a reason why you have that strange character in your data. You should fix that and if you receive character data from 3'rd parties you should do proper input validation so that you cannot get that stuff in the database. You can also encode all the character data you write to XML in order to avoid that XML exceptions from Axis (which I think uses a valid version of Xerces) by f.i. using this function: https://docs.microsoft.com/en-us/dotnet/api/system.security.securityelement.escape?redirectedfrom=MSDN&view=netframework-4.7.2#System_Security_SecurityElement_Escape_System_String_ Best regards, Andreas https://www.w3.org/TR/2006/REC-xml11-20060816/#charsets
|
|
Re: WebService - Return value - XPA3.3 - Axis2 - SOAPui
Gábor Bor
Dear Andreas,
We discussed that sould we open a ticket, but the rectangle isn't an invalid XML character and we think that the MSE going to push it back with Data Error cause. :( Best Regards, Gábor
|
|
Re: FileListGet
Andreas Sedlmeier
On Wed, Nov 21, 2018 at 08:03 PM, Luuk wrote:
I am not going to try, because when I use FileListGet, and need them in a special order, I will store them 'irgendwo'... ;That's ok, .NET (and in this special case where no callbacks are required also Java) does have however a lot of additional charme which reduces things to a few lines where an alternative Magic solution probably keeps you busy a few days. The FileInfo objects do also have methods to copy, delete, encrypt, ... /https://docs.microsoft.com/en-us/dotnet/api/system.io.fileinfo?view=netframework-4.7.2) and they even available in .NET Core. So when Magic finally decides to stop with legacy .NET Framework, everything will run just fine on Linux - without a requirement to change anything. Best regards, Andreas
|
|
Re: FileListGet
I am not going to try, because when I use FileListGet, and need them in a special order, I will store them 'irgendwo'... ;)
|
|
Re: FileListGet
Govert Schipper
Thanks Andreas and Todd for pointing this out. I will keep this in mind.
Govert Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Todd Baremore <tbaremor@...>
Verzonden: woensdag 21 november 2018 14:13 Aan: main@magicu-l.groups.io Onderwerp: Re: [magicu-l] FileListGet Govert & Andreas, ...and memory tables are per context. So if you work with multiple parallel programs that need to share temporary data, SQLite is much easier to work with than MTblGet/MTblSet functions. Todd On 11/21/2018 7:09 AM, Andreas Sedlmeier wrote:
Hi Govert,
|
|
Re: UP1.9 Crashing on new Windows 2016 Server, Now on 2012 Server as well
joe moore
Hi Jim, We are running into similar problems. Do you mind sharing what group policy setting was changed ?
TIA
Regards
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Jim Stephenson
Sent: November-19-18 3:11 PM To: main@magicu-l.groups.io Subject: Re: [magicu-l] UP1.9 Crashing on new Windows 2016 Server, Now on 2012 Server as well
A followup to this issue, in case someone runs into the same thing.
Apparently in Windows 10, it is really sensitive to changes in the workstations connection to the network.
There was a group policy set that refreshed the network connection at a fairly regular schedule on this server. Unfortunately when it did the refresh it disconnected any mapped drives for the briefest of moments. We are pointing to the network using a mapped drive to get the executable and datafiles. If during that time someone tried to access the server through UP1.9 and the group policy was in the process of being refreshed, it would find that the mapped drive was not available and it would just kill the UP executable.
The group policy was changed slightly and we have not had a problem since.
Thanks for all the ideas.
Jim
,_
|
|
Re: FileListGet
Todd Baremore
Govert & Andreas,
toggle quoted messageShow quoted text
...and memory tables are per context. So if you work with multiple parallel programs that need to share temporary data, SQLite is much easier to work with than MTblGet/MTblSet functions. Todd On 11/21/2018 7:09 AM, Andreas
Sedlmeier wrote:
Hi Govert,
|
|
Re: FileListGet
Andreas Sedlmeier
Hi Govert,
Its not just a feeling ^^. You can use SQL to access it (thats the main difference and positive aspect), Memory tables in Magic is crippled ISAM. Performance I did never really compare. SQLite is probably faster for most of the things and no limitations with respect of memory (A 32-Bit process does not have that much), ... . Besides you can keep the data after your application terminates - for additional test, analysis, whatever and also work with other tools / IDEs on it , ... . At the moment I actually have another problem with memory tables in Magic - sometimes Magic persists something to disk. Thats (a) a security hole and (b) a problem with the immutability required for containers, ... Short: Memory tables "suck" a bit and SQLite does not :) Andreas
|
|
Re: FileListGet
Govert Schipper
Andreas,
Why do you feel that using SQLite is better than memory table?
Govert Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Andreas Sedlmeier <sedlmeier@...>
Verzonden: dinsdag 20 november 2018 18:28 Aan: main@magicu-l.groups.io Onderwerp: Re: [magicu-l] FileListGet Ah, ok, I indeed did confuse that then and I think working FileListGet() with a memory table or (better) SQLite is a ok solution for this.
You can work .NET instead, would be something like that then: List<FileSystemInfo> filesOrdered= new DirectoryInfo("C:\\").GetFileSystemInfos().ToList() .OrderBy(f => f.CreationTime).ToList();
Its probably a better solution if you work a lot with .NET in your Magic applications and do not have to support platforms different to Windows and ...
Probably you do not even need a Snipplet for that but just a single Magic dotnet expression. I did not try. Andreas
|
|
Re: WebService - Return value - XPA3.3 - Axis2 - SOAPui
Andreas Sedlmeier
Hi Gábor ,
Glad that you found the issue and that it works for you now. Actually this is one of the more annoying issues with Magic because, what actually happens is, that Magic produces invalid XML which basically should not be possible at all. Actually it is not possible with Apache Xerces - which is what Magic uses for serializing and deserializing XML, the developers at MSE do have however that "after me the Flood" thinking and patched Xerces (modified the sources to allow producing crap). So what you have to do in order to avoid that your production stops once a while: Generate the complete XML with Magic and validate it with another tool different from Magic which is compliant with W3C XML Standards. Then however you have what you need already anyways and could handle the SOAP messaging without Magic and save a lot in terms of license cost ... If you pay for your bugs you could open a support ticket. Would be interesting to hear what MSE has to say about this because in Helfile they write that they comply with webservice (SOAP) standards. Thats just not possible if you allow XML which is not compliant with W3C . Best regards, Andreas
|
|
Re: Convert PDF to TIFF
אבי אבקסיס
Hi Thank you Keith I'l try it Avi בתאריך יום ג׳, 20 בנוב׳ 2018 ב-17:17 מאת Keith Canniff <kcanniff@...>:
|
|
Re: WebService - Return value - XPA3.3 - Axis2 - SOAPui
Dear Andreas,
|
|
Re: FileListGet
Andreas Sedlmeier
Well, I am not so we have to wait until somebody actually tries it ^^. Magic supports fluent syntax, thats not the issue. The Lambda in the middle maybe is because Magic does not support modern versions of C#. Personally I would put as much as possible in assemblies (.NET class libraries) anyway because then its much easier to code and debug. Its only MSE which thinks Magic is a great #NET development tool. Actually It is not.
Andreas
|
|
Re: FileListGet
I am curious at how you would like to define and 'List<FileSystemInfo>' object on Magic.
and even more how this statement looks like in Magic (as a single-magic-dotnet-expression).
|
|
Re: WebService - Return value - XPA3.3 - Axis2 - SOAPui
Andreas Sedlmeier
Hi Gabor,
An XML file with 1MB is not exactly big so I rather suppose that the problem is with your data, like trying to serialize invalid XML characters or so. I never worked with Magic & Axis2 due to a small license problem, I do think however that you should find the reason for this serialization error when you look into the Axis2 logs, eventually after raising the log level there. Best regards, Andreas
|
|
Re: FileListGet
Andreas Sedlmeier
Ah, ok, I indeed did confuse that then and I think working FileListGet() with a memory table or (better) SQLite is a ok solution for this.
You can work .NET instead, would be something like that then: List<FileSystemInfo> filesOrdered= new DirectoryInfo("C:\\").GetFileSystemInfos().ToList() .OrderBy(f => f.CreationTime).ToList();
Its probably a better solution if you work a lot with .NET in your Magic applications and do not have to support platforms different to Windows and ... Probably you do not even need a Snipplet for that but just a single Magic dotnet expression. I did not try. Andreas
|
|
Re: Convert PDF to TIFF
toggle quoted messageShow quoted text
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of ??? ??????
[Edited Message Follows] hi, Does anyone have a recommendation for utility to
|
|
Re: XPA4
אבי אבקסיס
Hi
There is a demo and more then a demo... I think because Magic plan to release a new version till end of the year there is a silent at a moment. you can learn from this site : magicweb.io here you fined a lot of material step by step learning there is documentation and two demo applicatios of Angular Heros and travel agency meanwhile, if you want to understand Angular you must start learning natural angular first!! , not must be an expert becouse of magic..... my recommendation is the site in youtube of Vishvas from CodeVolusion Here is a shortcut site to stunning complete course, from begining to advanced: https://www.youtube.com/watch?v=0eWrpsCLMJQ&list=PLC3y8-rFHvwhBRAgFinJR8KHIrCdTkZcZ hope this help Avi Avikasis
|
|