Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
directory browser through scripting?

directory browser through scripting?

2005-03-28       - By Hans Payer

 Back
Reply:     1     2     3     4     5     6     7  

dim oFileBrowser
set oFileBrowser = XSIUIToolkit.FileBrowser

oFileBrowser.DialogTitle = "Select a file"   ' set the title of the
file browser
oFileBrowser.InitialDirectory = "c:\"     ' set the initial
directory
oFileBrowser.FileBaseName = "foo"       ' set the
default file name
oFileBrowser.Filter = "Text (*.txt)|*.txt|All Files (*.*)|*.*||"
' set the filters
oFileBrowser.ShowOpen           ' show an open
file dialog

logmessage VB_LF
' if the user selected a file
If oFileBrowser.FilePathName <> "" Then
' display info on the selected file
  logmessage "Details on the file that was selected:"
  logmessage "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  logmessage "File path name : " & oFileBrowser.FilePathName
  logmessage "File Name      : " & oFileBrowser.FileName
  logmessage "File base name : " & oFileBrowser.FileBaseName
  logmessage "File extension : " & oFileBrowser.FileExtension
  logmessage "Path           : " & oFileBrowser.FilePath
' the user did not select a file
Else
logmessage "User pressed cancel"
End If

-- --Original Message-- --
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf
Of Karen Chan
Sent: Monday, March 28, 2005 10:11 AM
To: XSI@(protected)
Subject: directory browser through scripting?

Hey all,
What I'm trying to do is create a script that when run, would prompt the

user for a directory path and then import all of the different sequences

of images from that directory into the FXTree.

Now, in the SDK, I'm only seeing XSIUIToolkit.FileBrowser - am I just
missing the correct command or is this a limitation within XSI?

Thanks in advance!
Karen
---
Unsubscribe? Mail Majordomo@(protected) with the following text in
body:
unsubscribe xsi


---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi