Copy link to clipboard
Copied
This is for indesign books.
Hyperlinking from the current document to the previous document does not occur from the current document to the next document.
The following document has a problem creating only the first hyperlink, all subsequent hyperlinks are created correctly.
Hello my friends help me for this
#target indesign
#targetengine "session"
// Initialize the debug console and log file
function initializeLog() {
var logFile = new File(Folder.desktop + "/InDesignScriptLog.txt");
if (logFile.exists) {
logFile.remove();
}
logFile.open("w");
logFile.writeln("Debug Log Started at " + new Date());
logFile.close();
return logFile;
}
// Log messages to the console and log file
function log(message) {
var logFile = new File(Folder.desktop + "/InDesignScriptLog.txt");
if (logFile.open("a")) {
logFile.writeln(new Date() + ": " + message);
logFile.close();
} else {
alert("Failed to open log file for writing.");
}
$.writeln(message); // Output to the JavaScript Console in InDesign
}
// Main function
function main() {
var logFile = initializeLog();
try {
log("Script started.");
var myBook = app.activeBook;
if (!myBook) {
log("No book file is open.");
alert("Please open a book file to proceed.");
return;
}
var startPage = parseInt(prompt("Start page number:", "1"));
var endPage = parseInt(prompt("End page number:", "182"));
var prevStartPage = parseInt(prompt("First page for Previous Week:", "13"));
var prevHyperlinkStartPage = parseInt(prompt("Starting page for Previous Week hyperlink:", "1"));
var prevLoopInterval = parseInt(prompt("Loop interval for Previous Week:", "14"));
var nextStartPage = parseInt(prompt("First page for Next Week:", "1"));
var nextHyperlinkStartPage = parseInt(prompt("Starting page for Next Week hyperlink:", "13"));
var firstNextLoopInterval = parseInt(prompt("First loop interval for Next Week:", "12"));
var secondNextLoopInterval = parseInt(prompt("Second loop interval for Next Week:", "14"));
log("Intervals received:");
log("prevLoopInterval: " + prevLoopInterval);
log("firstNextLoopInterval: " + firstNextLoopInterval);
log("secondNextLoopInterval: " + secondNextLoopInterval);
var rectangleData = [];
var totalPages = getTotalPages(myBook);
if (endPage > totalPages) {
log("End page exceeds total pages.");
alert("The specified end page exceeds the total number of pages in the book.");
return;
}
collectRectangleData(myBook, rectangleData, startPage, endPage, prevStartPage, prevLoopInterval, nextStartPage, firstNextLoopInterval, secondNextLoopInterval, prevHyperlinkStartPage, nextHyperlinkStartPage);
createRectanglesAndHyperlinks(rectangleData, myBook);
log("Rectangle creation and hyperlinking completed successfully!");
alert("Rectangle creation and hyperlinking completed successfully!");
} catch (e) {
log("Script error: " + e.message + "\nStack trace: " + e.stack);
alert("An error occurred: " + e.message);
}
}
function getTotalPages(myBook) {
var totalPages = 0;
for (var i = 0; i < myBook.bookContents.length; i++) {
try {
var doc = app.open(myBook.bookContents[i].fullName, false);
totalPages += doc.pages.length;
doc.close(SaveOptions.NO);
} catch (e) {
log("Error opening document: " + myBook.bookContents[i].name + "\nError: " + e.message);
}
}
return totalPages;
}
function findPageInBook(myBook, targetPage) {
var accumulatedPages = 0;
for (var i = 0; i < myBook.bookContents.length; i++) {
try {
var doc = app.open(myBook.bookContents[i].fullName, false);
var docPages = doc.pages.length;
if (targetPage > accumulatedPages && targetPage <= accumulatedPages + docPages) {
var pageIndex = targetPage - accumulatedPages - 1;
return { docIndex: i, pageIndex: pageIndex, doc: doc };
}
accumulatedPages += docPages;
doc.close(SaveOptions.NO);
} catch (e) {
log("Error processing document: " + myBook.bookContents[i].name + "\nError: " + e.message);
}
}
return null;
}
function collectRectangleData(myBook, rectangleData, startPage, endPage, prevStartPage, prevLoopInterval, nextStartPage, firstNextLoopInterval, secondNextLoopInterval, prevHyperlinkStartPage, nextHyperlinkStartPage) {
var accumulatedPages = 0;
var prevHyperlinkCreated = false; // Flag to ensure "Previous Week" hyperlink is created only once
for (var i = 0; i < myBook.bookContents.length; i++) {
try {
var doc = app.open(myBook.bookContents[i].fullName, false);
var docPages = doc.pages.length;
for (var j = 0; j < docPages; j++) {
var currentPageNumber = accumulatedPages + j + 1;
if (currentPageNumber < startPage || currentPageNumber > endPage) {
continue;
}
// Create "Previous Week" hyperlink only once in the first document at prevStartPage
if (!prevHyperlinkCreated && currentPageNumber === prevStartPage && i === 0) {
log("Creating 'Previous Week' rectangle on page: " + currentPageNumber + " in the first document and hyperlinking to page: " + prevHyperlinkStartPage);
rectangleData.push({
docIndex: i,
pageIndex: j,
position: [33, 243, 50, 259], // Position for the rectangle on the page
name: "Previous Week",
hyperlinkPage: prevHyperlinkStartPage,
usedInterval: "prevHyperlinkStartPage"
});
prevHyperlinkCreated = true; // Set the flag to prevent further creation of "Previous Week" hyperlinks
} else if (prevHyperlinkCreated && (currentPageNumber - prevStartPage) % prevLoopInterval === 0) {
// Create "Previous Week" hyperlinks after the first one using prevLoopInterval
var targetHyperlinkPage = currentPageNumber - prevLoopInterval;
if (targetHyperlinkPage >= startPage) {
log("Creating 'Previous Week' rectangle on page: " + currentPageNumber + " hyperlinking to page: " + targetHyperlinkPage + " using prevLoopInterval.");
rectangleData.push({
docIndex: i,
pageIndex: j,
position: [33, 243, 50, 259],
name: "Previous Week",
hyperlinkPage: targetHyperlinkPage,
usedInterval: "prevLoopInterval"
});
} else {
log("Skipping 'Previous Week' rectangle on page: " + currentPageNumber + " because targetHyperlinkPage is out of range.");
}
}
// Handle Next Week hyperlinks with updated logic
if (currentPageNumber === nextStartPage) {
log("Creating 'Next Week' rectangle on page: " + currentPageNumber + " and hyperlinking to page: " + nextHyperlinkStartPage + " using firstNextLoopInterval.");
rectangleData.push({
docIndex: i,
pageIndex: j,
position: [33, 304, 50, 320],
name: "Next Week",
hyperlinkPage: nextHyperlinkStartPage,
usedInterval: "firstNextLoopInterval"
});
nextHyperlinkStartPage += secondNextLoopInterval;
} else if (currentPageNumber > nextStartPage) {
var firstIntervalEnd = nextStartPage + firstNextLoopInterval - 1;
if (currentPageNumber === firstIntervalEnd + 1 || (currentPageNumber > firstIntervalEnd && (currentPageNumber - (firstIntervalEnd + 1)) % secondNextLoopInterval === 0)) {
if (nextHyperlinkStartPage <= endPage) {
log("Creating 'Next Week' rectangle on page: " + currentPageNumber + " and hyperlinking to page: " + nextHyperlinkStartPage + " using secondNextLoopInterval.");
rectangleData.push({
docIndex: i,
pageIndex: j,
position: [33, 304, 50, 320],
name: "Next Week",
hyperlinkPage: nextHyperlinkStartPage,
usedInterval: "secondNextLoopInterval"
});
nextHyperlinkStartPage += secondNextLoopInterval;
}
}
}
}
accumulatedPages += docPages;
log("Finished processing document: " + myBook.bookContents[i].name + ", accumulatedPages: " + accumulatedPages);
doc.close(SaveOptions.NO);
} catch (e) {
log("Error collecting rectangle data from document: " + myBook.bookContents[i].name + "\nError: " + e.message);
}
}
}
function createRectanglesAndHyperlinks(rectangleData, myBook) {
for (var i = 0; i < rectangleData.length; i++) {
var data = rectangleData[i];
try {
// Open the current document in which the hyperlink will be created
var doc = app.open(myBook.bookContents[data.docIndex].fullName, false);
var page = doc.pages[data.pageIndex];
if (!page) {
log("Invalid page reference: " + data.pageIndex + " in document " + myBook.bookContents[data.docIndex].name);
doc.close(SaveOptions.NO); // Close the document even if the page reference is invalid
continue;
}
// Unlock all layers to ensure that the rectangle and hyperlink can be added
for (var j = 0; j < doc.layers.length; j++) {
doc.layers[j].locked = false;
doc.layers[j].visible = true;
}
// Create the rectangle and name it
var rectangle = page.rectangles.add({
geometricBounds: data.position
});
rectangle.name = data.name;
// Create the hyperlink source from the rectangle
var hyperlinkSource = doc.hyperlinkPageItemSources.add(rectangle);
// Find the destination page for the hyperlink
var destination = findPageInBook(myBook, data.hyperlinkPage);
if (destination) {
log("Creating hyperlink from page: " + (data.pageIndex + 1) + " in document: " + myBook.bookContents[data.docIndex].name + " to page: " + data.hyperlinkPage + " using " + data.usedInterval + ".");
var destinationPage = destination.doc.pages[destination.pageIndex];
if (destinationPage) {
var hyperlinkDestination = destination.doc.hyperlinkPageDestinations.add(destinationPage);
// Add the hyperlink to the document
doc.hyperlinks.add(hyperlinkSource, hyperlinkDestination);
// Explicitly save the document after creating and verifying the hyperlink
doc.save();
log("Hyperlink successfully created and saved in document: " + myBook.bookContents[data.docIndex].name);
} else {
log("Invalid destination page reference: " + data.hyperlinkPage + " in destination document.");
}
} else {
// Handle the case for the next document
if (data.docIndex + 1 < myBook.bookContents.length) {
log("Attempting to create hyperlink to the next document.");
var nextDoc = app.open(myBook.bookContents[data.docIndex + 1].fullName, false);
var totalPagesInCurrentDoc = getTotalPagesForDocument(myBook.bookContents[data.docIndex]);
var adjustedPageIndex = data.hyperlinkPage - totalPagesInCurrentDoc - 1;
log("Linking from page: " + (data.pageIndex + 1) + " to page " + data.hyperlinkPage + " in the next document.");
if (adjustedPageIndex >= 0 && adjustedPageIndex < nextDoc.pages.length) {
var nextPage = nextDoc.pages[adjustedPageIndex];
if (nextPage) {
var nextHyperlinkDestination = nextDoc.hyperlinkPageDestinations.add(nextPage);
doc.hyperlinks.add(hyperlinkSource, nextHyperlinkDestination);
log("Successfully linked to next document on page: " + (adjustedPageIndex + 1));
} else {
log("Page not found in next document for hyperlink creation.");
}
} else {
log("Invalid page index: " + adjustedPageIndex + " in the next document.");
}
nextDoc.save();
nextDoc.close(SaveOptions.NO);
} else {
log("No next document available for hyperlink creation.");
}
}
// Close the document after the hyperlink has been created, verified, and saved
doc.close(SaveOptions.NO);
} catch (e) {
log("Error creating hyperlink on document: " + myBook.bookContents[data.docIndex].name + ", page: " + (data.pageIndex + 1) + "\nError: " + e.message);
try {
// Ensure that the document is closed if an error occurs
if (doc && doc.isValid) {
doc.close(SaveOptions.NO);
}
} catch (closeError) {
log("Error closing document after failure: " + closeError.message);
}
}
}
}
function getTotalPagesForDocument(bookContent) {
try {
var doc = app.open(bookContent.fullName, false);
var totalPages = doc.pages.length;
doc.close(SaveOptions.NO);
return totalPages;
} catch (e) {
log("Error retrieving total pages for document: " + bookContent.name + "\nError: " + e.message);
return 0;
}
}
main();
Debug Log
Debug Log Started at Fri Sep 06 2024 15:53:28 GMT+0530
Fri Sep 06 2024 15:53:28 GMT+0530: Script started.
Fri Sep 06 2024 15:53:34 GMT+0530: Intervals received:
Fri Sep 06 2024 15:53:34 GMT+0530: prevLoopInterval: 14
Fri Sep 06 2024 15:53:34 GMT+0530: firstNextLoopInterval: 12
Fri Sep 06 2024 15:53:34 GMT+0530: secondNextLoopInterval: 14
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Next Week' rectangle on page: 1 and hyperlinking to page: 13 using firstNextLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Previous Week' rectangle on page: 13 in the first document and hyperlinking to page: 1
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Next Week' rectangle on page: 13 and hyperlinking to page: 27 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Previous Week' rectangle on page: 27 hyperlinking to page: 13 using prevLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Next Week' rectangle on page: 27 and hyperlinking to page: 41 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Previous Week' rectangle on page: 41 hyperlinking to page: 27 using prevLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Next Week' rectangle on page: 41 and hyperlinking to page: 55 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Previous Week' rectangle on page: 55 hyperlinking to page: 41 using prevLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Creating 'Next Week' rectangle on page: 55 and hyperlinking to page: 69 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:38 GMT+0530: Finished processing document: 1. reMarkable-JAN-DAY-PAGE.indd, accumulatedPages: 62
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Previous Week' rectangle on page: 69 hyperlinking to page: 55 using prevLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Next Week' rectangle on page: 69 and hyperlinking to page: 83 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Previous Week' rectangle on page: 83 hyperlinking to page: 69 using prevLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Next Week' rectangle on page: 83 and hyperlinking to page: 97 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Previous Week' rectangle on page: 97 hyperlinking to page: 83 using prevLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Next Week' rectangle on page: 97 and hyperlinking to page: 111 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Previous Week' rectangle on page: 111 hyperlinking to page: 97 using prevLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Creating 'Next Week' rectangle on page: 111 and hyperlinking to page: 125 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:39 GMT+0530: Finished processing document: 2. reMarkable-FEB-DAY-PAGE.indd, accumulatedPages: 120
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Previous Week' rectangle on page: 125 hyperlinking to page: 111 using prevLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Next Week' rectangle on page: 125 and hyperlinking to page: 139 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Previous Week' rectangle on page: 139 hyperlinking to page: 125 using prevLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Next Week' rectangle on page: 139 and hyperlinking to page: 153 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Previous Week' rectangle on page: 153 hyperlinking to page: 139 using prevLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Next Week' rectangle on page: 153 and hyperlinking to page: 167 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Previous Week' rectangle on page: 167 hyperlinking to page: 153 using prevLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Next Week' rectangle on page: 167 and hyperlinking to page: 181 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Creating 'Previous Week' rectangle on page: 181 hyperlinking to page: 167 using prevLoopInterval.
Fri Sep 06 2024 15:53:40 GMT+0530: Finished processing document: 3. reMarkable-MAR-DAY-PAGE.indd, accumulatedPages: 182
Fri Sep 06 2024 15:53:41 GMT+0530: Creating hyperlink from page: 1 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 13 using firstNextLoopInterval.
Fri Sep 06 2024 15:53:43 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:53:45 GMT+0530: Creating hyperlink from page: 13 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 1 using prevHyperlinkStartPage.
Fri Sep 06 2024 15:53:47 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:53:49 GMT+0530: Creating hyperlink from page: 13 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 27 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:51 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:53:53 GMT+0530: Creating hyperlink from page: 27 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 13 using prevLoopInterval.
Fri Sep 06 2024 15:53:55 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:53:56 GMT+0530: Creating hyperlink from page: 27 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 41 using secondNextLoopInterval.
Fri Sep 06 2024 15:53:59 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:54:00 GMT+0530: Creating hyperlink from page: 41 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 27 using prevLoopInterval.
Fri Sep 06 2024 15:54:03 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:54:05 GMT+0530: Creating hyperlink from page: 41 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 55 using secondNextLoopInterval.
Fri Sep 06 2024 15:54:07 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:54:08 GMT+0530: Creating hyperlink from page: 55 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 41 using prevLoopInterval.
Fri Sep 06 2024 15:54:11 GMT+0530: Hyperlink successfully created and saved in document: 1. reMarkable-JAN-DAY-PAGE.indd
Fri Sep 06 2024 15:54:14 GMT+0530: Creating hyperlink from page: 55 in document: 1. reMarkable-JAN-DAY-PAGE.indd to page: 69 using secondNextLoopInterval.
Fri Sep 06 2024 15:54:14 GMT+0530: Error creating hyperlink on document: 1. reMarkable-JAN-DAY-PAGE.indd, page: 55
Error: Object is invalid
Fri Sep 06 2024 15:54:15 GMT+0530: Creating hyperlink from page: 7 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 55 using prevLoopInterval.
Fri Sep 06 2024 15:54:17 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:19 GMT+0530: Creating hyperlink from page: 7 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 83 using secondNextLoopInterval.
Fri Sep 06 2024 15:54:22 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:25 GMT+0530: Creating hyperlink from page: 21 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 69 using prevLoopInterval.
Fri Sep 06 2024 15:54:27 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:30 GMT+0530: Creating hyperlink from page: 21 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 97 using secondNextLoopInterval.
Fri Sep 06 2024 15:54:33 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:35 GMT+0530: Creating hyperlink from page: 35 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 83 using prevLoopInterval.
Fri Sep 06 2024 15:54:38 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:40 GMT+0530: Creating hyperlink from page: 35 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 111 using secondNextLoopInterval.
Fri Sep 06 2024 15:54:43 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:45 GMT+0530: Creating hyperlink from page: 49 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 97 using prevLoopInterval.
Fri Sep 06 2024 15:54:48 GMT+0530: Hyperlink successfully created and saved in document: 2. reMarkable-FEB-DAY-PAGE.indd
Fri Sep 06 2024 15:54:51 GMT+0530: Creating hyperlink from page: 49 in document: 2. reMarkable-FEB-DAY-PAGE.indd to page: 125 using secondNextLoopInterval.
Fri Sep 06 2024 15:54:51 GMT+0530: Error creating hyperlink on document: 2. reMarkable-FEB-DAY-PAGE.indd, page: 49
Error: Object is invalid
Fri Sep 06 2024 15:54:53 GMT+0530: Creating hyperlink from page: 5 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 111 using prevLoopInterval.
Fri Sep 06 2024 15:54:56 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:54:59 GMT+0530: Creating hyperlink from page: 5 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 139 using secondNextLoopInterval.
Fri Sep 06 2024 15:55:01 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:05 GMT+0530: Creating hyperlink from page: 19 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 125 using prevLoopInterval.
Fri Sep 06 2024 15:55:08 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:11 GMT+0530: Creating hyperlink from page: 19 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 153 using secondNextLoopInterval.
Fri Sep 06 2024 15:55:14 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:17 GMT+0530: Creating hyperlink from page: 33 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 139 using prevLoopInterval.
Fri Sep 06 2024 15:55:20 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:24 GMT+0530: Creating hyperlink from page: 33 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 167 using secondNextLoopInterval.
Fri Sep 06 2024 15:55:26 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:30 GMT+0530: Creating hyperlink from page: 47 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 153 using prevLoopInterval.
Fri Sep 06 2024 15:55:33 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:36 GMT+0530: Creating hyperlink from page: 47 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 181 using secondNextLoopInterval.
Fri Sep 06 2024 15:55:39 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:43 GMT+0530: Creating hyperlink from page: 61 in document: 3. reMarkable-MAR-DAY-PAGE.indd to page: 167 using prevLoopInterval.
Fri Sep 06 2024 15:55:46 GMT+0530: Hyperlink successfully created and saved in document: 3. reMarkable-MAR-DAY-PAGE.indd
Fri Sep 06 2024 15:55:46 GMT+0530: Rectangle creation and hyperlinking completed successfully!
Copy link to clipboard
Copied
Is it a ChatGPT generated script?
Copy link to clipboard
Copied
yes ChatGPT generated script