Create Tabs with a script

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
billou31
Member
Member
Posts: 62
Joined: 2004 Oct 27, 14:00

Create Tabs with a script

Post by billou31 »

hi
I have about 100 projects all with same directory structure, would like to have a script or automatic way to open the top directory and from there  have 5 standard tabs open for the project - any ideas

Thanks
User avatar
nikos
Site Admin
Site Admin
Posts: 15894
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

:shrug:
User avatar
snakebyte
Gold Member
Gold Member
Posts: 430
Joined: 2003 May 07, 07:14
Location: Seattle
Contact:

Post by snakebyte »

Following AutoIt3 script creates a new tab from a path in clipboard. Maybe you can modify it to suite your needs.

Code: Select all

#NoTrayIcon 
$xplorerLocation = "C:\Program Files\zabkat\xplorer2\xplorer2_UC.exe" 
$procName = "xplorer2_UC.exe"
$path= ClipGet()

Opt("WinTitleMatchMode", 4) 
WinActivate("classname=ATL:ExplorerFrame", "") 
Send("^{INSERT}")
ControlFocus("classname=ATL:ExplorerFrame", "", "Edit1")
ControlSetText ("classname=ATL:ExplorerFrame", "", "Edit1",$path)
Send("{enter}")
Exit 
Help! I'm an AI running around in someone's universe simulator.
Post Reply