Search found 24 matches

by chest069
22 Jan 2019, 17:36
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok I put in what you said the log file says this: ------------------------Thread: 4454:ScriptEnvironment.log----------------------- --ID:4454TS:1548178299692-1/22/19 12:31:39 PM - [org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment(log)] -> [ "C:\\jdownloader-postprocess.cmd",...
by chest069
22 Jan 2019, 17:20
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok, I deleted everything in the script and added what you said. On test run it came back with the error: net.sourceforge.htmlunit.corejs.javascript.EcmaError: ReferenceError: "path" is not defined. (#1) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:362...
by chest069
22 Jan 2019, 17:04
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

For the first part of your question. Yes that was all it gave me. (Is there a better way to do the logs to see what is going on) In the previous log that showed that it was working it might have been when I ran the post processing command file on its own. I don't remember at this point. I was tring ...
by chest069
22 Jan 2019, 16:19
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok, so I made the changes and it didn't give me any errors in the JDownloader2 GUI scripter but nothing seemed to happen. Currently this is what it looks like: var path = package.getDownloadFolder() var name = package.getName() var label = package.getComment() ? package.getComment() : 'N/A' var link...
by chest069
22 Jan 2019, 15:22
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Thanks again for the reply. Ok, I started over. So I went to the website and copied what you had in the script window for Execute FileBot (PackageFinished) and the went into JDownloader2 and created the event script. Am I supposed to download this instead of copying the code and if so where do I sto...
by chest069
22 Jan 2019, 07:50
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok another update. I changed what you gave me to this as my event script. @ECHO OFF :: Input Parameters set ARG_PATH=%1 set ARG_NAME=%2 set ARG_LABEL=%3 :: Configuration set CONFIG_OUTPUT="C:/Torrent-Completed" filebot -script fn:amc "C:/Users/Chris Chester/Media" --output "C:/Torrent-Completed" --a...
by chest069
22 Jan 2019, 07:33
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok I think it is calling it but I am not sure because nothing else happens. This is the most recent log. C:\Users\Chris Chester\AppData\Local\JDownloader 2.0> ------------------------Thread: 2094:ScriptEnvironment.log----------------------- --ID:2094TS:1548142207563-1/22/19 2:30:07 AM - [org.jdownlo...
by chest069
22 Jan 2019, 06:29
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Thanks for replying This is what I put in my script based on the info you gave and I have: var command = ['C:\\Windows\\System32\\cmd.exe', '-c', 'C:\\jdownloader-postprocess.cmd'] log(command) log(callSync(command)) It didn't spit anything back in the JDownloader2 GUI I found the log I think for it...
by chest069
21 Jan 2019, 16:05
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok, well I tried what you suggested and I get the following when running the command file you created from the command line on it's own. C:\>jdownloader-postprocess.cmd Locking C:\Users\Chris Chester\AppData\Roaming\FileBot\logs\amc.log Run script [fn:amc] at [Mon Jan 21 10:50:59 EST 2019] Parameter...
by chest069
21 Jan 2019, 16:03
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok, well I tried what you suggested and I get the following when running the command file you created from the command line on it's own. C:\>jdownloader-postprocess.cmd Locking C:\Users\Chris Chester\AppData\Roaming\FileBot\logs\amc.log Run script [fn:amc] at [Mon Jan 21 10:50:59 EST 2019] Parameter...
by chest069
21 Jan 2019, 15:28
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

LOL, apparently that is what I did, now that I look at both of them. I assumed what was there was what i needed so yeah I copied it. Oh well. Sorry for the frustration on my user error. I saved the file that you just posted. I will test things but running the cmd on it's own to see if it work then m...
by chest069
21 Jan 2019, 14:45
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

If I run the command from the command line I get:

Code: Select all

C:\>jdownloader-postprocess.cmd
The syntax of the command is incorrect.
C:\><!DOCTYPE html>
I don't know if it is the correct way to try it.
by chest069
21 Jan 2019, 12:35
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

I did go back and try just launching cmd.exe by itself in the script but got the same results even though I verified that is where cmd.exe is: var command = ['C:\Windows\System32'] log(command) log(callSync(command)) so still no luck net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapp...
by chest069
21 Jan 2019, 12:14
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

I also tried alone to try and launch the command window by itself like notepad with this: var command = ["C:/Users/Chris Chester/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/System Tools/cmd.exe"] log(command) log(callSync(command)) Still got errors Wrapped org.jdownloader.extensions.events...
by chest069
21 Jan 2019, 12:07
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

LOL, sorry but unfortunately it's the machine I am doing this on right now. I prefer linux myself though. It is here : C:\Users\Chris Chester\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools Does it matter if I use single quotes vs double quotes when doing the script? This is the s...
by chest069
21 Jan 2019, 11:29
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Ok so this is what I put in the scripter for my script. var command = ['C:/Windows/System32/cmd.exe /c C:/script.bat'] log(command) log(callSync(command)) I also created a BAT file with DATE /T > C:\date.txt inside of it and saved it to C for it to be called. When I did a test run in the scripter in...
by chest069
21 Jan 2019, 10:48
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Thanks for the reply.

What you gave me to try worked. (as far as executing notepad.exe)

I wasn't able to find out or figure which log was for JDownloader2 and the script I was trying though. So I don't know if it actually runs the CMD file.

Thanks again for the help.
by chest069
20 Jan 2019, 18:27
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Sorry for the late reply and thanks for the suggestion. I did make a event script/trigger from other things I read and added your suggestion. Here is the event script/trigger : [{ "eventTrigger": "ON_PACKAGE_FINISHED", "enabled": true, "name": "Execute FileBot (PackageFinished)", "script": "var scri...
by chest069
18 Jan 2019, 18:45
Forum: Scripting and Automation
Topic: [JDownloader] Setup for Windows, Linux and Mac OS X
Replies: 73
Views: 23978

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Hello, I am trying to setup and run your JDownloader script and can't seem to get it to work. I am using Windows 10 64 bit and JDownloader2 (instead of JDownloader) to download my files to a folder and that is the folder I would then like to be processed by filebot and you AMC script. I figured out ...
by chest069
16 Jan 2014, 12:26
Forum: Tips, Tricks and Tutorials
Topic: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]
Replies: 168
Views: 139007

Re: [Windows] Advanced Explorer Context Menu (GitHub Integra

Thanks for the help, this worked for me and now every thing is working as it should. @chest069 That's not quite the way to download it, lol. Righto... 1. Click this link: https://github.com/CapriciousSage/cmdlets/raw/master/context_menu_live_installer.cmd 2. It should ask you to save the file contex...
by chest069
14 Jan 2014, 14:11
Forum: Tips, Tricks and Tutorials
Topic: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]
Replies: 168
Views: 139007

Re: [Windows] Advanced Explorer Context Menu (GitHub Integra

Thanks for the update. So here is my situation on installing this. I did get it installed but with a dirty way. This is what I did to finally get it working since the other way would still not run for me. I went to https://github.com/CapriciousSage/cmdlets and downloaded the zip file. I then unzippe...
by chest069
13 Jan 2014, 11:08
Forum: Tips, Tricks and Tutorials
Topic: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]
Replies: 168
Views: 139007

Re: [Windows] Advanced Explorer Context Menu (GitHub Integra

@chest069 Are you still having this problem? If so, please let me know. Also, if just double clicking fails, does right clicking and running as administrator work? Akki highlighted a compatibility tweak for the method I use to make the script seek admin privileges that I was planning on working int...
by chest069
13 Jan 2014, 11:04
Forum: Tips, Tricks and Tutorials
Topic: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]
Replies: 168
Views: 139007

Re: [Windows] Advanced Explorer Context Menu (GitHub Integra

Hello, I am using the live installer that you posted and when I right click on it and say run as admin in Win 7 64bit I get a quick terminal windiow that closes and nothing else happens. What am I doing wrong? thanks for any help. Try and first remove the old install, and then reinstall, it worked ...
by chest069
12 Jan 2014, 13:43
Forum: Tips, Tricks and Tutorials
Topic: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]
Replies: 168
Views: 139007

Re: [Windows] Advanced Explorer Context Menu (GitHub Integra

Hello,

I am using the live installer that you posted and when I right click on it and say run as admin in Win 7 64bit I get a quick terminal windiow that closes and nothing else happens.

What am I doing wrong?

thanks for any help.