Release Version is 2020.29. When I clicked the save button it generated the batch files. I presume that if I want to create a release version (distributable) I run the cordova_electron_release.bat. However, when I do this I get a message saying "ENOENT: no such file or directory, open 'C:\Work\App Builder\Test Project\MyApp\compiled\package.json'"
The only solution that I have is to close App Builder, Reopen it and Open my Project again...then I can see the properties dialog.
I closed the properties tabs for objects (Text Boxes, etc). I cannot find a way to make this tab visible again.
I went to the App Options and in Batch and Shell ticked Electron, clicked compile but couldn't find the batch file for the Cordova build. Also, the App Options seems to lack a scroll bar on my screen.
How can I create the batch file that will use Cordova to create the distributable version ?
How can I compile my application as a Windows EXE?
Hi David,
Thanks for your reply. I can't wait to see what you are working on. I know its going to be amazing.
As for my issue I think we can consider it resolved. I thought I would post my solution up here for others to see.
Best Wishes
John
In the WebExtContent method replace the code with the following and it works:
Hi David,
I presume that you replaced the :
$('body').css('background-color', 'red');
and
$('body').css('background-color', 'blue');
in the WebExtContent method with two alerts like this :
AlertBox "Can you see me ?" "success"
Is that correct ? Otherwise could you tell me the code changes that you made ?
Best Wishes
John
Hi David,
I looked at the WebExtension Sample. I built it and installed it on Chrome. The Version of Chrome that I am using is :
Version 75.0.3770.100 (Official Build) (64-bit)
When I clicked on the Icon for the Extension the menu appeared. However, when I clicked the buttons to set the background colour the background colour of the page that I am on did not change.
You are brilliant - that is exactly what I wanted!
Thank you so much!
I want to create an application where if I click on the screen it dynamically adds an image to it. So lets say this image is 30 pixels by 30 pixels. If I click on the app screen 10 times I will have 10 instances of that image (one instance at each point I clicked).
How can I achieve this ?
This doesn't seem to be a problem on my home computer.
I thought I would post my solution to this issue :
I created a view with the following items :
On the show function for the view I added the following code :
and on the change function for the select box I added the following code :
My only concern is that is it sensible to use document.getElementById(SelectedItem).value in the code or is there a better method?
I just want to confirm something. If I wish to set a value of an input box with the name Input1 I presume that I use the following Javascript :
document.getElementById("Input1").value = "Testing 1,2,3";
Is there another way to do this ? I presume that I use a similar approach to accessing the methods of the objects being used too. Is that correct ?
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.