Tim,
    I haven't tested this yet, but it seems the best solution.  And simple!!
    Thanks a ton.  Sometimes the simple ones can't be seen for the trees

rm

"Tim.Nuteson" wrote:

> Hi Rich.
>
> I tried a quick test and it seems to work.  Just put the workspace name in
> the hotlink field (no quotes needed), and not the path to the MI executable.
> That will just open up the workspace.  Let's call this NewWorkspace.wor.
>
> To first close all, then open up NewWorkspace.wor, you need to open
> NewWorkspace.wor in a text editor and place the line "Close All" at the top
> of the list of commands, right before all the "Open Table " statements.  The
> first few lines of NewWorkspace.wor should look like this:
>
> !Workspace
> !Version 600
> !Charset WindowsLatin1
> Close All
> Open Table "c:\mypath\mytab.tab" As Mytab Interactive
>
> This will involve setting up all the hotlinked workspaces with a 'close all'
> statement, but short of using MapBasic, this is the best you can do.  Note
> that if you save over one of the NewWorkspaces, the 'close all' will go
> away.
>
> Regards,
>
> Tim Nuteson
> Target Corporation
>
> -----Original Message-----
> From: Rich Morris [mailto:rich_morris@;eli.net]
> Sent: Thursday, November 07, 2002 6:57 PM
> To: MI-L
> Subject: MI-L Hotlink tool for MapInfo
>
> Listers,
>     I am attempting to develop workspaces that would do a drill down
> into different regions that my company works in (Country, State,
> County/City, Street level as-built images...).
>     I want to develop this so that, a MIPro Viewer user, can open up the
> top level workspace (Country) and drill down to the area they want to
> see.
>     The issue I am having is that the View users have lame machines.  So
> I would like, after the hotlink has been selected by the user, that
> workspace would close and the hotlink selected workspace would open up.
> I would like to do this consecutively until the last, lower level
> workspace (so they might be able to pan around, zoom in zoom out, and do
> what they might do.
>     However, I don't think the hotlink tool in MI will accomplish this.
> My initial tests have been to put in the "C:\Program
> Files\MapInfo\Professional\Mapinfow.exe" followed by a "space" and then
> the network address for the workspace in question.
>     It returns with an error saying that the entire string is not found.
>
>     Question:  Can it do two commands with the hotlink tool?  Do I need
> to put it in with a different delimiter (other than a space)?  Should
> the two items (.exe and path) be in quotes, like seperate strings?
>
> As you can tell, I am not a developer.  I would appreciate any help you
> can give me.
> thanks for your time!!
> rm

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3995

Reply via email to