> cmenu "Microsoft word document" not working

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

victor50
Member
Member
Posts: 50
Joined: 2007 Mar 19, 20:36

> cmenu "Microsoft word document" not working

Post by victor50 »

I copied this macro from this board and got it working with some trouble. Now cmenu "Microsoft word document" generates an error. Wonder if this has anything to do with "updating" Windows 11 from 23 to 24H2. When updating, I had to uninstall and reïnstall ExplorerPatcher to keep my Windows 10 taskbar working. It took them some time to circumvent the problems of the "update".
victor50
Member
Member
Posts: 50
Joined: 2007 Mar 19, 20:36

Re: > cmenu "Microsoft word document" not working

Post by victor50 »

I updated xplorer2. Still reacts with "command is ineffable"
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: > cmenu "Microsoft word document" not working

Post by nikos »

I take it that you are trying to create a new word document from EXPLORER > NEW submenu?
this works for me on windows 10
make sure that your active view doesn't have any items selected, otherwise you get the context menu for the selected item; you need the background menu

Code: Select all

getfocus # active folder pane
select 0 # unselect all
cmenu "word document"
victor50
Member
Member
Posts: 50
Joined: 2007 Mar 19, 20:36

Re: > cmenu "Microsoft word document" not working

Post by victor50 »

Yes, I wanted to make a new Word document. As said, this worked on Windows 11 23H. I updated to Windows 24H2, and now it doesn't work. I changed the argument from "Microsoft word document" to "word document", but that doesn't make a difference. When creating it by hand, it still works, so I guess the problem is that "cmenu" is no longer recognized as a valid command.
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: > cmenu "Microsoft word document" not working

Post by nikos »

did you follow the previous steps of the sample? CMENU on its own will error out