On 2007-10-21, Zsolt Udvari <[EMAIL PROTECTED]> wrote:
> In this there are a few patch and there is a function "bool
> switch_workspace_name(const char *str)". The mail and the patch is
> very-very old (from year 2001).

That's for Ion1, and the patch doesn't implement that, as you
can see by reading from the description. Ion has always (as far
as I can recall) had named workspace switch bound to F9. Just
type of the name of an existing workspace (with tab-completion
in the middle of the name too), and hit enter. If you type
the name of a non-existent workspace, then you will be asked
to create it, otherwise Ion will switch to the workspace.

If you want to do the same in a script, use ioncore.lookup_region
(possibly filtering by "WGroupWS") followed by WRegion.goto on 
the result (res:goto()).

-- 
Tuomo

Reply via email to