wjbzone
-
Posts
9 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by wjbzone
-
-
I cannot get a macro to run in Adobe Acrobat X Pro. Trying to stamp and sign a document.
The macro was running in the past with Adobe Acrobat X Pro but it stopped working.
I have disabled all the lines in the macro in attempt to debug, but nothing works.
I want to select the menu option View-Comment-Annotations
In Adobe, I can manually type Alt-v-m-a.
In Macro Express Pro I am doing this:
1. Textype <Alt>
2. Textype v
3. Textype m
4. Textype a
(I disabled the remaining lines until I can get this much to work again)
I activate the macro with Alt-S
When I run the 4 lines above, Acrobat wants to insert a "Article Box". I have no Idea why.
Is anyone using Macro Express with Adobe Acrobat Pro?
Thanks
Bill
-
Just found this thread Terry, I was thinking of doing the same thing. Did you make any progress on the project?
-
You are right. I can store more in a variable. The variable gets truncated using this....
<VARIABLE SET STRING Option="\x05" Destination="%T1%" _ENABLED="FALSE"/>
to set the variable T1 to the window title. It works for short filenames so I assumed the variable length was the problem.
So let me backup.
1. If I go to the address bar and copy there. (alt-d gets to the address bar)
I can get the variable set correctly.
Figured out another method to try: "alt-shift-n" creates a new folder in the current explorer window (don't need the pathname). Just rename the new folder to T2
Thanks Cory
-
Cory, both those methods can get the filepath into the copy buffer. My problem is I cannot store the copy buffer to a variable because the string length is too long. I need filepath and filename stored as variables for the "Create Folder" method to work.
My file server has extremely long path names. For now I just drag the folder to drive C:\ run the macro and then drag it back.
-
Having problems. This is what I want to do:
Create a new folder in the current folder and name the new folder the same as a selected document.
Start the macro while in a windows folder and with a document (in that folder) selected.
1. Variable set string %T1% to topmost window title.
This sets the variable to the path of the current folder, but if the pathname is over 96 characters it truncates and does not work. Can I increase the length of a variable or is there a better way to obtain the current path?
2. Text Type <F2>
this edits the currently select document filename. the part of the name I want to copy is highlighted (in windows7 the filename less the extension is highlighted)
3. Clipboard Copy
4. Variable set string %T2% from the clipboard contents
T2 is the name I want to use for the new folder.
5. Create folder %t1%\%t2%
This works, but only if the filepath string length (from 1 above) is not too long.
Please help with 1 and 5 above. (or is there a better method?)
Thanks
Billy
-
Thanks for the wait for option.
-
Got it fixed.
I increased the delay time to 1.0 seconds and it is working.
I upgraded from Acrobat 9 to 10. I cannot believe the changing they did to the keystrokes to activate commands.
-
Hello first post here.
I have a problem with a macro I invoke while using Acrobat Pro X.
I start the macro from a dialoge box called "Sign Document" inside Acrobat.
The macro tabs thru the fields, enters a password, tabs again to the Sign Button:
Text Type (simulate keystrokes) <TAB><TAB>password<TAB><TAB><TAB><TAB><TAB><TAB>
The line above works.
I then do a enter to click the button.
Text Type (simulate keystrokes) <NUMENTER>
The line above also works. It brings the "Save As" dialog box. Whith focus in the File Name field.
Here is where I have a problem...
I want to tab twice to the save button and click to save:
Text Type (simulate keystrokes) <TAB><TAB><NUMENTER>
For some reason the macro will not execute the above line. Focus stays in the File Name field in the "Save As" dialog box.
I tried debuging using breakpoints and step, but when the "Save As" dialog box appears, the <TAB> macro commands do not work.
I changed my scope to global. still does not work.
I put a delay before the problem line (Delay:0.5 seconds) did not work.
Any suggestions appreciated.
Bill
Adobe Acrobat X Pro - Cannot get macro to run
in Macro Express and Macro Express Pro
Posted
I have played around with Alt+v and the timing. I use to use Acrobat 7 and never had a problem with macros.
I assume you are talking about javascript for other ways. I've never tried that. Going to have to start from scratch if I do that.