Recent Posts

Pages: 1 ... 8 9 [10]
91
General / Documentation Improvement
« Last post by LinesOfCodes on September 19, 2020, 07:45:57 AM »
Hey, Developer.
Can you improve the HyperNext 4 Documentation? (Guide > Overview)
Because in HN4 Docs. It didn't explain everything. Such as didn't tell the meaning of parameters, Example of command usage, etc.
I know now, you're focusing on developing HN5 and will never add more features into this HN4 but please improve the documentation.
I'm telling you about this because I don't want to bother you in this forum much.
So you can be focusing more on HN5 without worry that I will ask you about command usage.

I know I'll ask more questions in the future. Like "How can I ...", "Can HyperNext do this?", etc.
But Improving documentation will make me understand how can I use that command without bothering you.

I hope you'll see this and fixing the documentation.
92
General / Re: HyperNext 5.0
« Last post by Malkom on September 17, 2020, 03:24:15 PM »
Thank you for asking.

Actually I don't know for certain. Although most of the conversion is quite easy, the GUI functionality is much more complex.

I'm using Libre Project to keep track of things but it doesn't give a timeline, just a rough percentage of work needed for each module, subroutine, function etc.

HN 5 Creator is still not yet capable of fully running the Chart Demo project.
It can compile most of the scripts into runtime code but the Runtime Engine still needs a few weeks more work.

The GUI, card designer, and control dragging all need more work - yet another few weeks.

Then there is the testing and debugging before release.
The Windows OS version will be released first, followed by Linux.
OS X needs a lot of work, especially to run on OS X Catalina.

Although the current version of HN 5 runs on both Windows 7 and Lubuntu, no OS X versions has even been built yet.

Once the Chart Demo is working smoothly, then HN 5 Creator can be released, and no doubt lots of bugs will show up.

HN Player V5 will be released at the same time as HN Creator.

HN Developer creates HN plugins, but should not need much work as its very similar to Creator, except for some GUI differences.

Please note, these are all alphas.
 


93
General / HyperNext 5.0
« Last post by LinesOfCodes on September 17, 2020, 11:23:22 AM »
I want to ask you, The developer. What day you have planned to release HyperNext 5.0?
94
Files / Re: Run external program with parameters
« Last post by Malkom on September 14, 2020, 11:47:53 AM »
Hello,

Unfortunately the HN command to launch a program/file cannot send parameters to the target.

However, a work-around is to create a simple batch file with HN and then use this to launch the target with necessary parameters.

Attached is a very basic project that converts a video using FFmpeg on Windows X64 - the download link is at the bottom of this post.

The project just has one button and one field.
The location of FFmpeg is hardcoded in the script, and the final video is called Video1.mkv
The video to be converted is selected via a dialog box.

Note, the video source path has " (quotation marks) appended around it,  in case the full path contains spaces.
I didn't do this for the converted file path as it is just saved to the project directory.


Most of the code just displays information into field 1 as to aid debugging.

Also, FolderItemLaunch(fvar,1) executes the FFmpeg in the foreground to aid debugging.
Just use - FolderItemLaunch(fvar,0) to launch it in the background.

Code: [Select]
Local fname,fvar,fdetails,ftypes,fpaths,fnames,fextens
Local fhandle
 
Local sourcePath

Clear field 1

@ --- Get file ---
Put '--- Get file ---' after field 1
FileAskFilter(fname,'',fhandle,fdetails,ftypes,fpaths,fnames,fextens)
Put fname after field 1
Put line 9 of fdetails into sourcePath
Put sourcePath after field 1


@ --- Create batch file ---
Local batchname
Put ' ' after field 1
Put '--- Create batch file ---' after field 1

Put MyDirectoryFN into batchname
Append FolderSeparatorFN onto batchname
Append 'mybatch.bat' onto batchname
Put batchname after field 1
OpenTWriteAbs(batchname,fvar)


@ --- Build batch file ---
Local commandLine
Put ' ' after field 1
Put '--- Build batch file ---' after field 1
WriteTLine(fvar, 'ECHO OFF')
Put 'C:\ffmpeg-win64\bin\ffmpeg.exe -i ' into commandLine
Append '"' onto commandLine
Append sourcePath onto commandLine
Append '"' onto commandLine
Append ' -c copy ' onto commandLine
Append 'Video1.mkv ' onto commandLine
Put commandLine after field 1
WriteTLine(fvar,commandLine)
WriteTLine(fvar, 'PAUSE')
CloseTWrite(fvar)


@ --- Run batch file ---
Put ' ' after field 1
Put '--- Run batch file ---' after field 1
FolderItemGetAbs(batchname,fvar,fdetails,ftypes,fpaths,fnames,fextens)
FolderItemLaunch(fvar,1)
Put 'DONE' after field 1


 
95
Files / Run external program with parameters
« Last post by LinesOfCodes on September 13, 2020, 08:01:31 AM »
Now, I'm doing a program that will convert the video file using FFmpeg.
But I want to know, What script I have to write to run FFmpeg with parameters because FFmpeg is a program that requires parameters to work properly.
And I also want to know, How can I make a file dialog to pop-up then get a path of the file that has been selected and then set the value of the input field to that path.
96
Development Progress / August 2020
« Last post by Malkom on August 31, 2020, 10:08:13 PM »
Here is a brief progress report on HN5 development for the month of August 2020.

The aim is to get the Chart demo project running inside HN5 Creator IDE.

The development is being carried out on a Windows 7 x64 machine with regular testing of HN5 on Linux(Lubuntu).

The development language is Free Pascal which should ensure HN5 will be able to run on a variety of Operating Systems, both newer and older versions. The main targets being Windows, OS X and Linux.


EDITOR

Editor window - Cards, MainCode, Specials, Menus.

Controls List.

Error linking.


CREATOR PROPERTIES/TOOLBAR

Controls.

Controls' images.

Some properties.




 

97
Development Progress / July 2020
« Last post by Malkom on July 31, 2020, 05:49:51 AM »
Here is a brief progress report on HN5 development for the month of July 2020.

The aim is to get the Chart demo project running inside HN5 Creator IDE.

The development is being carried out on a Windows 7 x64 machine with regular testing of HN5 on Linux(Lubuntu).

The development language is Free Pascal which should ensure HN5 will be able to run on a variety of Operating Systems, both newer and older versions. The main targets being Windows, OS X and Linux.


EDITOR
Script editor and its links with compiler and debugger.


DEBUGGER
Compiler error processing system.


COMPILER
Filled in more compiler functionality.

98
Development Progress / June 2020
« Last post by Malkom on June 30, 2020, 02:40:07 PM »
Here is a brief progress report on HN5 development for the month of June 2020.

The aim is to get the Chart demo project running inside HN5 Creator IDE.

The development is being carried out on a Windows 7 x64 machine with regular testing of HN5 on Linux(Lubuntu).


COMPILER
 Filled in more compiler functionality.


RUNTIME ENGINE
 Filled in more code to support relevant keywords.
99
Development Progress / May 2020
« Last post by Malkom on May 31, 2020, 12:28:07 PM »
Here is a brief progress report on HN5 development for the month of May 2020.

 
LOAD PROJECT
 Parsing of an HN v2,3,4 Chart project file now works.

 The Chart project has several different controls: buttons, fields, canvases etc:-
  - creation of objects.
  - loading code.
  - code tables.
  - Note, UTF8 import is not working correctly.


Project Converter

Built a primitive app that converts  HN v2,3,4 project to HN5 format.


100
Development Progress / April 2020
« Last post by Malkom on April 30, 2020, 10:10:03 AM »
Here is a brief progress report on HN5 development for the month of April 2020.

 
LOAD PROJECT
 Parsing of an HN v2,3,4 project file is over 95% done-
  - creation of nearly all objects.
  - loading code.
  - code tables.
  - still needs some data decompression.


RUNTIME ENGINE
 Filled in more functions relevant to Project Loading.


CARD CREATOR WINDOW
 Creation of some controls for Project Loading.


COMPILER
 Filled in more pass 3 compiler functionality.


PLATFORMS
 HN5 will run on multiple platforms:- Windows, OS X, Linux Ubuntu etc, Raspberry Pi.
 HN5 will not create cross platform binaries as earlier version of HN(v1 to 4) did.
 Instead, HN5 Creator will build a universal stack that will be runnable on any platform having a HN5 Player.
 To users of the stack it will seamlessly appear to be an app, just like Java apps appear to be.

Pages: 1 ... 8 9 [10]
anything