diff --git a/InkCanvasForClass/MainWindow.xaml b/InkCanvasForClass/MainWindow.xaml
index eb85e4d..e0c774d 100644
--- a/InkCanvasForClass/MainWindow.xaml
+++ b/InkCanvasForClass/MainWindow.xaml
@@ -8699,6 +8699,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/InkCanvasForClass/MainWindow_cs/MW_Settings.cs b/InkCanvasForClass/MainWindow_cs/MW_Settings.cs
index 1c3f620..1e9f7d7 100644
--- a/InkCanvasForClass/MainWindow_cs/MW_Settings.cs
+++ b/InkCanvasForClass/MainWindow_cs/MW_Settings.cs
@@ -1967,6 +1967,8 @@ namespace Ink_Canvas {
SettingsPPTGroupBox,
SettingsAdvancedGroupBox,
SettingsAutomationGroupBox,
+ SettingsStorageGroupBox,
+ SettingsSnapshotGroupBox,
SettingsRandWindowGroupBox,
SettingsAboutGroupBox
};
@@ -1980,6 +1982,8 @@ namespace Ink_Canvas {
SettingsPPTJumpToGroupBoxButton,
SettingsAdvancedJumpToGroupBoxButton,
SettingsAutomationJumpToGroupBoxButton,
+ SettingsStorageJumpToGroupBoxButton,
+ SettingsSnapshotJumpToGroupBoxButton,
SettingsRandWindowJumpToGroupBoxButton,
SettingsAboutJumpToGroupBoxButton
};
diff --git a/InkCanvasForClass/MainWindow_cs/MW_Storage.cs b/InkCanvasForClass/MainWindow_cs/MW_Storage.cs
index 52e4d3a..2b83520 100644
--- a/InkCanvasForClass/MainWindow_cs/MW_Storage.cs
+++ b/InkCanvasForClass/MainWindow_cs/MW_Storage.cs
@@ -270,10 +270,21 @@ namespace Ink_Canvas {
}
- private DirectoryInfo GetDirectoryBySettings() {
- var si = Settings.Storage.StorageLocation;
- throw new NotImplementedException();
- return new DirectoryInfo("");
+ private DirectoryInfo GetDirectory(string type) {
+ if (Settings.Storage.StorageLocation.Substring(0, 1) != "c") {
+ var autoSavedInkPath = new DirectoryInfo(storageLocationItems[ComboBoxStoragePath.SelectedIndex].Path+"\\AutoSavedInk");
+ var autoSavedSnapshotPath = new DirectoryInfo(storageLocationItems[ComboBoxStoragePath.SelectedIndex].Path+"\\AutoSavedSnapshot");
+ var exportedInkPath = new DirectoryInfo(storageLocationItems[ComboBoxStoragePath.SelectedIndex].Path+"\\ExportedInk");
+ var quotedPhotosPath = new DirectoryInfo(storageLocationItems[ComboBoxStoragePath.SelectedIndex].Path+"\\QuotedPhotos");
+ var cachesPath = new DirectoryInfo(storageLocationItems[ComboBoxStoragePath.SelectedIndex].Path+"\\caches");
+ if (type == "autosaveink") return autoSavedInkPath;
+ else if (type == "autosavesnapshot") return autoSavedSnapshotPath;
+ else if (type == "exportedink") return exportedInkPath;
+ else if (type == "quotedphotos") return quotedPhotosPath;
+ else if (type == "caches") return cachesPath;
+ }
+
+ return null;
}
private DirectoryInfo GetDirectoryInfoByIndex(int index) {