Macintosh-Specific Macro Commands and Parameters
  
PSS ID Number: Q128162
Article last modified on 07-21-1995
 
4.00
 
MACINTOSH
 

--------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Project for the Macintosh, version 4.0
--------------------------------------------------------------------
 
SUMMARY
=======
 
In Microsoft Project 4.0 for Windows, there are several Windows-specific
macro commands as well as macro commands with Windows-specific parameters.
Microsoft Project 4.0 for the Macintosh supports some Macintosh-specific
macro commands that are not supported in the Windows version; in addition,
you use some of macro commands differently depending on whether you use
them on the Macintosh or in Windows.
 
The tables below describe the Windows-specific commands that are not
supported on the Macintosh, the commands that are implemented differently
on the Macintosh, and the commands that are added specifically for the
Macintosh version.
 
Windows-Related Macro Commands
------------------------------
 
The following commands have either a different function or different
parameters in Microsoft Project 4.0 for Macintosh:
 
      Item            Property                   Notes
                      or Method
---------------------------------------------------------------------------
 
AppExecute*              M     The .Window, .Minimize and .Activate
                               parameters are not supported. The .Command
                               parameter must include either an application
                               filename or the application's 4-letter type
                               (for example, Microsoft Project is 'MSPJ',
                               Microsoft Excel is 'XCEL'). This is the same
                               as Microsoft Project 3.0 for the Macintosh.
 
AppMaximize              M     This method is not supported.
 
AppMinimize              M     This method is not supported.
 
AppMove                  M     This method is not supported.
 
AppRestore               M     This method is not supported.
 
AppSize                  M     This method is not supported.
 
Caption*                 P     This property is not supported/read-only for
                               the Application object.
 
DocMaximize              M     This method toggles between maximized and
                               restored window states. Under MS Project 4.0
                               for Windows, it only maximizes the window.
 
DocMove                  M     The positions specified are measured from
                               the top-left corner of the usable area of
                               the main screen. The usable area is the area
                               left after taking out the menu bar and
                               toolbars.
 
DrawingCreate            M     The command supports an additional value:
                               pjSubscriber (9) for subscriptions into the
                               Gantt chart drawing layer.
 
FilePrint*               M     The .Draft parameter is not supported.
 
FilePrintSetup*          M     This method is not supported.
 
FileSaveAs*              M     The Lotus 1-2-3 formats (6-8) and dBASE
                               formats (9-10) are not supported as valid
                               values for the .Format parameter.
 
FindFile*                M     This method is not supported.
 
Height*                  P     This property is not supported/read-only for
                               the Application object.
 
HelpAbout                M     This method brings up the About dialog on
                               the Apple menu.
 
Left*                    P     This property is not supported/read-only
                               for the Application object.
 
MailRoutingSlip*         M     This method is not supported.
 
MailSystem*              M     The .MailSystem parameter supports an
                               additional value: pjMacMail (4)
                               Microsoft Mail for the Apple Macintosh.
 
MailSendProjectMail*     M     This method is not supported.
 
MailSendScheduleNote*    M     This method is not supported.
 
MailUpdateProject*       M     This method is not supported.
 
ObjectChangeIcon*        M     This method is not supported.
 
OperatingSystem          P     This will return "Macintosh " followed by
                               the operating system version number
                               (for example: Macintosh 7.12).
 
OptionsEdit              M     The method does not support the additional
                               List Separator control.
 
OptionsView              M     There is no parameter for the 'Show Command
                               Underlines' check box in the dialog box.
 
ReportPrint              M     The .Draft parameter is not supported.
 
SchedulePlusReminderSet* M     This method is not supported.
 
Top*                     P     The position of the window is measured from
                               the top of the main screen, not from the
                               bottom of the menu bar. This property is not
                               supported/read-only for the Application
                               object.
 
UsableHeight             M     The value returned is for the main screen.
 
UsableWidth              M     The value returned is for the main screen.
 
Visible*                 P     This property is not supported/read-only.
 
Width*                   P     This property is not supported/read-only for
                               the Application object.
 
WindowState              P     This property is not supported for the
                               Application object. pjMinimize is not
                               supported as a valid value for the
                               WindowState property and pjMaximize toggles
                               the window between maximized and restored
                               window states.
 
 * These commands will display an alert message under the appropriate
   circumstances. Other commands will be parsed but will not display an
   alert message on execution.
 
Macintosh-Related Macro Commands
--------------------------------
 
The following items are supported as methods of the Application
object in Project 4.0 for Macintosh:
 
Method                             Explanation
---------------------------------------------------------------------------
 
About                 Same as the HelpAbout method.
 
CreatePublisher       (Edition, Contains)
                      Edition       = the path name and filename for the
                                      new edition. Optional parameter;
                                      default=current path + default
                                      edition name.
                      Contains      = pjAll (0), pjPictureOnly (1).
                                      Optional parameter; default = pjAll.
 
FileQuit              Same as the FileExit method.
 
MailOpen              (Any)
                      Any      = True, False. Default = False.
 
PublisherOptions      (Name, IsTask, UniqueID, Field,OnSave, Action)
                      Name          = the name of the edition. Optional
                                      parameter. If omitted, the user must
                                      specify IsTask, UniqueID, and Field
                                      parameters.
                      IsTask        = True, False, Optional parameter;
                                      default = True.
                      UniqueID      = a list of the unique IDs of the tasks
                                      or resources to be published. The
                                      list is separated by the list
                                      separator character.
                      Field         = the field name or MPX field number
                                      that is published.
                      OnSave        = pjAutomaticUpdate (4), pjManualUpdate
                                      (5). Optional parameter.
                      Action        = pjCancel (1), pjSendPublisher (2).
                                      Optional parameter.
 
EditionStopAll        (Stop)
                      Stop          = True, False. Optional parameter;
                                      default = True.
 
SubscriberOptions     (Name, IsTask, UniqueID, Field, Automatically,
                      Action)
                      Name          = the name of the edition. Required.
                      IsTask        = True, False, Optional parameter;
                                      default = True.
                      UniqueID      = a list of the unique IDs of the tasks
                                      or resources to be published. The
                                      list is separated by the list
                                      separator character.
                      Field         = the field name or MPX field number
                                      that is published.
                      Automatically = pjAutomaticUpdate (4), pjManualUpdate
                                      (5). Optional parameter.
                      Action        = pjCancel (1), pjUpdateSubscriber (2).
                                      Optional parameter.
 
SubscribeTo           (Edition, Format)
                      Edition       = the pathn ame to an edition. Required
                                      parameter.
                      Format        = pjText (1), pjPicture (2). Optional
                                      parameter; default = pjText. This
                                      parameter is only used when
                                      subscribing into the Gantt chart.
 
KBCategory: kbprg
KBSubcategory: projmac
 
Additional reference words: 4.00
=============================================================================
Copyright Microsoft Corporation 1995.
