Setting up a mapinfo workspace to open on start

487 views
Skip to first unread message

RhodriC

unread,
Jul 17, 2014, 10:30:29 AM7/17/14
to mapi...@googlegroups.com
Afternoon,

I've been asked to set someone's machine up so that a specific workspace opens up by default when they start Mapinfo.. I have no idea how to do this as we normally just set people up to have a blank screen and they can go from there as most of our users use more than one workspace.

Can someone please tell me how I can do this? (or even if it as at least possible to do so)

Thanks in advance

Rhodri

Thomas Bacon

unread,
Jul 17, 2014, 10:43:33 AM7/17/14
to mapi...@googlegroups.com

Rhodri,

 

A simple MBX set to autoload in the tool manager should do the trick.

 

e.g.

 

Include "MapBasic.def"

Declare Sub Main

 

Sub Main

       Run Application "c:\some\workspace\path.wor"

End Sub

 

Tom Bacon

GIS Engineer, Mouchel

T 01444 472380 │ E thomas...@mouchel.com W www.mouchel.com

Our values: innovation │ excellence │ integrity │ responsibility

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



 

Mouchel Limited (Mouchel) is registered in England and Wales with registered number 01686040 at Export House, Cawsey Way, Woking, Surrey, UK, GU21 6QX.  The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Mouchel. No contracts may be concluded on behalf of Mouchel by means of email communications. Mouchel reserves the right to monitor and intercept emails sent and received on our network. 

Mats Elfström

unread,
Jul 17, 2014, 11:21:01 AM7/17/14
to mapi...@googlegroups.com
Just provide a shortcut to the wor file. In a proper installation, this will do what you want. And no need to fiddle with the ordinary set-up. 

Hälsning / Regards
Mats.E

Skickat från min / Sent from my iPhone, Ursäkta att jag är kortfattad / Excuse my brevity. 
--

Tim Rideout

unread,
Jul 17, 2014, 11:48:39 AM7/17/14
to mapi...@googlegroups.com

Hi,

 

I think you can do this even more simply.

 

MapInfo has a special (normally empty) workspace called startup.wor which you will find in the MapInfo programme folder (normally something like c:/programs/mapinfo).

 

This is always read when you start mapinfo. So if you overwrite it with one of your own (i.e. still in the same place and still called startup.wor) then it should always run whenever MapInfo is started.

 

I always mention this in our training courses, but yours is maybe the first time I have ever seen somebody wanting to use it!

 

Tim

 

Dr Tim Rideout

Director

 

Why not make sure you get our latest offers and announcements? Subscribe

 postcode-atlas-iconPostcode Atlas for iPad now on sale! See www.postcode-atlas.co.uk for full details.

NewXYZMapsSignatureXYZ Maps

32/9 Hardengreen Industrial Estate
Dalhousie Road
,
Dalkeith,
EH22 3NX

Tele: +44 (0) 131 454 0426
Mobile: +44 (0) 7766 825937
Fax: +44 131 454 0443
Email:
tim.r...@xyzmaps.com
Web: www.xyzmaps.com

From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of RhodriC
Sent: 17 July 2014 15:30
To: mapi...@googlegroups.com
Subject: [MI-L] Setting up a mapinfo workspace to open on start

 

Afternoon,

--

Peter Horsbøll Møller

unread,
Jul 17, 2014, 11:54:25 AM7/17/14
to mapi...@googlegroups.com
Maybe you can even refer directly to a workspace in the Tool Manager

Peter Horsbøll Møller

Fra: Thomas Bacon
Sendt: ‎17-‎07-‎2014 16:43
Til: mapi...@googlegroups.com
Emne: RE: [MI-L] Setting up a mapinfo workspace to open on start

Rhodri,

 

A simple MBX set to autoload in the tool manager should do the trick.

 

e.g.

 

Include "MapBasic.def"

Declare Sub Main

 

Sub Main

       Run Application "c:\some\workspace\path.wor"

End Sub

 

Tom Bacon

GIS Engineer, Mouchel

T 01444 472380 │ E thomas...@mouchel.com W www.mouchel.com

Our values: innovation │ excellence │ integrity │ responsibility

 

From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of RhodriC


Sent: 17 July 2014 15:30
To: mapi...@googlegroups.com
Subject: [MI-L] Setting up a mapinfo workspace to open on start

 

Afternoon,

 

I've been asked to set someone's machine up so that a specific workspace opens up by default when they start Mapinfo.. I have no idea how to do this as we normally just set people up to have a blank screen and they can go from there as most of our users use more than one workspace.

 

Can someone please tell me how I can do this? (or even if it as at least possible to do so)

 

Thanks in advance

 

Rhodri

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


 

Mouchel Limited (Mouchel) is registered in England and Wales with registered number 01686040 at Export House, Cawsey Way, Woking, Surrey, UK, GU21 6QX.  The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Mouchel. No contracts may be concluded on behalf of Mouchel by means of email communications. Mouchel reserves the right to monitor and intercept emails sent and received on our network. 

--

Nicholas G Lawrence

unread,
Jul 17, 2014, 7:42:03 PM7/17/14
to mapi...@googlegroups.com

Isn’t this exactly what Startup.WOR is for?

 

MapInfo will run startup.wor when the user starts MapInfo.

 

I quote from the help file for MapInfo

 

Creating a Startup Workspace

STARTUP.WOR is the name you give to a workspace from which MapInfo Professional is run. You can create it so that MapInfo Professional automatically opens various tables and windows on startup. When you use STARTUP.WOR, MapInfo Professional performs the startup actions regardless of what you did in your previous MapInfo Professional session or how you have set preferences for MAPINFO.WOR.

To create a workspace:

1.      Open the tables and windows you want in your workspace. Size and position them as you please.

2.      Choose File > Save Workspace.

3.      Name your workspace "Startup" and save the workspace into your "home" directory. By "home" directory we mean your private Windows directory.

When you run MapInfo Professional, the following occurs in the order shown:

1.      If there is a STARTUP.WOR in the MapInfo Professional program directory, it is run.

2.      Then, if there is a STARTUP.WOR in your home directory it is run. (When there is a STARTUP.WOR in both the MapInfo Professional program directory and your home directory, both will= run.)

3.      Then, if any file names are given on the command line-or if you double-click a document, MapInfo Professional loads those files. MapInfo Professional support adding workspaces (.WOR), running applications (.APP), and opening databases (.TAB) on the command line.

4.      Only if MapInfo Professional did not add a workspace or run a program from the command line does it then check the AutoLoad preference and load MAPINFOW.WOR from the user's home directory. When the preference is set, and the file is found, it is loaded. Note that if we had a workspace or application on the command line, we skip the AutoLoad.

5.      Finally, if MapInfo Professional didn't load a workspace or run an application from the command line, and it didn't AutoLoad MAPINFOW.WOR, then MapInfo Professional shows the Tool palette.

 

 

 

Cheers,

Nick

 Image removed by sender.

Mouchel Limited (Mouchel) is registered in England and Wales with registered number 01686040 at Export House, Cawsey Way, Woking, Surrey, UK, GU21 6QX.  The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Mouchel. No contracts may be concluded on behalf of Mouchel by means of email communications. Mouchel reserves the right to monitor and intercept emails sent and received on our network. 

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

***********************************************************************
WARNING: This email (including any attachments) may contain legally
privileged, confidential or private information and may be protected by
copyright. You may only use it if you are the person(s) it was
intended to be sent to and if you use it in an authorised way. No one
is allowed to use, review, alter, transmit, disclose, distribute, print
or copy this email without appropriate authority.

If this email was not intended for you and was sent to you by mistake,
please telephone or email me immediately, destroy any hardcopies of
this email and delete it and any copies of it from your computer
system. Any right which the sender may have under copyright law, and
any legal privilege and confidentiality attached to this email is not
waived or destroyed by that mistake.

It is your responsibility to ensure that this email does not contain
and is not affected by computer viruses, defects or interference by
third parties or replication problems (including incompatibility with
your computer system).

Opinions contained in this email do not necessarily reflect the
opinions of the Department of Transport and Main Roads,
or endorsed organisations utilising the same infrastructure.
***********************************************************************

 

Nicholas G Lawrence

unread,
Jul 17, 2014, 7:43:39 PM7/17/14
to mapi...@googlegroups.com

 

 

I always mention this in our training courses, but yours is maybe the first time I have ever seen somebody wanting to use it!

 

In my workplace, we use startup.wor to load toolbars with custom tools we have built for our users.

 

.

Grant Roberts

unread,
Jul 17, 2014, 7:46:48 PM7/17/14
to mapi...@googlegroups.com

Mapinfo will ask you if you want to  open  the last workspace when it starts...  And will also offer to open the last saved one

--
Reply all
Reply to author
Forward
0 new messages