Search found 15 matches

by klevteev
Wed May 13, 2020 3:19 pm
Forum: Help Me
Topic: Extract part of path) and button Cancel - not work at cancel)
Replies: 8
Views: 1034

Re: Extract part of path) and button Cancel - not work at cancel)

ahahaha! how cool) Thank you very much!))
by klevteev
Wed May 13, 2020 8:08 am
Forum: Help Me
Topic: Extract part of path) and button Cancel - not work at cancel)
Replies: 8
Views: 1034

Re: Extract part of path) and button Cancel - not work at cancel)

Wow! Great Job!
I can imagine how difficult it is to dig into someone else's code)

on "true" changed even before that, and did not work, in the end, and tangled
It remains only Alt+F4 to configure - the script works when closing for now.
by klevteev
Tue May 12, 2020 10:55 am
Forum: Help Me
Topic: Extract part of path) and button Cancel - not work at cancel)
Replies: 8
Views: 1034

Re: Extract part of path) and button Cancel - not work at cancel)

but, FullPath
2020-05-12_13-51-52.png
2020-05-12_13-51-52.png (5.17 KiB) Viewed 945 times
I need 6 digits only in the first line

p.s.: and Cancel not Cancel ((( Worked at OK))
and now... on the red cross - not closes))) - Work script
by klevteev
Tue May 12, 2020 9:55 am
Forum: Help Me
Topic: Extract part of path) and button Cancel - not work at cancel)
Replies: 8
Views: 1034

Re: Extract part of path) and button Cancel - not work at cancel)

Something's wrong anyway I've already confused myself var strtRulerUnits = app.preferences.rulerUnits; app.preferences.rulerUnits = Units.MM; var docRef = app.activeDocument; filePath = docRef.path; var fileName = docRef.name.slice(".") var dlg = new Window('dialog', 'Параметры:'); dlg.frameLocation...
by klevteev
Fri May 08, 2020 2:40 pm
Forum: Help Me
Topic: Extract part of path) and button Cancel - not work at cancel)
Replies: 8
Views: 1034

Extract part of path) and button Cancel - not work at cancel)

Hello! 1. is it possible to extract part of the text from the file path? 6-digit number 2. Button "ok" - do script / Button "Cancel" - do script too( 1. filePath.slice("ish") ? Example path to part 6digit-number \\FS\M\200508\ish\bbb\1card.tif to 200508 \\FS\M\200509\ish\a1.tif to 200509 \\FS\M\2006...
by klevteev
Thu Nov 21, 2019 7:04 am
Forum: Help Me
Topic: vector objects in photoshop through scripting
Replies: 1
Views: 1792

Re: vector objects in photoshop through scripting

hm, rectangle and ellipse shape with text...
by klevteev
Wed Nov 20, 2019 11:16 am
Forum: Help Me
Topic: vector objects in photoshop through scripting
Replies: 1
Views: 1792

vector objects in photoshop through scripting

Hi

is it possible to create simple vector objects in photoshop through scripting?
for example(*.pdf) - https://yadi.sk/i/PTvqegTJ5ylH4g
So that you can then use these objects as a vector in the Illustrator...
by klevteev
Wed Nov 20, 2019 10:45 am
Forum: Help Me
Topic: switch between active documents (Ctrl+Tab)
Replies: 2
Views: 1850

Re: switch between active documents (Ctrl+Tab)

Thanks, but I used this:

Code: Select all

ishDoc = app.activeDocument

var theCopy = aDoc.duplicate (filename);
FaceDoc = app.activeDocument

app.activeDocument = ishDoc
So, I can change this)
by klevteev
Wed Nov 20, 2019 10:19 am
Forum: Help Me
Topic: Rename opening file
Replies: 2
Views: 1749

Re: Rename opening file

okay, so duplicate rules)
by klevteev
Tue Nov 19, 2019 11:54 am
Forum: Help Me
Topic: Rename opening file
Replies: 2
Views: 1749

Rename opening file

Hello is it possible to assign a different file name to an open document? if I make a duplicate, I can do so, but if I still want to rename the original file? not save, only rename... var aDoc = app.activeDocument; var fileName = aDoc.name.slice(".") var WF = Math.round(aDoc.width); var HF = Math.ro...