Search results

  1. orionmetrics

    Calling ipconfig

    Solved it with the following… now produces an ipconfig.log file I can use… procedure MacroExecuteIPconfig; var EbookPath, CbookPath, MyProgram: String; begin CbookPath := “C:\Windows\System32”; EbookPath := GetGlobalVar(“HEPublicationPath”, “”); MyProgram := CbookPath + “cmd.exe”...
  2. orionmetrics

    Calling ipconfig

    I have developed the following hescript (as passing the argument in a terminal box works fine), but it just isn’t working, and I have no idea why… procedure MacroExecuteIPconfig; var EbookPath, MyProgram: String; begin CbookPath := “C:\Windows\System32”; EbookPath :=...
  3. orionmetrics

    Passing executables to other people

    Hi, hit a problem and I just have no idea why. Developed an executable which works fine on my own development laptop, windows 7 64bit professional, app has never had a unexpected crash myself apart from once due to the memory limits been set too low in the compiler settings, so not counting that...
  4. orionmetrics

    Calling ipconfig

    Cheers for that, but is there anyway of storing in a string the output of the program been run. Need to try to get the output of ipconfig, so i can scan it to obtain the ip address line(s). Thanks.
  5. orionmetrics

    Calling ipconfig

    No worries, seen this thread System() do not work - exec() and system() don’t work… was wondering therefore if there are any direct ways of accessing the ipv4 address of a pc/laptop - alas cannot use localhost for server as need the application to be accessed from within windows XP mode...
  6. orionmetrics

    Calling ipconfig

    Hi, trying to develop a mini server, which is working fine if I manually specify the ipv4 ip address returned from running ipconfig from command prompt, but I was hoping to be able to call ipconfig from within the application itself to set the ip address automatically. Is there anyway of doing...
  7. orionmetrics

    Menu buttons and calling javascript functions?

    Yes, you can access global variables using javascript - http://www.exeoutput.com/help/javascriptexeoutput but note that the title on the help is wrong… this is for webkit not Trident engine.
  8. orionmetrics

    Menu buttons and calling javascript functions?

    Thanks… Just out of interest can Webkit engine javascript side access Exeoutput declared global variables, can it also change a exeoutput global variable ? Only other method I can think of to get these buttons working (alas cannot use Trident engine) is to get the toolbar buttons to set a...
  9. orionmetrics

    Menu buttons and calling javascript functions?

    Tried using the following… Decided to try a simple page with the following… <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Box2d Shape Editor</title> <script type="javascript"> function loadshape() {...
  10. orionmetrics

    Menu buttons and calling javascript functions?

    Thanks for the feedback - to answer your question using the Webkit Chromium engine. Tried both engines - does exactly the same thing. Thanks again.
  11. orionmetrics

    Menu buttons and calling javascript functions?

    Seeing if I can trigger an event via hescript and global variables as cannot get javascript functions to be called at all.
  12. orionmetrics

    Menu buttons and calling javascript functions?

    This is how I currently have the loadshape() function call - see attached image - and in the previous post it shows the error response when the similar / identical saveshape button is clicked - and should have triggered the saveshape() javascript function. Whether saveshape or loadshape buttons...
  13. orionmetrics

    Menu buttons and calling javascript functions?

    Thanks for the reply and help, but even when I try moving javascript:loadshape() to “Show this page/URL” it still isn’t working - see error message on page I get when I click on the SAVE shape button and try to trigger the saveshape() javascript command… the function is definately in the page...
  14. orionmetrics

    Menu buttons and calling javascript functions?

    This is odd now, as made no changes, came back to my project (company demo), re-opened it, went to recompile and now recompiled fine. No compile alert message. However, now when I go to run the application, and click on the load shape toolbar button i get an alert saying no function found...
  15. orionmetrics

    Menu buttons and calling javascript functions?

    Sure getting one done now - image attached here. Thanks.
  16. orionmetrics

    Menu buttons and calling javascript functions?

    Hi, sorry to bring this up again, but in relation to an early thread I started but now closed, I cannot get the solution to work. To recap got some visual control toolbar buttons I ideally want to allocate to trigger some javascript functions. Was told earlier that just using...
  17. orionmetrics

    Menu buttons and calling javascript functions?

    Just wondering if there is anyway of linking the menu buttons to trigger javascript functions on current page, aswell as calling hescript macro functions or open pages ? if not possible directly thinking about using menu buttons to set a global variable (via a hescript macro), then the...
  18. orionmetrics

    Flush() works with windows XP, but not with Win 7

    Thanks dapower - tried using exactly the same setup but alas didn’t work my end 😦 Will resort for now to my plan-B - writing the output to a local file. Thanks again, it might help someone else - exeoutput seems to be very setup specific.
  19. orionmetrics

    Flush() works with windows XP, but not with Win 7

    Another issue, but not so critical, is that there is no title caption showing anymore in the main dialogue window - this is occurring whether a block is set or a title caption is set internally.
Back
Top