Keymapper for Mac

General information and assistance with DOSBox.

Keymapper for Mac

Postby piercrg » 2018-2-09 @ 22:20

Can anybody help me with key mapping on my Mac. I can mount the drive and navigate to my program manually but can't figure out how to get there automatically with one click. Help please?!
piercrg
Newbie
 
Posts: 5
Joined: 2018-2-09 @ 22:12

Re: Keymapper for Mac

Postby collector » 2018-2-10 @ 02:00

Note that this forum is for the emulation of Macs, not real Mac hardware.
User avatar
collector
l33t
 
Posts: 4178
Joined: 2003-1-15 @ 10:39

Re: Keymapper for Mac

Postby Stiletto » 2018-2-10 @ 06:51

Moved to Milliways until we figure out what this guy is trying to do with which program (my guess is DOSBox). :)
"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto
User avatar
Stiletto
l33t
 
Posts: 4027
Joined: 2002-7-01 @ 21:57

Re: Keymapper for Mac

Postby Dystopia » 2018-2-10 @ 09:04

piercrg wrote:Can anybody help me with key mapping on my Mac. I can mount the drive and navigate to my program manually but can't figure out how to get there automatically with one click. Help please?!


If this is OS 9 or older (down to System 7.5, or a bit older if you have a Performa) and you're wanting to be able to launch applications with a single mouse click instead of drilling down through folders for it, you can do that. Find your application in the Finder, select it, choose "make alias" from the file menu, open your System Folder, and drop the alias in the "Launcher Items" folder. Then you can go to the Apple menu, and then to "Control Panels", and open the control panel called "Launcher", and you'll have a window that will have icons for everything in the Launcher Items folder. If you click the icons once they'll open. You can put an alias of the Launcher in your "Startup Items" folder (in the System Folder), to have the Launcher open at boot time.

Personally I wouldn't bother. Just put an alias on the Desktop. Yeah, you'll have to double click, but is that really so hard? If that is too much clutter and you're using OS 9, create a folder, stick your aliases in there, and the drag the title bar down to the bottom of the screen. It'll turn into a pop up folder that will jump up when you click it and shrink back down when you click outside it. As long as you never close it it'll stay open until the end of time or until you remove the disk on which it resides.

If you're using OS X, just stick it in the Dock, and use Stacks instead of pop up folders.

If this was a DOSBox question, disregard all of what I said.
Dystopia
Newbie
 
Posts: 29
Joined: 2018-1-10 @ 05:23

Re: Keymapper for Mac

Postby piercrg » 2018-2-10 @ 19:58

Yes this was for DosBox. I totally asked the wrong question. Here's the scoop. I'm moving from a Windows based machine to a new iMac. On my windows machine the guy who set it up originally installed DosBox and wrote a few lines in the config file to allow DosBox to open the program by double clicking on the DosBox icon on my desktop. Bingo, everything loads right up and shuts down when I close the program. I've loaded DosBox for Mac and the Dos program on my new machine. When I go through the whole mount c ~DosBox c: cd\xxx routine the program loads right up. So everything is there except the command lines in the config file. I've looked all over for that file. Hidden files in Finder etc. Where is it? Thanks for your help.
piercrg
Newbie
 
Posts: 5
Joined: 2018-2-09 @ 22:12

Re: Keymapper for Mac

Postby Dystopia » 2018-2-11 @ 06:13

Try a DOSBox frontend like Boxer. Alternatively ask your question down in the DOSBox subforum here.
Dystopia
Newbie
 
Posts: 29
Joined: 2018-1-10 @ 05:23

Re: Keymapper for Mac

Postby Dominus » 2018-2-11 @ 09:08

I think the readme tells you the exact location but it is in /users/yourusername/library/preferences and is called "Dosbox 0.74 Preferences". Open that file with textedit and add the mountings and command to launch your program in the [autoexec] section.
https://www.dosbox.com/DOSBoxManual.html#ConfigFile

(Topic moved)
User avatar
Dominus
DOSBox Moderator
 
Posts: 7594
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: Keymapper for Mac

Postby piercrg » 2018-2-11 @ 13:32

Found it! It was in a hidden file that I did not have permissions to find or open. Gave myself the required permissions and now it works. Thanks for guiding me through it. One last question, in the auto exec.bat commands how do I exit the dosbox when I'm finished with the program? I but "exit" in the command and it closed the program immediately after opening it. Thanks!
piercrg
Newbie
 
Posts: 5
Joined: 2018-2-09 @ 22:12

Re: Keymapper for Mac

Postby Dominus » 2018-2-11 @ 13:53

no idea since I never use that, best just don't do it and close Dosbox manually.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7594
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: Keymapper for Mac

Postby piercrg » 2018-2-14 @ 20:33

OK next question. I just bought an extended Apple keyboard. Everything seems to work OK except the numeric keys on the right side don't work in DosBox. They work fine on normal programs, excel, word etc. If it was a windows keyboard I'd look for the NumLock key but there is no such key on this keyboard. Any ideas.
piercrg
Newbie
 
Posts: 5
Joined: 2018-2-09 @ 22:12

Re: Keymapper for Mac

Postby Dominus » 2018-2-14 @ 21:06

Hmm, the key that is where the numlock is normally doesn't switch?
User avatar
Dominus
DOSBox Moderator
 
Posts: 7594
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: Keymapper for Mac

Postby piercrg » 2018-2-16 @ 12:45

Turns out that the "Clear" key is the numeral lock button. Who'd have guessed. Every time I run DosBox I have to hit the Clear key to enable the number keys. Can anybody tell me how to put that in the auto exec.bat file to set it automatically?
piercrg
Newbie
 
Posts: 5
Joined: 2018-2-09 @ 22:12

Re: Keymapper for Mac

Postby Dominus » 2018-2-16 @ 13:53

You can't. You could do it with an AppleScript...
User avatar
Dominus
DOSBox Moderator
 
Posts: 7594
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg


Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 4 guests