Skip to content

Commit

Permalink
preflight panel opening fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Randall Bruder committed May 27, 2023
1 parent aa7fbb3 commit bf086bd
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.1.2] - 2023-05-26

### Fixed

- With a recent update to InDesign, the Preflight panel is now named `Preflight` rather than `Preflight Panel`. With this version, the scripts now properly open the panel when needed.

## [1.1.1] - 2023-05-16

### Added
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Collect Font Files.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Collect Font Files.jsx
// An InDesign Script for Whatnot Publishing, developed by Randall Bruder
/*
* @@@BUILDINFO@@@ "Collect Font Files.jsx" 1.1.1 16 May 2023
* @@@BUILDINFO@@@ "Collect Font Files.jsx" 1.1.2 26 May 2023
*/

main();
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Export Cover Variants - All.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Export Cover Variants - All.jsx
// An InDesign Script for Whatnot Publishing, developed by Randall Bruder
/*
* @@@BUILDINFO@@@ "Export Cover Variants - All.jsx" 1.1.1 16 May 2023
* @@@BUILDINFO@@@ "Export Cover Variants - All.jsx" 1.1.2 26 May 2023
*/

main();
Expand Down Expand Up @@ -72,7 +72,7 @@ function main() {
if (confirm("Error\r\nThis document has Preflight errors. Are you sure you want to continue the export?", true)) {
} else {
// Open the Preflight panel and exit the script
app.panels.item('Preflight Panel').visible = true;
app.panels.item('Preflight').visible = true;
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Export Cover Variants - Current Page.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Export Cover Variants - Current Page.jsx
// An InDesign Script for Whatnot Publishing, developed by Randall Bruder
/*
* @@@BUILDINFO@@@ "Export Cover Variants - Current Page.jsx" 1.1.1 16 May 2023
* @@@BUILDINFO@@@ "Export Cover Variants - Current Page.jsx" 1.1.2 26 May 2023
*/

main();
Expand Down Expand Up @@ -72,7 +72,7 @@ function main() {
if (confirm("Error\r\nThis document has Preflight errors. Are you sure you want to continue the export?", true)) {
} else {
// Open the Preflight panel and exit the script
app.panels.item('Preflight Panel').visible = true;
app.panels.item('Preflight').visible = true;
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Export Inside Cover C2 C3.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Export Inside Cover C2 C3.jsx
// An InDesign Script for Whatnot Publishing, developed by Randall Bruder
/*
* @@@BUILDINFO@@@ "Export Inside Cover C2 C3.jsx" 1.1.1 16 May 2023
* @@@BUILDINFO@@@ "Export Inside Cover C2 C3.jsx" 1.1.2 26 May 2023
*/

main();
Expand Down Expand Up @@ -72,7 +72,7 @@ function main() {
if (confirm("Error\r\nThis document has Preflight errors. Are you sure you want to continue the export?", true)) {
} else {
// Open the Preflight panel and exit the script
app.panels.item('Preflight Panel').visible = true;
app.panels.item('Preflight').visible = true;
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Export Interior Pages - RGB JPGs.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Export Interior Pages - RGB JPGs.jsx
// An InDesign Script for Whatnot Publishing, developed by Randall Bruder
/*
* @@@BUILDINFO@@@ "Export Interior Pages - RGB JPGs.jsx" 1.1.1 16 May 2023
* @@@BUILDINFO@@@ "Export Interior Pages - RGB JPGs.jsx" 1.1.2 26 May 2023
*/

main();
Expand Down Expand Up @@ -50,7 +50,7 @@ function main() {
if (confirm("Error\r\nThis document has Preflight errors. Are you sure you want to continue the export?", true)) {
} else {
// Open the Preflight panel and exit the script
app.panels.item('Preflight Panel').visible = true;
app.panels.item('Preflight').visible = true;
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Export Interior Pages.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Export Interior Pages.jsx
// An InDesign Script for Whatnot Publishing, developed by Randall Bruder
/*
* @@@BUILDINFO@@@ "Export Interior Pages.jsx" 1.1.1 16 May 2023
* @@@BUILDINFO@@@ "Export Interior Pages.jsx" 1.1.2 26 May 2023
*/

main();
Expand Down Expand Up @@ -72,7 +72,7 @@ function main() {
if (confirm("Error\r\nThis document has Preflight errors. Are you sure you want to continue the export?", true)) {
} else {
// Open the Preflight panel and exit the script
app.panels.item('Preflight Panel').visible = true;
app.panels.item('Preflight').visible = true;
return;
}
}
Expand Down

0 comments on commit bf086bd

Please sign in to comment.