Skip to content

Commit 9ef36f3

Browse files
authored
Merge pull request #150 from Accedia/develop
Production Release 11/02/2025
2 parents 1e47577 + 04b2569 commit 9ef36f3

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

electron-app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

electron-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fit-mitchell-rpa",
33
"appname": "REV Import Technology",
44
"productName": "REV Import Technology",
5-
"version": "1.5.87",
5+
"version": "1.5.88",
66
"homepage": "./",
77
"main": "./dist/main.js",
88
"description": "Automation for CCC by FIT",

electron-app/src/utils/mitchell_importer.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,14 @@ export class Mitchell_Importer extends Importer {
340340
await keyboard.releaseKey(Key.Enter);
341341
await snooze(250);
342342

343-
await this.pressTabButton(7); // focus again on the Part number
343+
await keyboard.pressKey(Key.LeftShift); // Hold Left Shift
344+
345+
for (let i = 0; i < 7; i++) {
346+
await keyboard.pressKey(Key.Tab);
347+
await keyboard.releaseKey(Key.Tab);
348+
}
349+
350+
await keyboard.releaseKey(Key.LeftShift); // Release Left Shift
344351
await this.typeMitchellValue(partNumber); // Type Part Number
345352
this.progressUpdater.update();
346353
await snooze(250)
@@ -403,8 +410,16 @@ export class Mitchell_Importer extends Importer {
403410
await keyboard.releaseKey(Key.Enter); // Select it
404411
await snooze(3500);
405412
this.progressUpdater.update();
413+
console.log('builded succesfully');
414+
// await this.pressTabButton(7); // focus again on the Part number
415+
await keyboard.pressKey(Key.LeftShift); // Hold Left Shift
416+
417+
for (let i = 0; i < 7; i++) {
418+
await keyboard.pressKey(Key.Tab);
419+
await keyboard.releaseKey(Key.Tab);
420+
}
406421

407-
await this.pressTabButton(7); // focus again on the Part number
422+
await keyboard.releaseKey(Key.LeftShift); // Release Left Shift
408423
await this.typeMitchellValue(partNumber); // Type Part Number
409424
this.progressUpdater.update();
410425
await this.pressTabButton(1); // Go to Quantity

0 commit comments

Comments
 (0)