
fuzzie
Active Members-
Posts
21 -
Joined
-
Last visited
Everything posted by fuzzie
-
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
This was the update: Update for Internet Explorer 11 for Windows 8.1 for x64-based Systems (KB3025390) Installation date: 12/18/2014 4:14 AM Installation status: Succeeded Update type: Important Install this update to resolve issues in Windows. For a complete listing of the issues that are included in this update, see the associated Microsoft Knowledge Base article for more information. After you install this item, you may have to restart your computer. More information: http://support.microsoft.com/kb/3025390 Help and Support: http://support.microsoft.com -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
Several times... So I solved the issue. Lovely Micro$oft pushed out an update for IE on 12/18...same day script broke. Stops the Control+P from working in the script. Don't ask my why or how. I uninstalled the update and turned automatic updates off. Like I said, the machine is only used for this function and Plex. So I am not worried about updates. Probably not the best or safest solution. YMMV. -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
Script worked perfectly for 2 weeks. Yesterday, it failed...all I got was Error Description Code 1. Been troubleshooting it and can't tell what happened. My guess is the "interactive" issue with the desktop running as a scheduled task. So I tried creating the task with psexec as the command line, with the -i, -u and -p switches set. Still won't function right. Am I going down the wrong rabbit hole? I really don't understand what happened. No one uses the computer the script is running on. It only serves up Plex, besides running this script once a day. Worked flawlessly for 2 weeks. Now I can't even get it to work from the autoit program. It starts, opens IE, logs me into the website and pulls up the page I want printed. But when the Print command is executed, IE wants to add it to favorites instead. Very weird! -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
That worked perfectly, thanks! Rather than declare that var again, I just added the title from that program: ControlSend("FreePDF 4.14", "", "", "!n") Thanks! Tested, and it runs as a Scheduled Task now, without hanging up on those print screen dialogues. -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
I guess I need it for the FreePDF print dialogue screens too. How do I find out the name of those windows? And can I do this: $hwnd2 = printer dialogue window -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
Thanks! Do I need to set this before each ControlSend command? $hwnd = _IEPropertyGet($oIE, "hwnd") Or is once enough? Or maybe once for for each web page? BTW: I set up the computer to automatically log the user on, and put the autoit compiled script in the startup folder (and changed the time to execute in the script for testing purposes to something about 15 minutes after rebooting), rebooted the machine. The script worked! Testing it again, to see if it was just a fluke! I think the ControlSend is probably the better route to go. Was going to try AutoHotKey, but that seemed to have the same background task limitation. Do you happen to know of anything else that would do this? Maybe VBScript or Python? Thanks! -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
I don't doubt it is a bad idea. How else do I solve the problem? I need to log into Yahoo, navigate to about 15 pages, printing each of them, and combine them into one PDF, and email that PDF daily. I have the script working, just won't run as a scheduled task. Is there another way? What if I add: $hour=17 $minutes=30 $seconds=0 $exit=0 Do Sleep(100) If $hour=@HOUR And $minutes=@MIN And $seconds=@SEC Then $exit=1 EndIf Until $exit=1 near the top of the script, and put it in the start up folder? Every nightly reboot, it would start, but not "run" until 5:30 PM. Would that solve the "locked" issue? -
Script Won't Run As Scheduled Task
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
Thanks for the suggestion. I tried that, and it would never send those {} commands. I'm pretty sure it is because the screen is locked. Process: 1. Nightly reboot. 2. Run script at certain time. 3. Repeat daily. I downloaded AlwaysUp, as an alternative to the task scheduler. That didn't solve the problem. If I run it from the script editor or just from Explorer, I watch it work. I'm most certain it is the Send() commands...I don't think they work in a locked state. But I don't know how to format ControlSend() or if that is even the right alternative. Thanks! -
I have a script to print about 20 webpages that works if I run it on the desktop. When I set it up as a scheduled task, it does not complete. Here is a snippet for one page: I'm pretty sure the "Send" commands is what is causing the issue. But when I try ControlSend("!a") or any other ControlSend, it errors.
-
Smtp Mailer That Supports Html And Attachments.
fuzzie replied to Jos's topic in AutoIt Example Scripts
Yes, a comma worked for me. -
Insert Page Breaks when Combining Multiple PDFs
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
No, I just set it as my default printer -
Insert Page Breaks when Combining Multiple PDFs
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
Thanks, I solved it. FreePDF had a multidoc option. Works perfectly. -
Renaming it work, thanks!
-
Smtp Mailer That Supports Html And Attachments.
fuzzie replied to Jos's topic in AutoIt Example Scripts
With a semicolon or with a comma? "CCadress1@test.com,CCadress2@test.com" -
If I wanted to attach the newly named file, how would I call it? I Tried $AttachFiles = (_DateTimeFormat(_NowCalc(), 2), "/", "-") & ".pdf"
-
Print Multiple Webpages as Single PDF
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
Thanks, got that working! Started a new thread for the page break issue. '?do=embed' frameborder='0' data-embedContent>> -
I've figured out how to merge PDFs into a single PDF with either PDFCreator or FreePDF. But he merged file has no page breaks. The second document starts right where the first document ends (in the middle of the page), and so on for each additional document. Is there a command in PDFCreator (or another tool to combine PDFs) to insert page breaks? Thanks!
-
This script worked great for me... Does anyone know how to insert a page break for each document?
-
Print Multiple Webpages as Single PDF
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
ah, printdefault did the trick. How do I give it a name and click save? Thanks! -
Print Multiple Webpages as Single PDF
fuzzie replied to fuzzie's topic in AutoIt General Help and Support
I apologize. I'll move it the appropriate section. I've been looking at examples, but haven't figured out a couple of steps yet. Thanks for replying. -
I need to log into a website and print multiple webpages in one PDF, then email that PDF to a user, at a specific time every day. I've successfully scripted the login function and I can call the first url. Can someone help me print that to PDFCreator, then open the second url, and append that to the original PDF? Thanks!