TweetFollow Us on Twitter

Menu Selection
Volume Number:2
Issue Number:3
Column Tag:Inside Macintosh

Menu Selection for Desk Accessories

By Jan Eugenides, Assembly Corner, Maynard, MA

Writing Desk Accessories with Megamax C

Writing Desk Accessories is one of the more interesting (frustrating?) programming tasks on the Macintosh. I have written a number of them using Megamax C, and have found it to be an excellent system. There are some things they don't tell you in the manual though, which I will point out. This article will present a complete working desk accessory in Font/DA Mover format. It is modestly complex, and you can use it as a shell for your own DA's.

The dCtlFlags

Each desk accessory has certain information about it stored in a “Device Control Entry” (DCE) when it is opened. This includes such things as the driver's reference number, a pointer to its window, the number of ticks between periodic actions, the menu id, and the dCtlFlags.

Examine Listing #1. The first thing you see after the standard includes is the letters"ACC" followed by some arcane numbers. This is a macro for setting the dCtlFlags. The Megamax system makes it fairly simple to set up the flags properly, with the ACC macro.

The first number, 0x6400, indicates that this driver needs to be locked (all DAs do), will respond to control calls, and needs to perform periodic actions. The flags are two bytes in length, but only the high order one is used. The bits of that byte are defined as follows:

Bit Number  Meaning
    0       dReadEnable - set if driver can respond to read calls
    1       dWritEnable - set if driver can respond to write calls
    2       dCtlEnable - set if driver can respond to control calls
    3       dStatEnable - set if driver can respond to status calls
    4       dNeedGoodbye - set if driver needs to be called before the 
heap              is reinitialized.
    5       dNeedTime - set if driver needs to be called periodically.
    6       dNeedLock - set if driver needs to be locked in memory.

The next number in the header is the number of ticks needed between calls (a tick is 1/60 second). Next comes the event mask, which is just like an application event mask. This program uses 0xFFFB which allows all events except mouse-up. Next the menu ID, which must be a negative number and unique in the system, and finally the title preceded by a length byte. The title must be an odd length, add a space if necessary. Note that by convention a DA title must begin with a zero, or NULL. This is to prevent conflicts with other files on the disk which may have the same name as the DA.

Figure 1 Our Desk Accessory Window

Private Storage

When you write a DA, you must take care to allocate and lock down any private variable storage to be sure that it won't move out from under you. The Mac memory manager will move things around in the heap as neccessary according to its needs of the moment. If you don't lock down your storage, it may not be there next time you look for it.

There are two methods to keep in mind for dealing with this situation.

1. Use auto variables as much as possible, and limit your globals to only those that must retain a value between functions.

2. Define all your globals up front, and then instruct the memory manager to lock them down. Be sure to unlock and release them when you are done.

In the DCE there is a space called dCtlStorage, where you can store the handle to your private storage area, if any. Most systems require that you deal with all this yourself, but Megamax C makes it automatic. All global variables are put into a DATA segment, which is loaded with the DA at runtime. During the open, close, and control calls to the DA, this segment is locked in memory, and can be referenced in the usual way. The only problem is that nowhere in the manual is this explained, or even mentioned. If you attempt to use dCtlStorage yourself, your DA will bomb inexplicably. Use globals, and there will be no problem. In this program, the only global is the variable whichstr, which needs to retain its value across calls.

The Five main routines

There are five basic routines which must be present in every Desk Accessory - Open, Close, Control, Status, and Prime. The system will pass these routines pointers to the Device Control Entry (dctl) and the Parameter Block (pb). The Open routine opens the DA and does any initialization. The Close routine closes everything and releases all storage, the Control routine takes care of all the various events, the Prime routine must implement all read and write calls made to the driver (rare for DAs), and the status routine must return requested status information (also rare for DAs). Even if you do not use all the routines, they must still be defined at least as simple returns. In order for Megamax to correctly compile your DA, you must name your open routine accopen(), your close routine accclose(), your control routine accctl(), your status routine accstatus(), and your prime routine accprime().

Open

Examine the accopen() routine now. Notice that the first thing it does is check to see if the DA is already open by looking for its menu. Under no circumstances must you allow the DA to be opened twice! Another way of checking is to look at the dCtlWindow field. Assuming that you are handling this field correctly (see below), if it is NULL, the DA is not open.

The menu ID method also prevents opening the DA should a menu ID conflict arise. Since I have coded the menu ID into the DA rather than putting it in a resource, it is possible (though unlikely) that some other program will already be using that ID. The only way to avoid this problem is to put the menu in a named resource, and at run time adjust the ID and your code as necessary (see the section on Owned Resources below).

The current Font/DA Mover has a problem with menus, so you cannot be sure that your menu's ID will match up with your DRVR ID once it has been installed. Font/DA Mover does not properly update the ID numbers of owned MENU resources. If you are using GetMenu to get an owned MENU resource, you must patch the first word pointed to by the returned handle with the actual resource ID of the MENU. I have chosen the simplest solution, hardwire the menu ID and then check for it before opening. At least there's no way to bomb anything with this method, and only in a very rare instance would you be unable to open your DA.

Ok, once you've determined that the Menu ID is available, you must check to see if there's enough memory. IM says that if there is insufficient memory you should put up a dialog that says so. I have settled for a simple beep

Next, the menu is defined and installed, a window is opened and the TextMode and Font are specified. The next two lines are quite interesting.

wp->windowKind = dctl->dCtlRefNum;
dctl->dCtlWindow = wp;

You must set the windowKind field to your driver reference number in order for the system to pass you events relating to your window, such as a click in the GoAway box. This is how the system identifies your window as belonging to a DA. You should also put a pointer to your window in dCtlWindow.

Note that you can create your window as a dialog, and use the dialog manager routines to control it. I have discovered that certain dialog manager routines will not work unless the windowKind field is 2 (dialogKind). If you run into this problem, just change the windowKind field to 2 temporarily, then call the dialog manager, and then change it back to the dCtlRefNum when you are finished. This DA is not defined as a dialog, so there is no problem.

Close

This routine is called when someone clicks the GoAway box. Notice how the window pointer is fetched from the DCE.

After zeroing the window pointer in the DCE, the window is disposed of, and the menu bar is restored.

I should mention here that some DAs will need to call the close routine before the heap gets reinitialized when the user quits an application. If your DA is open when the application terminates and you have files open, you need to take care of that stuff before you get blasted away. To do this, you must set your flags to indicate that you need a Goodbye call, and check for an event code of -1, called the GoodByeKiss. Then you can take care of whatever chores you have before the DA gets wiped from memory.

Control

This routine is called when there is an event your DA might have to handle. The event code is passed in the Parameter Block. All you need to do is case out on it and perform the required actions. This is where you would look for the GoodByeKiss, too.

The only events that this DA looks for are accRun, which is called periodically and in turn calls the display() routine, and accMenu which has one item which opens a dialog box. The dialog template for this DA is in a resource, which brings us to the problem of using resources with a DA.

Owned Resources

When you create your DA, you can specify the ID numbers for the various resources you may wish to use, such as a DLOG (dialog template) and DITL (item list) as I have done here (see Listing #2). The Macintosh system recognizes certain ID numbers as having special significance, and an ID code is used to associate owned system resources with the resources to which they belong. After all, a desk accessory is actually a resource itself, of type DRVR. By using the right ID numbers you can tell the system which other resources are owned by your DA.

DRVRs can have IDs in the range 12 to 26. The numbers 27 to 31 are reserved for dynamic allocation of IDs at runtime for disk drivers, mail servers, etc. For each of these ID numbers, there is another unique range of ID numbers that is associated with it and that indicate ownership. The formula for figuring these out is:

Resource ID = -16384 + (32*DA ID) + Resource number

All you need to do to assure that the system will recognize your DRVR's resources is to give them ID numbers in these ranges. Each resource type can include resources in these ranges, so you can have, say, a WIND (window) resource with ID -16000 and a DLOG (dialog template) resource with ID -16000 and both will be associated with the DRVR whose ID is 12. You cannot use the same ID number within the same type of resource, of course. This means that you are limited to 32 resources of any one type.

An owned resource may itself contain the ID of a resource associated with it. For example, a DLOG owned by a DRVR contains the resource ID of its DITL (dialog item list). Even though the item list is associated with the dialog template, it is owned indirectly by the DRVR. Therefor the ID number for the DITL must also conform to the same special numbering system as the ID of the DLOG.

Font/DA Mover

When Apple's Font/DA mover program is used to install a desk accessory, it first checks the system file to see what ID numbers are already in use for DRVRs. It then changes your DRVR‘s ID to one that is not in use, and copies your DRVR and its owned resources into the system file. It also changes all your resource IDs to conform to the new DRVR ID. If you do not follow the numbering convention properly, your owned resources will not be copied along with your DRVR, causing unfortunate results.

This has interesting ramifications when you write your desk accessory, because there is no way to know beforehand what ID numbers your resources will actually have. The easiest way I have found to get around this problem is to name all of my resources. Resources can also have names in addition to their ID numbers, and the names will not be changed when the DRVR is copied into the system file. You can then use GetNamedResource to find out the actual ID number of your resource, as I have done here.

Display

The display routine is fairly straightforward, simply a series of MoveTo's and DrawString's. Remember that this routine gets called every 20 ticks by the accRun event, and uses that to time things. The most interesting routine here is the scrolling routine at the end. In order to scroll the bits in a given rectangle, you must first create a new region, using the NewRgn() call, to hold the update area. This program simply discards the region when it‘s done. Then you can call ScrollRect with the rectangle you wish to scroll (in this case the whole window), and the direction(s) and amounts. Positive numbers produce movement down and to the right. I have used a negative vertical movement of 2 pixels each time, which results in a smooth scroll upward.

Creating a Font/DA Mover file

Once you compile this file, you must then link it. The Megamax linker allows you to directly create certain resource types. In this case you want a DRVR type resource named MTUT, with ID = 12. After the linker is through, you'll have a desk accessory ready to run, but there is one problem. Font/DA Mover will not recognize the file! The problem is that the type and creator are not what Font/DA Mover wants to see, even though the file is actually compatible. You must use the “set attributes” feature of FEDIT to change the file type to DFIL and the creator to DMOV. Then you can install the DA with Font/DA Mover. The DA will also take on the suitcase icon if Font/DA Mover is present on the disk. Recompiling will not change the type or creator, so you only need to do this once.

The RMaker File

I have provided you with an RMaker file of the DLOG and DITL used in this program. Compiling it will add those resources to a file named MTUT, which should be your DA's name, the file you just linked. I haven't figured out how to get RMaker to name resources, so you will need to use ResEdit to add the name "MTUTINFO" to the DLOG resource before you install the DA. Otherwise the little scheme of using GetNamedResource() will not work. If anyone knows of a way to get RMaker to produce named resources, please write.

An alternative is to actually create the resources using ResEdit, naming them in the process. Frankly, this is the way I create all my resources these days, but there is no easy way to publish them, since there is no source code generated. Guess we'll have to stick to RMaker for exchanging resource information.

Final Notes

If you follow the basic outline of this DA, you should be able to get some of your own up and running. This is not to say that some things about this program couldn't be improved, but hey, I'm learning too. I have found that writing DAs is a lot of fun. Just seeing them run concurrently with other applications without bombing is a real reward. I hope this article helps you along your way.

Figure 3 Our DA has a Menu for an about box!

/* The MacTutor Desk Accessory 
 *      
 * © 1985 by Jan Eugenides for MacTutor 
 *      P.O. Box 151
 *    Maynard, MA  01754
 *      (617) 897-7749
 *    All rights reserved
 *
 */
 
#include <acc.h>
#include <qd.h>
#include <mem.h>
#include <misc.h>
#include <win.h>
#include <te.h>
#include <control.h>
#include <desk.h>
#include <device.h>
#include <dialog.h>
#include <ctype.h>
#include <errno.h>
#include <event.h>
#include <file.h>
#include <font.h>
#include <res.h>
#include <menu.h>
#include <os.h>
#include <pack.h>
#include <qdvars.h>
#include <seg.h>
#include <stdio.h>
#include <string.h>

#define ENOUGH 3500
#define MENUID -633

 
ACC(0x6400, /* NeedLock,control-enabled,NeedTime */
    20, /* ticks needed */
    0xFFFB, /* all events except mouseup*/
    -633, /* menu id  */
    9, "\0MacTutor") /* Length and text of title - must be odd*/

intwhichstr;/*our only global*/

accopen(dctl, pb)
dctlentry *dctl;
paramblockrec  *pb;
{
 MenuHandle menu;
 long   freemem,grow;
 WindowPeek wp;
 Rect   wr;
 MenuHandle testmenu;
 Handle rhandle;
 ResTyperestype;
 char   resname[64];
 int    id;
 
 if(testmenu = GetMHandle(MENUID))   /*is it open already?*/
 {
 SysBeep(2); 
 return(1);
 }
 else
 { /*no, is there memory?*/
 freemem = MaxMem(&grow);
 if(freemem<ENOUGH)
 {
 SysBeep(2);
 return(1); /*no, return*/
 }
 }
 
 menu = NewMenu(MENUID,"MacTutor"); /*install the menu*/
 AppendMenu(menu,"(-");
 AppendMenu(menu,"About MacTutor");
 InsertMenu(menu,0);
 DrawMenuBar();
 whichstr = 0;   /*initialize counter*/
 
 if (dctl->dCtlWindow == NULL)/*make a new window */
 { 
 SetRect(&wr, 20, 40, 274, 240);
 wp = NewWindow(NULL, &wr, "MacTutor", 0, 22, -1L, -1, 0L);
 SetPort(wp);    
 TextMode(srcCopy);
 TextFont(systemFont);
 wp->windowKind = dctl->dCtlRefNum;  /* windowkind to refnum*/
 dctl->dCtlWindow = wp;
 }
 return 0;
}

accclose(dctl, pb)
dctlentry *dctl;
paramblockrec *pb;
{
WindowPtr tmpwp;
 tmpwp = (WindowPtr)dctl->dCtlWindow;
 dctl->dCtlWindow = NULL; /*clear the window field*/
 if(tmpwp) DisposeWindow(tmpwp);   /*get rid of the window*/
 DeleteMenu(MENUID); /*and the menu*/
 DrawMenuBar();
 return 0;
}
accctl(dctl, pb) 
dctlentry *dctl;
paramblockrec *pb;
{
 register int    item;
 int    itemhit;
 Handle rhandle;
 int    id;
 ResTyperestype;
 char   resname[64];
 DialogPtrmydialog;
 GrafPtrtemport;
 switch(pb->paramunion.CntrlParam.CSCode)    /*get control code*/
 {
 case accEvent:  /*events handled here*/
 break;
 case accRun:    /*called periodically by system*/
 display(dctl);  /*according to tick count*/
 break; 
 case accMenu:
 switch(item = ((int *)&pb->paramunion.CntrlParam.csParam)[1])
 {
 case 2:
 GetPort(&temport);
 rhandle = GetNamedResource("DLOG","MTUTINFO");
 GetResInfo(rhandle,&id,&restype,&resname);  
 mydialog = GetNewDialog(id,NULL,(long)-1);
 SetPort(mydialog);
 itemhit = 0;
 while(itemhit != 1)ModalDialog((long)0,&itemhit); 
 SetPort(temport);
 DisposDialog(mydialog);
 whichstr = 0;
 HiliteMenu(0);
 break;
 
 } /*end of menu switch*/
 default:
 break;
 } /*end of control switch*/
return 0;
}  /*end of control*/
 
accprime()/*these are null but must be defined*/
{
}
accstatus()
{
}
display(dctl)    /*routine to do the display*/
dctlentry *dctl;
{
Rect    wr,drect;
inti;
RgnHandle rgn;
WindowPeekwp;
wp = (WindowPeek)dctl->dCtlWindow;
SetPort(wp);/*set port to our window*/
wr = wp->port.portRect;   /*and get the port rect*/
whichstr += 1;   /*increment string counter*/
if(whichstr == 47) whichstr = 1; /*enforce limit*/
switch(whichstr)
{
case 1:
 EraseRect(&wr); /*begin by erasing window*/
 MoveTo(95,16);
 TextFace(bold);
 DrawString("MacTutor");  /*put title in boldface*/
 TextFace(0);    /*restore normal face*/
 break;
case 4:
 MoveTo(4,32);DrawString("The Macintosh Programming Journal");
 break;
case 7:
 MoveTo(12,48);DrawString("§-§-§-§-§-§-§-§-§-§-§-§-§");
 break;
case 10:
 MoveTo(4,68);DrawString("• Programming information!");
 break; 
case 13:
 MoveTo(4,84);DrawString("• Pascal, C, Assembly, Neon, Basic!");
 break;
case 16:
 MoveTo(4,100);DrawString("• Lisp, Modula 2, Forth, and more!");
 break;
case 19:
 MoveTo(4,116);DrawString("• Technical Information!");
 break;
case 22:
 MoveTo(4,132);DrawString("• The no fluff Macintosh magazine");
 break;
case 25:MoveTo(4,148);DrawString("• $30/yr US-$45 Canada-$60 foreign");
 break;
case 28:MoveTo(4,164);DrawString("===================================");
 break;
case 31:
 MoveTo(20,180);
 TextFace(italic);
 DrawString("PO Box 846, Placentia, CA 92670");
 TextFace(0);
 break;
case 37:
 rgn = NewRgn(); /*we need a new region to scroll*/
 for(i = 0;i<95;i++)
 ScrollRect(&wr,0,-2,rgn);  /*scroll 2 pixels at a time*/
 DisposeRgn(rgn);  /* done with region*/
 break;
default:
 break; 
 } /*end of switch*/ 
}

From Volume 2 Number 5:

Desk Accessories Comments

Jan Eugenides

Since writing my article on desk accessories in the March 1986 issue of MacTutor, I've learned a couple of things that should be passed on to your readers.

I stated in the article that by convention, the name of a DA should start with a NUL character (Ascii code zero). This is what Inside Macintosh says on page I-444 of the desk manager manual. However with the new Mac+ system, which displays DA menu items in alphabetical order, I discovered that all my DA's were showing up at the top of the menu. A little poking around revealed that all of Apple's own DA's such as the Control Panel, etc., do not start with a NUL at all. Instead they end with one! Inside Macintosh is wrong on this point.

I failed to make it sufficiently clear what the memory test at the beginning of my DA is for. From the article, it appears as though I am testing to make sure there is enough memory to open the DA. By the time the test is performed, the DA is already resident in memory, so such a test would be superfluous. The idea is to determine if there is enough memory available to open further windows, etc. After some experimentation, I have decided that the memory test at the beginning is uneccessary. It makes more sense to check available memory when you need it, for example before opening a file, or displaying a new window.

More on Jan's DA

Kenneth Bates

I enjoyed the article on desk accessories by Jan Eugenides (March 1986) very much, and have one additional point of information to add which may help others.

Jan mentions (quite properly) that the ID number of a desk accessory may be changed by the Font/DA mover during installation. In addition, he points out that all 'owned' resources of the desk accessory will also be changed. His solution is to access the resources by name (GetNamedResource()).

Although this is certainly possible, there is an easy way to find out exactly what the ID number of the desk accessory is at run time. The device control entry (passed to the DA on entry) has a field named 'dCtlRefNum'. By negating and decrementing this field, the ID of the DA is obtained. As an example:

accopen(dctl, pb)   /* DA Open routine */

dCtlEntry *dctl;
ParamBlockRec  *pb;
 {
 int  id; /* This will be our new ID */

 id=dctl->dCtlRefNum;
 id=-id-1;

Following the execution of this code, variable 'id' will contain the renumbered ID of the desk accessory. From there, it is a small matter to obtain the needed resource. As another example, to get a dialgo which originally had a sub-resource of 2:

mydialog = GetNewDialog(id * 32 -16384 +2, NULL, -1L);

Owned Resoruces with Megamax C

Ronald Parsons

In the March 1986 MacTutor, Jan Eugenides showed a method to handle owned resources in a desk accessory. I have used a variation of that method which is somewhat more general (no resources need be named using ResEdit) and multiple types of resources are supported.

To make creation of DA's easier with Megamax C, I make a copy of the linker, mmlink, re-name it mmlinkDA and use ResEdit to make the default Res Type be DRVR and the default ID be 0031.

Using RMaker, I add a small resource to my DA with an unusual name (I use 'mine' in lower case). I calculate the ID's of all owned resources in the RMaker source asuming an ID of the DA of 31. (See the example code in listing 1 below.)

In the accopen() routine of the desk accessory, I incude the code shown in listing 2. I first make sure there is one and only one resource named 'mine' in the system. For this example, I beep and exit if there is more or less than one. I then get a handle to that resource using getindresource("mine",1). With that handle and the call getresinfo (hndl, &id, &resourtype, &genstr), I get the current ID of the resource "mine" as it has been changed by the Font/DA mover. The ID of the DA DRVR resource can then be calculated by id=(id+16384)/32. This ID can be used in calls using owned resources such as stopalert(-16384+32*id +1, NULL). The resource ID's are thus correctly calculated. With this method I can use many types of resources without having to name each one.

Listing 1
* Tell RMaker what to name the resource file
!DA
DFILDMOV

type mine = GNRL
 ,-15392;; =-16384 + 32*31 + 0; resource ID 0 for DRVR #31
.I
0

Type Alert
 ,-15391(36);; resource ID (SmGenID)  -16384 + 32*31 +1 
260 80 335 430 ;; top left bottom right
-15391  ;;resource ID of item list
4444    ;; stages word in hex
Listing 2
osstr255 genstr; /* General use string */
handle hndl;/* Handle to allocated array */
restype resourtype;/* resource type */
int id, count; /* DA's resource ID, count having type "mine" */

 count = countresources("mine")  /* find DAs res ID */
 if (count !=1 ) {sysbeep(30); return 1;}
 hndl = getindresource("mine",1);
 getresinfo (hndl, &id, &resourtype, &genstr);
 id=(id+16384)/32;

 stopalert(-16384 + 32*id +1, NULL); /* post alert*/
 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

If you can find it and fit through the d...
The holy trinity of amazing company names have come together, to release their equally amazing and adorable mobile game, Hamster Inn. Published by HyperBeard Games, and co-developed by Mum Not Proud and Little Sasquatch Studios, it's time to... | Read more »
Amikin Survival opens for pre-orders on...
Join me on the wonderful trip down the inspiration rabbit hole; much as Palworld seemingly “borrowed” many aspects from the hit Pokemon franchise, it is time for the heavily armed animal survival to also spawn some illegitimate children as Helio... | Read more »
PUBG Mobile teams up with global phenome...
Since launching in 2019, SpyxFamily has exploded to damn near catastrophic popularity, so it was only a matter of time before a mobile game snapped up a collaboration. Enter PUBG Mobile. Until May 12th, players will be able to collect a host of... | Read more »
Embark into the frozen tundra of certain...
Chucklefish, developers of hit action-adventure sandbox game Starbound and owner of one of the cutest logos in gaming, has released their roguelike deck-builder Wildfrost. Created alongside developers Gaziter and Deadpan Games, Wildfrost will... | Read more »
MoreFun Studios has announced Season 4,...
Tension has escalated in the ever-volatile world of Arena Breakout, as your old pal Randall Fisher and bosses Fred and Perrero continue to lob insults and explosives at each other, bringing us to a new phase of warfare. Season 4, Into The Fog of... | Read more »
Top Mobile Game Discounts
Every day, we pick out a curated list of the best mobile discounts on the App Store and post them here. This list won't be comprehensive, but it every game on it is recommended. Feel free to check out the coverage we did on them in the links below... | Read more »
Marvel Future Fight celebrates nine year...
Announced alongside an advertising image I can only assume was aimed squarely at myself with the prominent Deadpool and Odin featured on it, Netmarble has revealed their celebrations for the 9th anniversary of Marvel Future Fight. The Countdown... | Read more »
HoYoFair 2024 prepares to showcase over...
To say Genshin Impact took the world by storm when it was released would be an understatement. However, I think the most surprising part of the launch was just how much further it went than gaming. There have been concerts, art shows, massive... | Read more »
Explore some of BBCs' most iconic s...
Despite your personal opinion on the BBC at a managerial level, it is undeniable that it has overseen some fantastic British shows in the past, and now thanks to a partnership with Roblox, players will be able to interact with some of these... | Read more »
Play Together teams up with Sanrio to br...
I was quite surprised to learn that the massive social network game Play Together had never collaborated with the globally popular Sanrio IP, it seems like the perfect team. Well, this glaring omission has now been rectified, as that instantly... | Read more »

Price Scanner via MacPrices.net

B&H has 13-inch M2 MacBook Airs with 16GB...
B&H Photo has 13″ MacBook Airs with M2 CPUs, 16GB of memory, and 256GB of storage in stock and on sale for $1099, $100 off Apple’s MSRP for this configuration. Free 1-2 day delivery is available... Read more
14-inch M3 MacBook Pro with 16GB of RAM avail...
Apple has the 14″ M3 MacBook Pro with 16GB of RAM and 1TB of storage, Certified Refurbished, available for $300 off MSRP. Each MacBook Pro features a new outer case, shipping is free, and an Apple 1-... Read more
Apple M2 Mac minis on sale for up to $150 off...
Amazon has Apple’s M2-powered Mac minis in stock and on sale for $100-$150 off MSRP, each including free delivery: – Mac mini M2/256GB SSD: $499, save $100 – Mac mini M2/512GB SSD: $699, save $100 –... Read more
Amazon is offering a $200 discount on 14-inch...
Amazon has 14-inch M3 MacBook Pros in stock and on sale for $200 off MSRP. Shipping is free. Note that Amazon’s stock tends to come and go: – 14″ M3 MacBook Pro (8GB RAM/512GB SSD): $1399.99, $200... Read more
Sunday Sale: 13-inch M3 MacBook Air for $999,...
Several Apple retailers have the new 13″ MacBook Air with an M3 CPU in stock and on sale today for only $999 in Midnight. These are the lowest prices currently available for new 13″ M3 MacBook Airs... Read more
Multiple Apple retailers are offering 13-inch...
Several Apple retailers have 13″ MacBook Airs with M2 CPUs in stock and on sale this weekend starting at only $849 in Space Gray, Silver, Starlight, and Midnight colors. These are the lowest prices... Read more
Roundup of Verizon’s April Apple iPhone Promo...
Verizon is offering a number of iPhone deals for the month of April. Switch, and open a new of service, and you can qualify for a free iPhone 15 or heavy monthly discounts on other models: – 128GB... Read more
B&H has 16-inch MacBook Pros on sale for...
Apple 16″ MacBook Pros with M3 Pro and M3 Max CPUs are in stock and on sale today for $200-$300 off MSRP at B&H Photo. Their prices are among the lowest currently available for these models. B... Read more
Updated Mac Desktop Price Trackers
Our Apple award-winning Mac desktop price trackers are the best place to look for the lowest prices and latest sales on all the latest computers. Scan our price trackers for the latest information on... Read more
9th-generation iPads on sale for $80 off MSRP...
Best Buy has Apple’s 9th generation 10.2″ WiFi iPads on sale for $80 off MSRP on their online store for a limited time. Prices start at only $249. Sale prices for online orders only, in-store prices... Read more

Jobs Board

Medical Assistant - Orthopedics *Apple* Hil...
Medical Assistant - Orthopedics Apple Hill York Location: WellSpan Medical Group, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Now Read more
*Apple* Systems Administrator - JAMF - Activ...
…**Public Trust/Other Required:** None **Job Family:** Systems Administration **Skills:** Apple Platforms,Computer Servers,Jamf Pro **Experience:** 3 + years of Read more
Liquor Stock Clerk - S. *Apple* St. - Idaho...
Liquor Stock Clerk - S. Apple St. Boise Posting Begin Date: 2023/10/10 Posting End Date: 2024/10/14 Category: Retail Sub Category: Customer Service Work Type: Part Read more
Top Secret *Apple* System Admin - Insight G...
Job Description Day to Day: * Configure and maintain the client's Apple Device Management (ADM) solution. The current solution is JAMF supporting 250-500 end points, Read more
Sonographer - *Apple* Hill Imaging Center -...
Sonographer - Apple Hill Imaging Center - Evenings Location: York Hospital, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Now Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.