1. Create simple job job_test and add it to action menu item in AOT.
2. Call job_test in other job using following code.
Args args;
;
args = new Args();
args.name(identifierStr(Jobs_Test));
new menuFunction(menuItemActionStr(Jobs_Test), MenuItemType::Action).run(args);
If you want to add a job to a action menu item just create a new action menu item and set the object property of that menu item to point to the job created.
2. Call job_test in other job using following code.
Args args;
;
args = new Args();
args.name(identifierStr(Jobs_Test));
new menuFunction(menuItemActionStr(Jobs_Test), MenuItemType::Action).run(args);
If you want to add a job to a action menu item just create a new action menu item and set the object property of that menu item to point to the job created.
No comments:
Post a Comment