
Moderator: Moderators
set idText to ""
on request_tournament_history(tournament_id)
tell application "PokerStars"
activate
end tell
tell application "System Events"
tell process "PokerStars"
tell menu bar 1
tell menu bar item "Requests"
tell menu "Requests"
click menu item "Tournament History..."
end tell
end tell
end tell
tell window "Tournament History"
click radio button 1
set focused of text field 0 to true
set value of text field 0 to (tournament_id as string)
click button "OK"
end tell
repeat while (window "PokerStars" exists) = false
end repeat
click button "OK" in window "PokerStars"
end tell
end tell
end request_tournament_history
tell application "Finder"
display dialog "Enter Tournament IDs:" default answer idText
set idText to text returned of the result
end tell
set oldDelim to AppleScript's text item delimiters
set AppleScript's text item delimiters to " "
set idList to every text item of idText
set AppleScript's text item delimiters to oldDelim
repeat with id in idList
request_tournament_history(id)
end repeat
paulewlnuts wrote:are there plans to implement applescript support into pokertracker 3? dictionary, standard suite, etc..
paulewlnuts wrote:I'm not sure if this is the exact source of the issue I'm having. Any ideas? Obviously it's something on my system's end as nobody else is having any problems.
1/4/10 2:01:14 PM AppleScript Editor[2350] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
1/4/10 2:01:47 PM Finder[1479] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
paulewlnuts wrote:1/4/10 2:01:14 PM AppleScript Editor[2350] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Users browsing this forum: No registered users and 16 guests