Last active
December 11, 2015 21:39
-
-
Save ANNotunzdY/4664093 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
tell application "BathyScaphe" | |
if class of front document is document then | |
set temptext to thread URL of front document | |
set temprecoad to thread attributes of front document | |
else | |
beep | |
end if | |
end tell | |
set AppleScript's text item delimiters to "/" | |
set temparray to text items of temptext | |
tell application "Safari" | |
open location ("http://p2.2ch.net/p2/post_form.php?host=" & item 3 of temparray & "&bbs=" & item 6 of temparray & "&key=" & item 7 of temparray & "&rescount=" & (get |Count| of temprecoad)) | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment