topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday October 6, 2024, 11:42 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: FARR: New feature: User Variables tab  (Read 9166 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
FARR: New feature: User Variables tab
« on: October 08, 2008, 02:30 PM »
I've implemented a new feature that makes it possible for users to define UserVariables which aliases and plugins can read (and write).

For those who want to try it before the next official release:
https://www.donation...AndRunRobotSetup.exe
(if you have no use for the functionality of user variables you might as well wait for next official release)

You can find a description of what User Variables are and how to use them in the online help section here: https://www.donation...s___advanced_use.htm

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #1 on: October 08, 2008, 09:01 PM »
mouser, thanks for implementing this. :Thmbsup: i'll be updating the Twitter alias very soon with this feature.

s.newave

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 124
    • View Profile
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #2 on: October 09, 2008, 12:06 PM »
Sounds interesting, i can see using this for global user defined variables like name, email address, etc..

Any other features we can look forward to in the upcoming release like gridmode or hotkey variables ;D

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #3 on: November 08, 2008, 09:21 AM »
Is it supposed to be possible to make use of Virtual Folder Paths / Env Paths as part of user variable values?

I tried doing something like:

[Paths]
quicklaunch=%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch

But when I try to use it in an alias [1], I don't seem to have much luck. 

On a related note, is there a way to get more details (e.g. via a log file or something) about what is occurring (or say, what an alias expanded to) as a result of attempting to launch an alias?  I'm finding that it feels like I'm groping in the dark when trying to get particular aliases to work.  Perhaps I'm missing something...


[1] Referencing the user variable's value via: %uservar.Paths.quicklaunch%

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #4 on: November 08, 2008, 09:34 AM »
ah i finally understand what you were asking about wrt referencing env paths.. it doesnt work currently i guess, but i will fix now.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #5 on: November 08, 2008, 10:29 PM »
Woohoo  :Thmbsup:  Looking forward to it!

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #6 on: January 04, 2009, 09:27 AM »
I finally got around to updating the MiniCap alias with latest version of MiniCap and some suggested changes. I also would like to take advantage of this variable stuff, but there's one thing that I suppose isn't possible yet but would be nice: A dialog to set variables.

My default variable section looks like this:
<DefaultUserVars>
[MiniCapAlias]\n
// MiniCap alias folder settings -- change to your values\n
savedir=YOUR_SCREENSHOT_DIRECTORY\n
</DefaultUserVars>
What would be great would be if it was possible to have something like variablename=valuedialog on first use of alias which would pop up a dialog for user to set a value which will be saved to the user variables. Not terribly important, but a nice little improvement in the ease-of-use departement ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #7 on: January 04, 2009, 09:37 AM »
actually czb solved this request very elegantly.. we just have to wait for instructions and examples of how to use his html settings variables system.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #8 on: January 04, 2009, 09:53 AM »
oh, cool! :)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: FARR: New feature: User Variables tab
« Reply #9 on: January 04, 2009, 09:55 AM »
TucknDar:
download my latest fsubscript here:
http://czb.dcmembers...cript/FSubScript.zip
and take a look here:
http://czb.dcmembers...en:settings:Settings
If it did not work or you had any suggestion you are welcome to ask/post ;)
My open-source online piano game: https://github.com/musicope/game