Message 1 of 30
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want this macro as my right click menu on explorer in which I want all my small macros list. Which I can use.
Solved! Go to Solution.
I want this macro as my right click menu on explorer in which I want all my small macros list. Which I can use.
Solved! Go to Solution.
hi,
add this rows in the file user_menu.xml in the pmill4 folder
<menupage label="Macro List">
<button label="Macro_1" command= "macro file 'C:\xxx\xxx\xxx\Macro1.mac'"/>
<button label="Macro_2" command= "macro file 'C:\xxx\xxx\xxx\Macro2.mac'"/>
<button label="Macro_2" command= "macro file 'C:\xxx\xxx\xxx\Macro2.mac'"/>
</menupage>
<spacer/>
Do not copy in pmill4 folder
Copy to pmill2 folder instead.
Cheers !
Where can I get this pmill2 folder please help.
create a blank file named user_menu.xml
paste below contains in that file...
# ************** USER MENU ***************
# comment lines
# this file must be called user_menu and be in your HOME area
U user_menu
# T is for Title and cannot be selected
# S is for separator or line on the menu
# I is a menu operation line
# M is start new menu/sub-menu
# Z is end menu/sub-menu
T "Extra MENU"
S
# format is I "Label String" 1 "Command string"
M "Folder Paths"
I "Treasure" 1 "macro path_menu\*****Your macro name*****.mac"
S
I "Folder create" 1 "macro path_menu\*****Your macro name*****.mac"
S
I "Folder pmill2" 1 "macro path_menu\*****Your macro name*****.mac"
S
Z
S
M "Toolpath Menu"
I "Fix PARA" 1 "macro toolpath_menu\*****Your macro name*****.mac"
S
I "Transform IND" 1 "macro toolpath_menu\*****Your macro name*****.mac"
S
I "Transform MIX" 1 "macro toolpath_menu\*****Your macro name*****.mac"
S
I "Links UP" 1 "macro toolpath_menu\*****Your macro name*****.mac"
S
*** Note: save this file in C:\dcam\config\pmill2
*** Create folder pmill2 ( if not exist )
Create a dir called C:\dcam\pmill2, you will also probably need to create a user variable in your Windows advanced settings. Go to System>About>Advanced system settings>Environment variables then create a new system variable called HOME (caps sensitive) and value C:\dcam
HI !
No need to work in system variable.
pmill2 / 4 works also without modifying system variable.
Regards !
I have located the user menu xml file inside my macros directory and works well.
of course Im using PM 2025
Not working.
Please explain.
not much to explain...
You have a typo, your file is named "user menue.xml" whit a space inbetween, you should name the file "user_menue.xml" with a underline(_) insted of a space.
any idea ??
add this to the beginning
<?xml version="1.0" ?> <menus xmlns="x-schema:user_menu.xsd"> <usermenu value="user_menu">
if you named you file user_menue.xml your file should look something like this:
<?xml version="1.0" ?>
<menupage>
<button label="YourMacroName" command='macro "C:\path\to\your\macro\mac.mac"'/>
</menupage>
OR
you call your file "user_menue" with no file extention, then your file should look somehting like that:
U user_menu
T "Your custom usermenue"
S
I "YourMacro" 1 "macro 'C:\yourPath\yourMacro.mac'"
S
also you may want to post your user_menue.xml so we can take a look whats inside and may spot the error.
not working.
Theres another typo in the .xml file:
you got:
<menupage>
<button label="Macro_1" command= "macro file 'C:\xxx\xxx\xxx\Macro1.mac'"/>
<button label="Macro_2" command= "macro file 'C:\xxx\xxx\xxx\Macro2.mac'"/>
<button label="Macro_2" command= "macro file 'C:\xxx\xxx\xxx\Macro2.mac'"/>
</menupage>
<spacer/>
it should be:
<menupage>
<button label="Macro_1" command= "macro file 'C:\xxx\xxx\xxx\Macro1.mac'"/>
<button label="Macro_2" command= "macro file 'C:\xxx\xxx\xxx\Macro2.mac'"/>
<button label="Macro_2" command= "macro file 'C:\xxx\xxx\xxx\Macro2.mac'"/>
</menupage>
you need to remove </spacer>
also please post your code in text fromat not just an image so we can copy/paste it...
<?xml version="1.0" ?>
<menupage>
<button label="Bkgrnd-Black" command= "macro file 'C:\pmill4\Bkgrnd-Black.mac'"/>
<button label="Bkgrnd-BlueGrey" command= "macro file 'C:\pmill4\Bkgrnd-BlueGrey.mac'"/>
<button label="Bkgrnd-GreenGrey" command= "macro file 'C:\pmill4\Bkgrnd-GreenGrey.mac'"/>
Removed spacer still not working
You removed to much... you need to keep </menuepage>
<?xml version="1.0" ?>
<menupage>
<button label="Bkgrnd-Black" command= "macro file 'C:\pmill4\Bkgrnd-Black.mac'"/>
<button label="Bkgrnd-BlueGrey" command= "macro file 'C:\pmill4\Bkgrnd-BlueGrey.mac'"/>
<button label="Bkgrnd-GreenGrey" command= "macro file 'C:\pmill4\Bkgrnd-GreenGrey.mac'"/>
</menupage>