Search results

  1. S

    Javascript windows.external

    gdgsupport; I finally discovered why I was having a problem passing a String value from ExeOutput to a custom DLL. I was thinking the ExeOutpur “String” type was passing a “value” – when in fact the “String” type is a “pointer” to the value. All I had to do was have my DLL “function” expect a...
  2. S

    Resize main window with JavaScript [SOLVED]

    Thanks gdgsupport; Sorry for the delayed response. I took me awhile to build a test “exe” program to run the example code. After getting everything setup – I can confirm your suggestion did the job perfectly. It’s exactly what I was looking for. I can also confirm that the “SetUIProp”...
  3. S

    Resize main window with JavaScript [SOLVED]

    Is it poossible to size/resize the main window programically? I would like my program to start with a small size if it is not registered (to ask for a password) and after it’s registered I would like the program to run with a larger sized window. I did not see anything in the help files...
  4. S

    Get file size in bytes

    Does anyone know the secret (code) for getting a files size in bytes. I believe this is available in the Widows API kernal32.dll but I can not figure out how to send the files path information (C:\Temp\myfile.txt) – or how to retrieve the size data back from the DLL (into an HEScript variable –...
  5. S

    Javascript windows.external

    Thanks gdgsupport… You seem to be right again… I can “touch” a DLL – but I can’t seem to pass variable information to it – or return any usefull information from the DLL. Could you point me to any information that would help me out?
  6. S

    Javascript windows.external

    Fantastic – that worked perfectly… Thanks gdgsupport… When you are in a new land – it’s difficult to notice one tree in a forest. I never noticed any explanation about the differences between using functions and procedures. To use this software I need to understand some advanced subjects… For...
  7. S

    Javascript windows.external

    New Information: I figured out that I need to add an HEScript before I use this function – so I add the following code to UserMain procedure ViewerID; begin GetViewerSerial; end; Then I used the Javascript code… unitSerial = window.external.GetHEScriptCom(‘UserMain.ViewerID’, ‘none’)...
  8. S

    Javascript windows.external

    Hi; I’m a new user and I’m having a problem using the getHEScriptCom function in Javascript. Here is my Javascript code… (which should give me a unique ID of the runtime module) var unitSerial = window.external.getHEScriptCom(‘GetViewerSerial’,’ '); alert("unitSerial "+unitSerial); I’ve tried...
Back
Top