Alan Martin wrote:

>It might be necessary to do it the hard way by going right
>through Help. groan.
>
>If no one announces within a few days that they have made
>a start on this syntax words list, I could give it a go.
>No promises though - it might migrate downwards on
>the To Do list, as these ideas do sometimes ;-)
>
This is from a PowerPro Scripting Ref I started writing last year, 
partly to aid my own learning, and partly because, as a programmer, I 
felt ordered ref material/doco was needed.  I was planning to complete 
it over the next year or so as I learned the program and then offer it 
up to y'all...  but can't sit back here on this issue as I think I've 
covered the words & needed for these files, or at least made a good start.

So...

========================
Control Structures:
    if, else, elseif, endif
    while
    for
    break
    jump
    quit
    label

Escape Sequences
    \"
    \\
    \&
    \n
    \r
    \t
    \xhh
    \d

Predefined Globals
    _Exit_
    _LastError_
    _PickedLine_
    Context
    ContextLast

Window/Caption Keywords:
    active
    activebar
    autorun
    explorer
    explorer1
    explorer2
    filedialog
    taskbar
    under

Mouse Position Keywords:
    @bottom
    @bottomleft
    @bottomright
    @left
    @quadtopleft
    @quadtopright
    @quadbottomleft
    @quadbottomright
    @right
    @top
    @topleft
    @topright


========================
Built-in Commands & Actions for them:

Bar
    Show
    Hide
    HideShow
    Close
    ToMouse
    Keys
    SelectSubBar
    SelectSubBarToMouse
    SelectSubBarToButton
    Format
          Keywords
                autohide
                back
                back2
                none
                position
                refresh

Clip
    Capture
    ClearClip
    ClearRecent
    Copy
    CopyThenToFile
    Cut
    Delete
    File
    FilePaste
    FileIPaste
    LongDate
    Menu
    MenuPaste
    MenuIPaste
    Paste
    Reattach
    ShortDate
    Text
    TextAppend
    TextPaste
    Time
    ToFile
    ToFileAppend
    Write Off

Desktop
    HideIcons
    HideTaskBar
    HideShowIcons
    HideShowTaskBar
    HideShowWindows
    IconTextColor
    MinShowWindows
    RestoreIcons
    Resolution
    SaveIcons
    SaveIconsGrid
    SetWorkArea
    ShowIcons
    ShowTaskBar
    ShowTaskBarAutoHide
    TransIconText
    Resolution

Exec
    [in alphabetical order]
        Autoscroll
        AutoPress
        Alarms
        BrowseRun
        Calendar
        CalcCalendar
        CD
            Close
            Eject
            Next
            Play
            Previous
            Stop
        ChangeConfiguration
        ClearRecent
        ClearRecentExplorer
        CommandLine
        ContextMenu
        Dos
        EmptyRecycleBin
        Disable
        Explorer
        Explorer2
        FindFiles
        FindComputer
        HideWindow
        HotKeys
        LogKeys
        MoreCommandsAsScript
        Monitor
        Mute
        NewFolder
        OnErrors
        Plugin
        Print
        Prompt
        QuoteEscape
        RefreshEnvironment
        RestoreLastMin
        SchedulerAdd
        StandardConfiguration
        ScrollWithMouse
        ScrollWindow
        SetEnv
        Tile
        ToFile
        VolumeAll
        VolumeWav
        WindowInfo

File
    Actions
        CommandRandom
        Copy
        CopyRandom
        Delete
        DeleteNoRecycle
        DeleteOld
        ExtChange
        Move
        Rename
        RunRandom

Format
** Note: Format commands cannot use Expression Syntax
    Actions
        BarVerticalLine
        Context
        ContextIf
        Drag
        EndContext
        EndSubMenu
        Item (obs.)
        MaxColumn
        NewBarRow
        NewBarRowLine
        NewColumn
        NewColumnLine
        Separator
        StartSubMenu

Keys
    target window
        to *
        to activebar
        to autorun
        to captionlist
        to =File Path
        to none
        to PartTitle*, to *PartTitle*, to *PartTitle
        to Title
    target window prefixes
        ^ 
        + 
        -
    Key Codes
        date & time
            {dateshort} {ds}
            {prevshort} {ps}
            {nextshort} {ns}
            {datelong} {dl}
            {time} {ti}
                removing the seconds
        keyboard
            {+} {plus} {pl}
            {%} {percent} {pe}
            {^} {caret} {ca}
            {{} {brace} {br}
            {apps} {ap}
            {back} {ba}
            {capslock} {cl}
                requires {slow}
            {del} {de}
            {down} {ad}
            {esc} {es}
            {end} {ed}
            {enter} {en}
            {f1}...{f12}
            {home} {ho}
            {ins} {in}
            {greater} {gt}
            {left} {al}
            {less} {lt}
            {pgdn} {pd}
            {pgup} {pu}
            {question} {qn}
            {quote} {qu}
            {right} {ar}
            {scrolllock} {sl}
                requires {slow}
            {space} {sp}
            {tab} {ta}
            {up} {au}
        keypad
            {pad0} {p0} ... {pad9} {p9}
            {pad+} {p+}
            {pad-} {p-}
            {pad*} {p*}
            {pad/} {p/}
        literal text
        non-keyboard keys
            {wn}
            {var} {sv}
                see do( )
            {fast}
            {slow}
        obsolete
            {cmdsep} {cs}
            {param} {pp}
            {clip} {cc}
        prefix modifies
            % Alt
            ^ Ctrl
            + Shift
        sticky modifiers
            {alt} or {at}
            {ctrl} or {co}
            {shift} or {sh}
            {win} or {wi}
        special codes
            {to folder}c:\path
            {filemenu c:\path\items.txt}
            {from c:\path\filename.txt}

Menu
    Explorer
    Folder
        Formatting Keywords
            Command
            Columns
                autocol
                autosoftcol
                autosoftcolall
            Embed
            Exclude
            Execution
                all
                allclose
                allcloseforce
            Explorer
                explorer
                nofiles
            Extension
            File Date
            Fileman
            Icons
                noicons
            Position
                center
                under
            Sorting
                nosort
                sortext
                sorttime
            Subfolders
                empty
                folderback
                folderdots
                foldershorcut
                foldershorcuts2
                folderstart
                nofolders
                nosubdir
                nosubmenu
            Text Labels
                back
                maxtext
                mne
                noext
                omit
            Tool Tips
                tipall
                tiptext
                tool tips
            Zero
        Special Folders
            desktop
            recent
            templates
            personal
            start menu
            programs
            AllPrograms
            AllStartMenu
            AllDesktop
    Recent
    StartMenu
    Show
        Keywords
            centerUnderMouse
            centerScreen
            offset
            screen
            horButton
            horButtonCenter
            verButton
    ShowAtButton
    ShowFile
        Properties Keywords
            iconsize
            tooltips
            maxsize
            back
            text
            fontname
            fontsize
            fontbold
            fontitalics
            fontwidth
    Tray
    UnderMouse

Message
     *takefocus

Mouse
    commands
        control
            Alt - al
            Ctrl - ct
            Shift - sh
            Win - wi
        position
            Move - mo
            Save - sa
            Screen - ab
            Relative - re
            Restore
        buttons
            LeftClick - lc
            LeftDown - ld
            LeftUp - lu
            LeftDouble - ll
            MiddleClick - mc
            MiddleDown - md
            MiddleUp - mu
            MiddleDouble - mm
            RightClick - rc
            RightDown - rd
            RightUp - ru
            RightDouble - rr

Note
    commands
        Open
        ShowHideOpen
        OpenCategory
        OpenOneFromMenu
        CloseCategory
        OpenShow
        OpenMenu
        ShowToday
        DeleteOpenCategory

ScreenSaver
    Change
    ChangeRestart
    ChangeTimeout
    ChangeTo
    Disable
    Enable
    Start
    Stop
    TempDisable

Script
    actions
        Flag
        Run
        RunFile
        Quit
        Quit All
        Quit (exp)
        If (expr)
        If (expr) do
        Else
        ElseIf
        EndIf
        For (var=initexpr; textexpr; var=increxpr; )
        EndFor
        Break
        Jump
        Debug
        Close
        CloseForce
        Flag
        Path
        Local
        Static
        Variable
        Assign (obsolete)
        SetString

Shutdown
    Dialog
    Hibernate
    LockWorkStation
    Logoff
    PowerPro
    Reboot
    Restart
    Suspend
    Windows

Timer
        perfcount
        perffreq
    commands
        Autosave
        Clear
        Set
            parameters
                +/-/*
                @/$
                a
                h
                m
                s
        Start
        StartStop
        Stop

TrayIcon
    actions
        click
        hide

Vdesk
    Arrange
    Clear
    ClearAllClose
    Consolidate
    CreateOrSwitchTo
    Lock
    Menu
    MoveAll
    New
    NewFromList
    Next
    MoveActive
    MoveAutorun
    Previous
    ShowMenu
    SwitchMenu
    SwitchTo
    ReplaceByList
    Unlock

Wait
    commands
        Activity
        For
        Message
        Quit
        Ready
        Sleep
        Until

Wallpaper
    Change
    Change *
    ChangeTo
    Show
    Style

Window
    Actions
        AutoMin
        Back
        BackShow
        Center
        Close
        Close2
        CloseForce
        Hide
        HideShow
        Max
        MaxNormal
        Min
        MinMemory
        MinRestore
        Move
        Normal
        OnTop
        PostMessage
        Position
            keywords
                center
                hmax
                wmax
        Rollup
        SendMessage
        SetPriority
        Show
        Size
        TopNotTop
        TrayMin
        Trans
        TransMouse
    Parameters
        WindowId
            *
            active
            activebar
            all
            autorun
            menu
            under

========================
Built-in Functions
    [alphabetical]

_file_
_PickedLine_
acdc
activewindow
alldesknames
allglobals
allstatics
alt
anywindow
arg
assign
batterypercent
browserDomain
browserSubdomain
browserURL
caption
captionunder
case
cdcurtrack
cdlasttrack
clip
cliptrackon
Context
ContextList
cpu
ctrl
currentdir
defaultprinter
date
dayofweek
dayofyear
deskempty
deskname
desknum
dialupname
disk
diskspace
do
dunidle
dunrate
env
esc
eval
exefilename
exefullpath
filemenu
fill
formatdate
formattime
gdi
if
ifelse
index
input
inputcancel
inputcolor
inputdate
inputdatetime
inputdefault
inputdialog
inputfolder
inputpath
inputpathmulti
inputtext
join
keylog
keylogfile
lastactivehandle
lastautorunhandle
lastclipname
lastclippath
lastidletime
length
line
longdate
max
[r=] mci(string)
messagebox
min
modem
mounted
mouseleft
mousemiddle
mouseright
muted
not
paper
pcfname
n64 = perfcount
n64 = perffreq
pickfile
pickstring
pmem
pproflag
pprofolder
pproversion
processcount
random
readline
recylceItems
recycleSize
remove
repeat
replacechars
revindex
saver
saveractive
saverenabled
savertime
scriptfolder
scriptname
scriptpath
select
SendMessage
shift
shortdate
StandardConfiguration
strcoll
stricoll
SubBarName
threadcount
time
timesec
timer
timerunning
timezone
uptime
unixdate
user
username
validpath
vdeskempty
vdeskhaswindow
visiblewindow
volume
win
window
    values for pos
        anywindow
        bottom
        caption
        exefullpath
        exename
        firstwindow
        height
        left
        maximized
        minimized
        right
        top
        topmost
        visible
        visiblewindow
        vdesk
        width
    values for object
        captionlist
        keywords
            active
            taskbar
            under
        vdeskname
word
    string, n
    string, 0
xmouse
xscreen
xTime
ymouse
yscreen

========================
Standalone Functions
    do
    eval
    messagebox
    mci
    inputdialog
    assign

========================
CL Functions

for Entire CL
    AddProperties
    Compact
    Create
    Exists
    GetBackColor
    GetBackground
    GetHideAfter
    GetLabelIndex
    GetMaxText
    GetPressed
    GetTextColor
    Insert
    InsertItem
    Length
    Remove
    RemoveAll
    SavePcf
    SetAsAutorun
    SetAsTray
    SetBackground
    SetHideAfter
    SetMaxText
    SetProperties

for Getting Item Attributes
    GetBackColor
    GetHeight
    GetIconFile
    GetIconNumber
    GetId
    GetLabel
    GetLabelValue
    GetLeftCmd
    GetLeftHow
    GetLeftOnTop
    GetLeftParam
    GetLeftSwitchTo
    GetLeftWork
    GetTextColor
    GetTooltip
    GetTooltipValue
    GetWidth
    IsEnabled
    IsIconVisible
    IsVisible
    RunLeft

for Setting Item Attributes
    AddLeft
    AddMiddle
    ClearLeft
    SetBackColor
    SetHeight
    SetHover
    SetIcon
    SetIconVisible
    SetId
    SetEnabled
    SetLabel
    SetLeftOnTop
    SetLeftSwitchTo
    SetTooltip
    SetTextColor
    SetVisible
    SetWidth

========================
Info Labels

keywords
    time & date
        offset
        shortdate
        longdate
        daynum
        time
    resources
        gdi
        user
        pkmem
        pmem
        ppmem
        vkmem
        vmem
        cpu
        swap
        swapinuse
        pswapinuse
        dunin
        dunout
        dunrate
        battery
        allbattery
            percent remaining
            charging status
            AC/DC status
    other
        cdcurtrack
        cdlasttrack
        clip
        defaultprinter
        deskname
        desknum
        disk
        expr(expression)
        keylog
        keylogfile
        subbarname
        timer
        timerdays
        timersec
        uptime
        uptimedays
        uptimedhm
        uptimedhms
        uptimesec

========================

I haven't included Plugins here as I've only listed plugin names so far, 
haven't got to learning many of those yet myself, can provide that too 
if needed.

Many of the keywords may be duplicated, & I've just scanned quickly & 
removed other irrelevant stuff, (irrelevant for this task).  Now that 
the secret's out though, I'll stick the whole thing online tomorrow & 
let you all take a look at it.

HTH
Karen



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to