0
$\begingroup$

I have the code below:

;Start of Script 1
;command
-pdfimport
;leave empty to select file
f
;file location
"C:\Users\Lenovo\Desktop\Electrical Department\samplepdfonly.pdf"
;pagenumber of pdf
4
;specify insert
0,0
;scale factor
1
;rotation
0

;End of script 1

;Start of Script 2
;command
-pdfimport
;leave empty to select file
f
;file location
"C:\Users\Lenovo\Desktop\Electrical Department\samplepdfonly.pdf"
;pagenumber of pdf
8
;specify insert
800,0
;scale factor
1
;rotation
0

;End of script 2

;Start of Script 3
;command
-pdfimport
;leave empty to select file
f
;file location
"C:\Users\Lenovo\Desktop\Electrical Department\samplepdfonly.pdf"
;pagenumber of pdf
9
;specify insert
1600,0
;scale factor
1
;rotation
0

;End of script 3

And I'm trying to make this part, automatically adjust by adding an incremental variable of +800

;specify insert
0,0

For example, it will then becomes

;specify insert
800,0

then

;specify insert
1600,0

Is it possible?

In programming it is something like

Var X as integer = 0

Then

;specify insert
x+800
x,0
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.