Jump to content

Recommended Posts

Posted

Hello there, wanted to automate PDF so I can make my job easy :thumbsup:,  I used autoit window info for PDF so I can hotkeys some of the tools in the PDF toolbar but window info cant get separate controlid for 1 tool, like stamp tool, Snapshot tool.  got control id for toolbar only.

text: AVToolBarEasel

[CLASS:AVL_AVView; INSTANCE:24]

 

I could use mouseclick but its kinda annoying, im too lazy to move my mouse. :muttley:

anyone have an idea how to get the controlid for each tools in the pdf toolbar??? :graduated:

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Posted (edited)
  On 7/27/2014 at 7:57 AM, Muzaiyan said:

Did you try ControlClick() function.

i think it should work

not working

HotKeySet("{ESC}", "PDF")

Func PDF()
    If WinWaitActive("[CLASS:AcrobatSDIWindow]") Then
        ControlClick("[CLASS:AcrobatSDIWindow]", "", "[CLASS:AVL_AVView;INSTANCE:22]", 1,233, 97)
        MouseMove(446, 722, 5)
    EndIf
EndFunc

but mouseclick is working, but what I want is how to get the window info/control ID for pdf tools separately, like stamp tools, snapshot tool.. i used autoit Window info and got the control ID for toolbar only

[CLASS:AVL_AVView; INSTANCE:22];control id /info for PDF toolbar
Edited by 232showtime

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Posted

What exactly you want to automate ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)
  On 7/27/2014 at 10:34 AM, mLipok said:

What exactly you want to automate

PDF files.., I got thousands of PDF Files that needs to be digitally stamp... I got it covered with mouseclick but kinda annoying cause I need to move my mouse again from where it was before...

EDI*T: i was just thinnking maybe there is another easiest way to do it but I cant get the controlid for pdf tools, autoit info is showing the control id for toolbar only

Edited by 232showtime

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Posted

so try my QuickPDF UDF

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 7/27/2014 at 11:48 AM, mLipok said:

so try my QuickPDF UDF

ill try this after work, ill stick to mouseclick for now.. thanks.. :thumbsup: :thumbsup: :thumbsup:

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...