DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: FARR: New feature: User Variables tab  (Read 11,583 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
FARR: New feature: User Variables tab
« on: October 08, 2008, 07: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:
http://www.donationcoder.com/Software/Mouser/findrun/downloads/beta/FindAndRunRobotSetup.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: http://www.donationcoder.com/Software/Mouser/findrun/help/user_variables___advanced_use.htm

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: FARR: New feature: User Variables tab
« Reply #1 on: October 09, 2008, 02:01 AM »
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
  • **
  • Posts: 124
    • Plugin Coding Medal
Re: FARR: New feature: User Variables tab
« Reply #2 on: October 09, 2008, 05: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
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: FARR: New feature: User Variables tab
« Reply #3 on: November 08, 2008, 03:21 PM »
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:

Quote
[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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FARR: New feature: User Variables tab
« Reply #4 on: November 08, 2008, 03:34 PM »
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
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: FARR: New feature: User Variables tab
« Reply #5 on: November 09, 2008, 04:29 AM »
Woohoo  :Thmbsup:  Looking forward to it!

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: FARR: New feature: User Variables tab
« Reply #6 on: January 04, 2009, 03:27 PM »
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:
Code
<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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FARR: New feature: User Variables tab
« Reply #7 on: January 04, 2009, 03:37 PM »
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

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: FARR: New feature: User Variables tab
« Reply #8 on: January 04, 2009, 03:53 PM »
oh, cool! :)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: FARR: New feature: User Variables tab
« Reply #9 on: January 04, 2009, 03:55 PM »
TucknDar:
download my latest fsubscript here:
http://czb.dcmembers.com/Plugins/FSubScript/FSubScript.zip
and take a look here:
http://czb.dcmembers.com/help/FARR#open: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

Original address: https://www.donationcoder.com/forum/index.php?topic=15264.0