Editorial Workflows

Reset EN DEV_TOKEN

unlisted workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: This workflow has no description.

Shared by: @hals_pg

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Show Alert ?
Title
Reset Keychain
Message
Keychainに保存されたデベロッパトークンを削除します
Button 1
OK
Output Value
reset
Button 2
(don't show)
Output Value
Button 3
(don't show)
Output Value
Show Cancel Button
ON
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
reset
Run Python Script ?
Source Code
#coding: utf-8
import workflow
import keychain
import console
import sys


sys.setdefaultencoding('utf-8')

keychain.delete_password(
	'evernote_utility',
	'dev_token'
)

console.hud_alert('Deleted', 'success', 0.5)
Show Alert ?
Title
Get DEV_TOKEN
Message
デベロッパトークンを再発行しますか? (Evernoteのサイトを開きます)
Button 1
OK
Output Value
get
Button 2
(don't show)
Output Value
Button 3
(don't show)
Output Value
Show Cancel Button
ON
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
get
Open URL ?
Open in
  • In-App Browser
  • Default App / Safari
URL
https://www.evernote.com/Login.action?targetUrl=%2Fapi%2FDeveloperToken.action
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
ON
…End If
…End If