GithubHelp home page GithubHelp logo

actionflow's Introduction



ActionFlow

  • process-executor

  • file operation manager

  • controling action flow by conditions


Action flow project structure

Create action_flow project file and save it as .af file

project:
{
    name:'template project',
    desc:'project focuses on the correct using of commands ',

    execution:
    {
    	controlflow:
        {
            condition:'dialog',
            dialogtext:'yer or no ?',
            yes:
            {
            	wait:'1000',
            	showdialog:'how are you doing ?'
            	execute:'||bin||/daily_remarks/daily_remarks.exe',
            },
            
            no:
            {
				execute:
				{
					filename:'||defaultbrowser||',
					params:'www.aktuality.sk'
				},
            }    
        },

		deletefile:'||mroot||/temp/tttt/gear_watch/connect.bat',

    	deletefiles:
        {
            source:'||mroot||/temp/tttt',
            recursive:'false',
            pattern:'^*(.bat)'
        },

        deletefiles:'||mroot||/temp/tttt',

		zipfolder:
        {
            source:'||mroot||/test',
            zipfile:'||mroot||/temp/ahoij.zip'
        },
    }
}

Example running actionflow file

set action_flow.exe as default app for .af files

or run

action_flow.exe testing_project_file.af

Available actions


wait

<action
	type="wait" 
	name=""

	desc="Slow down the process for millions of milliseconds"
	duration_ms="" 
/>

execute

<action
	type="execute" 
	name=""
	desc="Starting the process with the given parameters"

	filename=""
	params="" 
/>		 

copyfolder

<action 
	type="copyfolder" 
	name=""
	desc="recursively copying a directory with subdirectories and files that complete the copy pattern"

	source=""
	destination="" 
	copy_filepattern="(.)" 
	copy_dirpattern="(.)" 
/>

copyfile

<action 
	type="copyfile" 
	name=""
	desc="Copy the file"

	source=""
	destination="" 
/>	

deletefiles

<action 
	type="deletefiles" 
	name=""
	desc="Deleting files from the specified directory that complete the delete pattern"

	source=""
	delete_filepattern="" 
	recursive="true" 
/>	

deletefolders

<action 
	type="deletefolders" 
	name=""
	desc="Delete folders"

	source=""
	delete_folderpattern="" 
/>		 

zipfolder

<action
	type="zipfolder" 
	name=""
	desc="Create a zip archive from the selected folder to the specified target file"

	source=""
	zipfile="" 
/>		 

showdialog

<action 
	type="showdialog" 
	name=""
	desc="Show dialog with message"

	message=""
	messagetype="info" 
/>		

actionflow's People

Contributors

rybcom avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.