Jump to content

Welcome, Guest!

Be a part of CinemaVision today! Once registered and logged in, you will have access to public chat and your own private messenger, you can view and contribute guides, collaborate on the forums, review downloads, give reputation to your fellow members, contribute content and so much more. Registering is quick and completely free, so what are you waiting for?
   Sign In    Sign Up

Become a RedCarpet Club Member Today!

   Join Now
  • 0
OTA

Action Arguments

Question

It would be nice to be able to add arguments to an action when a file is executed, much like a task in Windows.

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

I use plink to enable samba server on my server in the event of a power outage.  I'd like to run that command during the process to make sure it's up and running by the time the feature starts.  I didn't see any way to pass arguments from actions.  It just had an option for the program file.

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, OTA said:

I use plink to enable samba server on my server in the event of a power outage.  I'd like to run that command during the process to make sure it's up and running by the time the feature starts.  I didn't see any way to pass arguments from actions.  It just had an option for the program file.

The arguments are on the line below your program file, like in the Google Chrome example.

 

Share this post


Link to post
Share on other sites
  • 0

I'm not familiar with the Chrome example.  Can you post a link to it?

I'll have to double check when I get home.  I don't see that available on the actions module, but I do see it in the commands module.  I'm sure I'm missing something, but I recall the actions module being pretty sparse.  If all else fails, I'll snap a screenshot of what I'm seeing.  Maybe something is broken on my install.

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, OTA said:

I'm not familiar with the Chrome example.  Can you post a link to it?

I'll have to double check when I get home.  I don't see that available on the actions module, but I do see it in the commands module.  I'm sure I'm missing something, but I recall the actions module being pretty sparse.  If all else fails, I'll snap a screenshot of what I'm seeing.  Maybe something is broken on my install.

Absolutely.

# This example will open Google Chrome to the CinemaVision.tv website by running a Command or Program
command://google-chrome
http://cinemavision.tv
<second argument>

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, Ragnarok said:

Absolutely.

# This example will open Google Chrome to the CinemaVision.tv website by running a Command or Program
command://google-chrome
http://cinemavision.tv
<second argument>

Okay, I think I figured out what I'm supposed to do.  I've created a file and put my command, plus an argument line under it.  What is the file name extension supposed to be for action files, or does it not matter?  When I tell it to test, it doesn't seem to do anything.  Is that good or bad?

Share this post


Link to post
Share on other sites
  • 0
On 11/2/2015, 10:31:57, OTA said:

Okay, I think I figured out what I'm supposed to do.  I've created a file and put my command, plus an argument line under it.  What is the file name extension supposed to be for action files, or does it not matter?  When I tell it to test, it doesn't seem to do anything.  Is that good or bad?

The extension should be .cvaction for action files. The syntax should pop up a window saying nothing was wrong, or display errors. It doesn't do that? Can you post your action file here?

Share this post


Link to post
Share on other sites
  • 0

I'll change the extension when I get home.  That may be why it wasn't testing.  If it still doesn't test, I'll put the contents of the action file up.  Thanks.

Share this post


Link to post
Share on other sites
  • 0

Sorry for the delay.  I had some computer issues to sort out.  Below is the content of the action file.  It still doesn't do anything when I try and test it.  Do I have the syntax incorrect?

# Plink command to start Samba Server on PogoPlug
command://e:\plink\plink.exe
-ssh root@192.168.0.145 -pw Password /opt/etc/init.d/S80samba start

 

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

Sorry, don't mean to be needy, but does the syntax look correct?  Just checking, because it's not working.  Also, you guys can move this to tech support since it is already supported and not a feature request.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines and Terms of Use.