Re: Sendkeys
Thankyou everybody for all the details. I learnt a lot in the past 2 days!! This is the solution we've come up with: First I checked (upon Ian's suggestion) if I could sompare the two PDF files (one with commenting not enabled and the other with commenting enabled) and see if I could somehow insert the instructions in the PDF file directly. This proved futile (may be I am too stupid). So, I started reading up on Apple Script, Mac::glue (which looks easy but is rather hard when you use Macperl because of the many clicks needed to run something). I got to the stage where I could invoke Acrobat but soon after the Mac machine would get stuck!! So, aborted! But, during my brief flirtation with Mac OSX, I discovered that it could actually talk to a PC!! Meaning, Mac OSX shared folders are accessible to PCs and vice versa. With this brilliant discovery, I switched back to homeground (PC and Win32::GuiTest) and voila! Job done. The Perl program (for the PC) does this exactly. I'll have to do the networking (set up the shared folders) and other customizations now but they idea is working. Thanks everybody for the response. Vince Daniel Staal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --As of Tuesday, August 30, 2005 9:14 AM -0400, macosx@perl.org is alleged to have said: I'm leaving the rest of the answers; I can check if Acrobat is scriptable when I get home though. --As for the rest, it is mine. Well, I said I'd answer this when I got home. I've got Acrobat 6 Pro, so there may be more features in the newer version. Acrobat itself is not AppleScriptable (other than using the UI scripting capability). However, it does have an automation center, where you can specify full job flows using any option you can normally use. (Look under 'Advanced' for 'Batch Processing'.) This should be enough to do your job. Also, Distiller, which comes with the pro version, *is* AppleScriptable, and can do most basic conversions for you. I don't see an option to do what you need in my version, but it may be worth looking. It may also be worth checking if Automator can do anything; it can't with mine, but version 6 came out before Automator did. Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---
Can't Run CPAN
For some reason, when I try to do sudo cpan, it won't start up, and generates this following message: Terminal does not support AddHistory. CPAN.pm panic: Lockfile /Users/lolajl/.cpan/.lock reports other host TsarskoeSelo.local and other process 20574. Cannot proceed. Looking in Activity Monitor, I don't see process 20574. Tried shutting down and starting my computer up again but this doesn't do the trick. What's causing this? -- Lola - mailto:[EMAIL PROTECTED] http://www.lolajl.net | Blog at http://www.lolajl.net/blog/ Freedom is not free. I'm in Bowie, MD, USA, halfway between DC and Annapolis.
Re: Can't Run CPAN
Lola Lee wrote: For some reason, when I try to do sudo cpan, it won't start up, and generates this following message: Well . . . I figured it out - removed .lock and all is back to normal. I'd like to know why this happened, though. -- Lola - mailto:[EMAIL PROTECTED] http://www.lolajl.net | Blog at http://www.lolajl.net/blog/ Freedom is not free. I'm in Bowie, MD, USA, halfway between DC and Annapolis.
Re: Can't Run CPAN
On Wed, August 31, 2005 7:31 am, Lola Lee said: Lola Lee wrote: For some reason, when I try to do sudo cpan, it won't start up, and generates this following message: Well . . . I figured it out - removed .lock and all is back to normal. I'd like to know why this happened, though. Sounds like CPAN was (previously) started and not closed correctly. The .lock file was so that you don't accidentally run two copies at the same time. The message gives enough information for you to check if CPAN is currently running. So, the expected thing for you to do is to check if CPAN is running, and if it isn't, remove the .lock file and run CPAN. Which you did. ;) Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---
Speaking of CPAN
anyone besides me having trouble accessing the mirrors? I've been rebuilding my iBook when I can spare ten minutes here and a half hour there. I installed perl 5.8.7 several weeks back under /usr/local and started CPAN with the path set to look at /usr/local/bin before /usr/bin, then remembered I wanted to install gnupg first, so I aborted and installed gnupg today and tried to o conf init. Got this at the end, about two hours ago: terminal output You have no /usr/local/share/perl/.cpan/sources/MIRRORED.BY I'm trying to fetch one LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY Couldn't cwd pub/CPAN at /usr/local/lib/perl5/5.8.7/CPAN.pm line 2260, STDIN line 28. Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz Couldn't cwd pub/CPAN at /usr/local/lib/perl5/5.8.7/CPAN.pm line 2260, STDIN line 28. Issuing /usr/bin/ftp -n Trying 209.120.136.27... Connected to ftp.cpan.ddns.develooper.com. 220-=(*)=-.:. (( Welcome to PureFTPd 1.0.11 )) .:.-=(*)=- 220-You are user number 1 of 500 allowed 220-Local time is now 08:29 and the load is 0.03. Server port: 21. 220-Only anonymous FTP is allowed here 220 You will be disconnected after 15 minutes of inactivity. 331 Any password will work 230 Any password will work Remote system type is UNIX. Using binary mode to transfer files. Local directory now /usr/local/share/perl/.cpan/sources 250 OK. Current directory is / 250 OK. Current directory is /pub 550 Can't change directory to CPAN: No such file or directory 200 TYPE is now 8-bit binary local: MIRRORED.BY remote: MIRRORED.BY 500 Unknown command 227 Entering Passive Mode (209,120,136,27,156,117) 550 Can't open MIRRORED.BY: No such file or directory 221-Goodbye. You uploaded 0 and downloaded 0 kbytes. 221 Logout - CPU time spent: 0.000 seconds. Bad luck... Still failed! Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY. Please check, if the URLs I found in your configuration file () are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch MIRRORED.BY CPAN.pm needs at least one URL where it can fetch CPAN files from.