tell window "MainWindow"
set the contents of text field "SourceFolderView" of tab view item "BuildAlbumTab" of tab view "TabThing" of window "MainWindow" to ("hi" as string) -- (LastImageFolder of prefs as string)
end tell
ok, i figured out the second error, i set it to window “mainwindow” of window “mainwindow”, which doesn’t exist. when deletdint the second window “mainwindow” i get the first error again. any ideas?
set the contents of text field "SourceFolderView" of window "mainWindow" to "hi"
or
tell window "MainWindow"
set the contents of text field "SourceFolderView" of view of tab view item "BuildAlbumTab" of tab view "TabThing" to "hi" -- (LastImageFolder of prefs as string)
end tell
tell window tab view item "BuildAlbumTab" of tab view "TabThing" of window "MainWindow"
set contents of text field "SourceFolderView" to "hi" --of tab view item "BuildAlbumTab" of tab view "TabThing" to "hi" -- (LastImageFolder of prefs as string)
end tell
STUPID ME!!!
i did “tell window tab view”
did this:
tell tab view item "BuildAlbumTab" of tab view "TabThing" of window "MainWindow"
set contents of text field "SourceFolderView" to "hi" --of tab view item "BuildAlbumTab" of tab view "TabThing" to "hi" -- (LastImageFolder of prefs as string)
end tell
another question, (sorry about spamming this forum, there aren’t any books on applescript studio)
how do i set the contents of a popup button to a list of items? like lets say the list is {“1”,“2”,“3”} how do i get the popup buttons options to be 1, 2 and 3?