Jump to content
Sign in to follow this  
Klovis

I want to do something amazing

Recommended Posts

Klovis

Help me!

Share this post


Link to post
Share on other sites
water

?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Klovis

#include "UserState.au3" cannot find

Share this post


Link to post
Share on other sites
Tvern

Wel yeah, but I couldn't find a question in your title, or post either.

Mind telling us what it is you want to do other than "something amazing" and what problem you are running into?

Share this post


Link to post
Share on other sites
czardas

UserState.au3

#include <string.au3>

Func _UserState_Get($User)
    Switch $User
        Case "Klovis"
            Return SetError (1, 0, _StringToHex("Amazing")
        Case Else
            Return _StringToHex("Awesome")
    EndSwitch
EndFunc

Func _UserState_Set($User, ByRef $US_State)
    $US_State = _UserState_Get($User)
EndFunc
Edited by czardas

Share this post


Link to post
Share on other sites
sleepydvdr

The original poster wants us to do something amazing: become psychics.


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites
Bert

Help me!

Lets see....

OP goofed and didn't post this thread in chat....$2.31

OP is new....$1

OP is bored... $2

OP didn't bother using the search function to see how many times this has been asked and review the suggestions made....one penny.

OP gets made fun of by many other users of the forum....priceless.

We get your bored. Next time think, search, then if you can't find what your looking for, post in the correct place.

moving on...

Share this post


Link to post
Share on other sites
monoscout999

there`s a sticky in the chat section about jokes and that sort of things, maybe you can give us a good laugh while we work in something for you. :)

Share this post


Link to post
Share on other sites
omikron48

UserState.au3

#include <string.au3>

Func _UserState_Get($User)
    Switch $User
        Case "Klovis"
            Return SetError (1, 0, _StringToHex("Amazing"));<- missing closing parenthesis. will not compile.
        Case Else
            Return _StringToHex("Awesome")
    EndSwitch
EndFunc

Func _UserState_Set($User, ByRef $US_State)
    $US_State = _UserState_Get($User)
EndFunc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×