INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Can i change the value of variables of other running script by other?

Can i change the value of variables of other running script by other?

Can i change the value of variables of other running script by other?

(OP)
This is just a thaught, but may be helpful for me in many scenarios. Is it possible to change the variables of one running script, using or invoking other script.
OR we can say like that..
Can i access variables of other script using mine script.

Operating System : Linux

Scenarios where it can be useful, i am building an application where user can copy paste objects between tabs, in this case i can hold values in variables. But if user wants to paste in the same application but invoked from other terminal, in this case i will not be able to access what ever is copied.

I tried with clipboard option, but will not work for me in particular scenarios (because some graphical objects are also needs to be pasted)

RE: Can i change the value of variables of other running script by other?

The answer is "yes, but not easily".  One way is to use sockets.  It's not hard but it does take some doing.  Next, in Tk, you can use "send".  Also, I suppose you could consider "threading".

_________________
Bob Rashkin

RE: Can i change the value of variables of other running script by other?

(OP)
thanks.
I will start looking under suggested options. If face any issue, will ask for help.
thanks once again.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close