Conversational Wizards

Discuss the creation and usage of Wizards

Re: Conversational Wizards

Postby dezsoe » Tue May 29, 2018 8:54 pm

Hi Terry,

No. As I wrote than: I make it if you want it. Now I feel that you want it. :)

How do you plan to call a macro from an other folder? My original idea was to scan the current macro folder for macros with that fixed sign at their beginning. OK, I'll make it and after a test we can discuss it.
dezsoe
 
Posts: 595
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Conversational Wizards

Postby Dan911 » Wed May 30, 2018 12:43 am

Vmax549 wrote: They really SHOULD have their own folder BUT that is another discussion. :P
(;-) TP


Terry.... if you want your own folder just create it.

Path = Application.StartupPath + @"\Wizard_Gcode1";

Directory.CreateDirectory(Path);

Dan
Dan911
 
Posts: 502
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Conversational Wizards

Postby dezsoe » Wed May 30, 2018 7:31 am

Hi Terry,

You can get the current profile name from field 900:

Code: Select all
string profilename = AS3.Getfield(900).Substring(8);
dezsoe
 
Posts: 595
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Conversational Wizards

Postby dezsoe » Wed May 30, 2018 7:35 am

And this is the current macro folder path:

Code: Select all
string macropath = Application.StartupPath + @"\Profiles\Macro_" + AS3.Getfield(900).Substring(8);

MessageBox.Show("'" + macropath + "'");
dezsoe
 
Posts: 595
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Previous

Return to Conversational Wizards

Who is online

Users browsing this forum: No registered users and 3 guests