Jump to content

ericcsc

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by ericcsc

  1. I have tried that on Win7 Enterprise 32bit and Win8Pro 64b , the script does work well. The schedule task did checked to run whether or not the user is logged on and with highest Admin rights too, but no popup. I have increased the long pauses to 4 seconds, but still can't see any pop-up. On task manager, I can see the exe is running. Additional, I have inserted "MsgBox(0, "", "Script Schedule Success")" into the script and complied again but did not see any pop-up even added in the first line. However I run manually, the message did popup.
  2. Hi Billo It is from Microsoft windows scheduler task created to run the complied exe file. The script or complied exe file does work well when i manually run them, popup and run. However when I used windows scheduler task, there isn't any popup of ("JTB FlexReport LT 1.1 by JTB World") program. I tried to create a batch file to run from scheduler task and there is no pop-up.
  3. Hi I'm not sure what has happened when I scheduled to run the complied EXE, the program ("JTB FlexReport LT 1.1 by JTB World") did not popup to run however when I manually run, everything work well. Additionally, I have tried changed to ShellExecute or to create a shortcut with the option to max program but this does not help at all. Can anyone help to "enable" the popup of "JTB FlexReport LT 1.1 by JTB World" program. Thank you. Run("\\server1\\JTBFlexReportLT\\Windows\\JTB FlexReport LT.exe") WinWaitActive("JTB FlexReport LT 1.1 by JTB World") Send("{LCTRL}W") ControlClick("JTB FlexReport LT 1.1 by JTB World", "", "[Name:ButtonXShowHTML]") WinWaitActive("JTB FlexReport - Windows Internet Explorer") Sleep(100)
  4. Hi I need help as the script below can't the button to work, can advice below. Thank you. ======================================================= ShellExecute("D:Daily_JTB_Reports") WinWaitActive("Daily_JTB_Reports") ControlClick("JTB FlexReport LT 1.1 by JTB World", "", "ButtonXShowHTML") ======================================================= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>> Window <<<< Title: JTB FlexReport LT 1.1 by JTB World Class: WindowsForms10.Window.8.app.0.378734a Position: 430, 212 Size: 505, 303 Style: 0x16CF0000 ExStyle: 0x00050100 Handle: 0x001F0B5C >>>> Control <<<< Class: WindowsForms10.Window.8.app.0.378734a Instance: 12 ClassnameNN: WindowsForms10.Window.8.app.0.378734a12 Name: ButtonXShowHTML Advanced (Class): [NAME:ButtonXShowHTML] ID: 1643866 Text: Show HTML Report Position: 12, 229 Size: 113, 23 ControlClick Coords: 95, 7 Style: 0x56010000 ExStyle: 0x00000000 Handle: 0x0019155A >>>> Mouse <<<< Position: 545, 479 Cursor ID: 0 Color: 0xDDE9F6 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Check for update Get Feature Descriptions Add Features Save Settings Show HTML Report Close Find Licenses >>>> Hidden Text <<<< +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  5. Hi I have tried to figure it out how to convert the html file (c:commonreport.html) to pdf file but somehow i only managed to load report.html to Internet Explorer. I need help on the script to print it to pdf file. 1. Load the c:commonreport.html into Internet Explorer. 2. Print with cutepdf writer. 3. Save it into M:reportYYYY MM DD report.pdf Appricate your helps. Thank you.
×
×
  • Create New...